0s autopkgtest [14:58:54]: starting date and time: 2025-01-03 14:58:54+0000 0s autopkgtest [14:58:54]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [14:58:54]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.f7zjy89f/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:python3-defaults --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' -- lxd -r lxd-armhf-10.145.243.202 lxd-armhf-10.145.243.202:autopkgtest/ubuntu/plucky/armhf 52s autopkgtest [14:59:46]: testbed dpkg architecture: armhf 54s autopkgtest [14:59:48]: testbed apt version: 2.9.14ubuntu1 58s autopkgtest [14:59:52]: @@@@@@@@@@@@@@@@@@@@ test bed setup 61s autopkgtest [14:59:55]: testbed release detected to be: None 71s autopkgtest [15:00:05]: updating testbed package index (apt update) 73s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 73s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 73s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 73s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 73s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [669 kB] 74s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 74s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.1 kB] 74s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [60.7 kB] 74s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [60.7 kB] 74s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 74s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [521 kB] 74s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [2064 B] 74s Get:13 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [297 kB] 74s Get:14 http://ftpmaster.internal/ubuntu plucky/restricted Sources [15.2 kB] 74s Get:15 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.9 MB] 74s Get:16 http://ftpmaster.internal/ubuntu plucky/main Sources [1383 kB] 74s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1355 kB] 75s Get:18 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2544 B] 75s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.9 MB] 75s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 79s Fetched 40.7 MB in 6s (7373 kB/s) 80s Reading package lists... 87s autopkgtest [15:00:21]: upgrading testbed (apt dist-upgrade and autopurge) 89s Reading package lists... 89s Building dependency tree... 89s Reading state information... 90s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 90s Starting 2 pkgProblemResolver with broken count: 0 90s Done 91s Entering ResolveByKeep 91s 92s The following packages were automatically installed and are no longer required: 92s libassuan0 libnsl2 libpython3.12-minimal libpython3.12-stdlib python3.12 92s python3.12-minimal 92s Use 'apt autoremove' to remove them. 92s The following NEW packages will be installed: 92s libpython3.13-minimal libpython3.13-stdlib openssl-provider-legacy 92s python3-bcrypt python3.13 python3.13-minimal 92s The following packages will be upgraded: 92s apport apport-core-dump-handler appstream apt apt-utils base-passwd bash 92s bash-completion binutils binutils-arm-linux-gnueabihf binutils-common 92s bsdextrautils bsdutils curl dirmngr dracut-install eject ethtool fdisk fwupd 92s gcc-14-base gettext-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg 92s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 92s groff-base iputils-ping iputils-tracepath keyboxd libappstream5 92s libapt-pkg6.0t64 libatomic1 libbinutils libblkid1 libbpf1 libc-bin libc6 92s libcap-ng0 libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 92s libdebconfclient0 libfdisk1 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 92s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 92s libgpg-error-l10n libgpg-error0 libgstreamer1.0-0 libjson-glib-1.0-0 92s libjson-glib-1.0-common libmount1 libnewt0.52 libnpth0t64 libnss-systemd 92s libnss3 libpam-systemd libpng16-16t64 libpython3-stdlib 92s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 92s libreadline8t64 libsframe1 libsmartcols1 libssl3t64 libstdc++6 92s libsystemd-shared libsystemd0 libtraceevent1 libtraceevent1-plugin libudev1 92s libunistring5 libuuid1 libwrap0 libxkbcommon0 libxml2 libyaml-0-2 locales 92s make mount openssl pci.ids publicsuffix python-apt-common python3 92s python3-apport python3-apt python3-attr python3-cryptography python3-gdbm 92s python3-jinja2 python3-json-pointer python3-jsonpatch python3-minimal 92s python3-newt python3-openssl python3-pkg-resources python3-problem-report 92s python3-rich python3-setuptools python3-software-properties python3-wadllib 92s python3.12 python3.12-gdbm python3.12-minimal python3.13-gdbm 92s readline-common rsync software-properties-common systemd systemd-cryptsetup 92s systemd-resolved systemd-sysv systemd-timesyncd tar tzdata ucf udev usb.ids 92s util-linux uuid-runtime whiptail xauth 92s 139 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 92s Need to get 64.0 MB of archives. 92s After this operation, 28.5 MB of additional disk space will be used. 92s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 92s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-1ubuntu2 [108 kB] 92s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 92s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-12ubuntu1 [7892 B] 92s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-12ubuntu1 [52.6 kB] 92s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-12ubuntu1 [40.6 kB] 92s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-12ubuntu1 [711 kB] 93s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 93s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.0-1ubuntu2 [29.4 kB] 93s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.0-1ubuntu2 [1756 kB] 93s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257-2ubuntu1 [41.2 kB] 93s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257-2ubuntu1 [307 kB] 93s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257-2ubuntu1 [122 kB] 93s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-1ubuntu2 [62.3 kB] 93s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-1ubuntu2 [99.4 kB] 93s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-1ubuntu2 [155 kB] 93s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-1ubuntu2 [167 kB] 93s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-1ubuntu2 [189 kB] 93s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-1ubuntu2 [135 kB] 93s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-1ubuntu2 [39.5 kB] 93s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-1ubuntu2 [1195 kB] 93s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-1ubuntu2 [62.7 kB] 93s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-1ubuntu2 [211 kB] 93s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-1ubuntu2 [156 kB] 93s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 93s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 93s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257-2ubuntu1 [160 kB] 93s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257-2ubuntu1 [3489 kB] 93s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257-2ubuntu1 [1974 kB] 93s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257-2ubuntu1 [11.8 kB] 93s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257-2ubuntu1 [233 kB] 93s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257-2ubuntu1 [2156 kB] 93s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257-2ubuntu1 [190 kB] 93s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257-2ubuntu1 [483 kB] 93s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 93s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 93s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 93s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.18 [1085 kB] 93s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.18 [1349 kB] 93s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.18 [216 kB] 93s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 93s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 93s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 93s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu21 [88.9 kB] 93s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu21 [351 kB] 93s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu21 [246 kB] 93s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu21 [160 kB] 93s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu21 [238 kB] 93s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu21 [536 kB] 93s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu21 [118 kB] 93s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu21 [359 kB] 93s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu21 [113 kB] 93s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu21 [228 kB] 93s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.1-2 [868 kB] 93s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.1-2 [2036 kB] 93s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 93s Get:57 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.13.1-1~exp2 [27.6 kB] 93s Get:58 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.13.1-1~exp2 [23.9 kB] 93s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 93s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2024b-4ubuntu1 [196 kB] 93s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.1-2 [1970 kB] 93s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.1-2 [729 kB] 93s Get:63 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.13.1-1~exp2 [10.2 kB] 93s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.8-3 [667 kB] 93s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.8-3 [1939 kB] 93s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.8-3 [2029 kB] 94s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.8-3 [825 kB] 94s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.3.0+ds1-2 [422 kB] 94s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.6build1 [21.0 kB] 94s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.6build1 [174 kB] 94s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0-0ubuntu2 [25.3 kB] 94s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0-0ubuntu2 [93.1 kB] 94s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.82.4-1 [52.2 kB] 94s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.4-1 [93.0 kB] 94s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-3 [25.3 kB] 94s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.82.4-1 [182 kB] 94s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.82.4-1 [1421 kB] 94s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-3 [108 kB] 94s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0-0ubuntu2 [18.2 kB] 94s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0-0ubuntu2 [82.9 kB] 94s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 94s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 94s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 94s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 94s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 94s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 94s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 94s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2build1 [599 kB] 94s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 94s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 94s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.0-1ubuntu2 [1159 kB] 94s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 94s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0046 [41.9 kB] 94s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 94s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-1 [214 kB] 94s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 94s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.22.5-3 [40.7 kB] 94s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 94s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 94s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.44-3 [169 kB] 94s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 94s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 94s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 94s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2024.11.25-1 [282 kB] 94s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241206.1516-0.1 [135 kB] 95s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.1-2 [29.8 kB] 95s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.8-3 [28.9 kB] 95s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 95s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2024.12.04-1 [223 kB] 95s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 95s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.11.1-1ubuntu1 [333 kB] 95s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 95s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 95s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241221-1ubuntu1 [74.8 kB] 95s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241221-1ubuntu1 [77.7 kB] 95s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241221-1ubuntu1 [2986 kB] 95s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241221-1ubuntu1 [408 kB] 95s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241221-1ubuntu1 [3090 B] 95s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241221-1ubuntu1 [222 kB] 95s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241221-1ubuntu1 [12.1 kB] 95s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.11.1-1ubuntu1 [244 kB] 95s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.11.1-1ubuntu1 [337 kB] 95s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu5 [37.3 kB] 95s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 95s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 95s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.3-3 [5028 kB] 95s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.3-3 [121 kB] 95s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 95s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 95s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu21 [66.3 kB] 95s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 95s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.24.10-2 [1109 kB] 95s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.106-1ubuntu1 [1321 kB] 95s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-34 [45.7 kB] 95s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 95s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 24.2.0-1 [50.2 kB] 95s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.3-1.1 [108 kB] 95s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 95s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 95s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 24.3.0-1 [45.8 kB] 95s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 95s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 95s Get:143 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.108 [16.5 kB] 95s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.108 [30.9 kB] 95s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 96s Preconfiguring packages ... 96s Fetched 64.0 MB in 3s (19.5 MB/s) 96s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 96s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 96s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 96s Setting up bash (5.2.37-1ubuntu1) ... 96s 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 96s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 96s Preparing to unpack .../bsdutils_1%3a2.40.2-1ubuntu2_armhf.deb ... 96s Unpacking bsdutils (1:2.40.2-1ubuntu2) over (1:2.40.2-1ubuntu1) ... 96s Setting up bsdutils (1:2.40.2-1ubuntu2) ... 96s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 96s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 96s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 96s Setting up tar (1.35+dfsg-3.1) ... 97s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 97s Preparing to unpack .../libatomic1_14.2.0-12ubuntu1_armhf.deb ... 97s Unpacking libatomic1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 97s Preparing to unpack .../gcc-14-base_14.2.0-12ubuntu1_armhf.deb ... 97s Unpacking gcc-14-base:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 97s Setting up gcc-14-base:armhf (14.2.0-12ubuntu1) ... 97s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 97s Preparing to unpack .../libgcc-s1_14.2.0-12ubuntu1_armhf.deb ... 97s Unpacking libgcc-s1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 97s Setting up libgcc-s1:armhf (14.2.0-12ubuntu1) ... 97s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 97s Preparing to unpack .../libstdc++6_14.2.0-12ubuntu1_armhf.deb ... 97s Unpacking libstdc++6:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 97s Setting up libstdc++6:armhf (14.2.0-12ubuntu1) ... 97s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 97s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 97s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 97s Setting up libc6:armhf (2.40-4ubuntu1) ... 97s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 97s Preparing to unpack .../libssl3t64_3.4.0-1ubuntu2_armhf.deb ... 97s Unpacking libssl3t64:armhf (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 97s Selecting previously unselected package openssl-provider-legacy. 97s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu2_armhf.deb ... 97s Unpacking openssl-provider-legacy (3.4.0-1ubuntu2) ... 97s Setting up libssl3t64:armhf (3.4.0-1ubuntu2) ... 97s Setting up openssl-provider-legacy (3.4.0-1ubuntu2) ... 98s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 98s Preparing to unpack .../0-systemd-timesyncd_257-2ubuntu1_armhf.deb ... 98s Unpacking systemd-timesyncd (257-2ubuntu1) over (256.5-2ubuntu4) ... 98s Preparing to unpack .../1-systemd-resolved_257-2ubuntu1_armhf.deb ... 98s Unpacking systemd-resolved (257-2ubuntu1) over (256.5-2ubuntu4) ... 98s Preparing to unpack .../2-systemd-cryptsetup_257-2ubuntu1_armhf.deb ... 98s Unpacking systemd-cryptsetup (257-2ubuntu1) over (256.5-2ubuntu4) ... 98s Preparing to unpack .../3-eject_2.40.2-1ubuntu2_armhf.deb ... 98s Unpacking eject (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 98s Preparing to unpack .../4-bsdextrautils_2.40.2-1ubuntu2_armhf.deb ... 98s Unpacking bsdextrautils (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 98s Preparing to unpack .../5-fdisk_2.40.2-1ubuntu2_armhf.deb ... 98s Unpacking fdisk (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 98s Preparing to unpack .../6-libblkid1_2.40.2-1ubuntu2_armhf.deb ... 98s Unpacking libblkid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 98s Setting up libblkid1:armhf (2.40.2-1ubuntu2) ... 98s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 98s Preparing to unpack .../libmount1_2.40.2-1ubuntu2_armhf.deb ... 98s Unpacking libmount1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 98s Setting up libmount1:armhf (2.40.2-1ubuntu2) ... 98s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 98s Preparing to unpack .../libsmartcols1_2.40.2-1ubuntu2_armhf.deb ... 98s Unpacking libsmartcols1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 98s Setting up libsmartcols1:armhf (2.40.2-1ubuntu2) ... 98s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 98s Preparing to unpack .../libuuid1_2.40.2-1ubuntu2_armhf.deb ... 98s Unpacking libuuid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 98s Setting up libuuid1:armhf (2.40.2-1ubuntu2) ... 98s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 98s Preparing to unpack .../util-linux_2.40.2-1ubuntu2_armhf.deb ... 98s Unpacking util-linux (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 98s Setting up util-linux (2.40.2-1ubuntu2) ... 99s fstrim.service is a disabled or a static unit not running, not starting it. 99s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 99s Preparing to unpack .../0-uuid-runtime_2.40.2-1ubuntu2_armhf.deb ... 99s Unpacking uuid-runtime (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 99s Preparing to unpack .../1-libfdisk1_2.40.2-1ubuntu2_armhf.deb ... 99s Unpacking libfdisk1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 99s Preparing to unpack .../2-mount_2.40.2-1ubuntu2_armhf.deb ... 99s Unpacking mount (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 99s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 99s Unpacking readline-common (8.2-6) over (8.2-5) ... 99s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 99s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 99s 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' 99s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 99s 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' 99s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 99s Preparing to unpack .../5-libnss-systemd_257-2ubuntu1_armhf.deb ... 99s Unpacking libnss-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 99s Preparing to unpack .../6-systemd_257-2ubuntu1_armhf.deb ... 99s Unpacking systemd (257-2ubuntu1) over (256.5-2ubuntu4) ... 100s Preparing to unpack .../7-udev_257-2ubuntu1_armhf.deb ... 100s Unpacking udev (257-2ubuntu1) over (256.5-2ubuntu4) ... 100s Preparing to unpack .../8-libsystemd-shared_257-2ubuntu1_armhf.deb ... 100s Unpacking libsystemd-shared:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 100s Setting up libsystemd-shared:armhf (257-2ubuntu1) ... 100s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 100s Preparing to unpack .../libsystemd0_257-2ubuntu1_armhf.deb ... 100s Unpacking libsystemd0:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 100s Setting up libsystemd0:armhf (257-2ubuntu1) ... 100s Setting up mount (2.40.2-1ubuntu2) ... 100s Setting up systemd (257-2ubuntu1) ... 100s Installing new version of config file /etc/systemd/logind.conf ... 100s Installing new version of config file /etc/systemd/sleep.conf ... 100s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 100s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 100s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 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 ... 59967 files and directories currently installed.) 101s Preparing to unpack .../systemd-sysv_257-2ubuntu1_armhf.deb ... 101s Unpacking systemd-sysv (257-2ubuntu1) over (256.5-2ubuntu4) ... 101s Preparing to unpack .../libpam-systemd_257-2ubuntu1_armhf.deb ... 101s Unpacking libpam-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 101s Preparing to unpack .../libudev1_257-2ubuntu1_armhf.deb ... 101s Unpacking libudev1:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 101s Setting up libudev1:armhf (257-2ubuntu1) ... 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 ... 59967 files and directories currently installed.) 101s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 101s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 101s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 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 ... 59967 files and directories currently installed.) 101s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 101s Unpacking base-passwd (3.6.6) over (3.6.5) ... 101s Setting up base-passwd (3.6.6) ... 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 ... 59967 files and directories currently installed.) 101s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 101s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 101s Setting up libc-bin (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 ... 59967 files and directories currently installed.) 102s Preparing to unpack .../libapt-pkg6.0t64_2.9.18_armhf.deb ... 102s Unpacking libapt-pkg6.0t64:armhf (2.9.18) over (2.9.14ubuntu1) ... 102s Setting up libapt-pkg6.0t64:armhf (2.9.18) ... 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 ... 59967 files and directories currently installed.) 102s Preparing to unpack .../archives/apt_2.9.18_armhf.deb ... 102s Unpacking apt (2.9.18) over (2.9.14ubuntu1) ... 102s Setting up apt (2.9.18) ... 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 ... 59966 files and directories currently installed.) 103s Preparing to unpack .../apt-utils_2.9.18_armhf.deb ... 103s Unpacking apt-utils (2.9.18) over (2.9.14ubuntu1) ... 103s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 103s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 103s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 103s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 103s Setting up libgpg-error0:armhf (1.51-3) ... 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 ... 59966 files and directories currently installed.) 103s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 103s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 103s Setting up libnpth0t64:armhf (1.8-2) ... 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 ... 59966 files and directories currently installed.) 103s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu21_armhf.deb ... 103s Unpacking gpg-wks-client (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 103s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu21_armhf.deb ... 103s Unpacking dirmngr (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 103s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu21_armhf.deb ... 103s Unpacking gpgsm (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 103s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu21_armhf.deb ... 103s Unpacking gnupg-utils (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 103s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu21_armhf.deb ... 103s Unpacking gpg-agent (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 103s Preparing to unpack .../5-gpg_2.4.4-2ubuntu21_armhf.deb ... 103s Unpacking gpg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 103s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu21_armhf.deb ... 103s Unpacking gpgconf (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 103s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu21_all.deb ... 103s Unpacking gnupg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 103s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu21_armhf.deb ... 103s Unpacking keyboxd (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 103s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu21_armhf.deb ... 103s Unpacking gpgv (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 103s Setting up gpgv (2.4.4-2ubuntu21) ... 103s Selecting previously unselected package libpython3.13-minimal:armhf. 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 ... 59966 files and directories currently installed.) 103s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_armhf.deb ... 103s Unpacking libpython3.13-minimal:armhf (3.13.1-2) ... 103s Selecting previously unselected package python3.13-minimal. 104s Preparing to unpack .../python3.13-minimal_3.13.1-2_armhf.deb ... 104s Unpacking python3.13-minimal (3.13.1-2) ... 104s Preparing to unpack .../python3-cryptography_43.0.0-1_armhf.deb ... 104s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 104s Setting up libpython3.13-minimal:armhf (3.13.1-2) ... 104s Setting up python3.13-minimal (3.13.1-2) ... 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 ... 60284 files and directories currently installed.) 105s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_armhf.deb ... 105s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 105s Setting up python3-minimal (3.13.1-1~exp2) ... 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 ... 60284 files and directories currently installed.) 105s Preparing to unpack .../00-python3_3.13.1-1~exp2_armhf.deb ... 105s Unpacking python3 (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 105s Selecting previously unselected package python3-bcrypt. 105s Preparing to unpack .../01-python3-bcrypt_4.2.0-2.1_armhf.deb ... 105s Unpacking python3-bcrypt (4.2.0-2.1) ... 105s Preparing to unpack .../02-tzdata_2024b-4ubuntu1_all.deb ... 105s Unpacking tzdata (2024b-4ubuntu1) over (2024b-1ubuntu2) ... 105s Selecting previously unselected package libpython3.13-stdlib:armhf. 105s Preparing to unpack .../03-libpython3.13-stdlib_3.13.1-2_armhf.deb ... 105s Unpacking libpython3.13-stdlib:armhf (3.13.1-2) ... 105s Selecting previously unselected package python3.13. 106s Preparing to unpack .../04-python3.13_3.13.1-2_armhf.deb ... 106s Unpacking python3.13 (3.13.1-2) ... 106s Preparing to unpack .../05-libpython3-stdlib_3.13.1-1~exp2_armhf.deb ... 106s Unpacking libpython3-stdlib:armhf (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 106s Preparing to unpack .../06-python3.12_3.12.8-3_armhf.deb ... 106s Unpacking python3.12 (3.12.8-3) over (3.12.7-3) ... 106s Preparing to unpack .../07-libpython3.12-stdlib_3.12.8-3_armhf.deb ... 106s Unpacking libpython3.12-stdlib:armhf (3.12.8-3) over (3.12.7-3) ... 106s Preparing to unpack .../08-python3.12-minimal_3.12.8-3_armhf.deb ... 106s Unpacking python3.12-minimal (3.12.8-3) over (3.12.7-3) ... 106s Preparing to unpack .../09-libpython3.12-minimal_3.12.8-3_armhf.deb ... 106s Unpacking libpython3.12-minimal:armhf (3.12.8-3) over (3.12.7-3) ... 106s Preparing to unpack .../10-rsync_3.3.0+ds1-2_armhf.deb ... 106s Unpacking rsync (3.3.0+ds1-2) over (3.3.0-1) ... 106s Preparing to unpack .../11-python-apt-common_2.9.6build1_all.deb ... 106s Unpacking python-apt-common (2.9.6build1) over (2.9.0ubuntu2) ... 106s Preparing to unpack .../12-python3-apt_2.9.6build1_armhf.deb ... 106s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 106s for fn in glob1(directory, "%s.*" % fname): 106s Unpacking python3-apt (2.9.6build1) over (2.9.0ubuntu2) ... 106s Preparing to unpack .../13-python3-problem-report_2.31.0-0ubuntu2_all.deb ... 106s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 106s for fn in glob1(directory, "%s.*" % fname): 106s Unpacking python3-problem-report (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 107s Preparing to unpack .../14-python3-apport_2.31.0-0ubuntu2_all.deb ... 107s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 107s for fn in glob1(directory, "%s.*" % fname): 107s Unpacking python3-apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 107s Preparing to unpack .../15-libglib2.0-data_2.82.4-1_all.deb ... 107s Unpacking libglib2.0-data (2.82.4-1) over (2.82.2-3) ... 107s Preparing to unpack .../16-libglib2.0-bin_2.82.4-1_armhf.deb ... 107s Unpacking libglib2.0-bin (2.82.4-1) over (2.82.2-3) ... 107s Preparing to unpack .../17-gir1.2-girepository-2.0_1.82.0-3_armhf.deb ... 107s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-3) over (1.82.0-2) ... 107s Preparing to unpack .../18-gir1.2-glib-2.0_2.82.4-1_armhf.deb ... 107s Unpacking gir1.2-glib-2.0:armhf (2.82.4-1) over (2.82.2-3) ... 107s Preparing to unpack .../19-libglib2.0-0t64_2.82.4-1_armhf.deb ... 107s Unpacking libglib2.0-0t64:armhf (2.82.4-1) over (2.82.2-3) ... 107s Preparing to unpack .../20-libgirepository-1.0-1_1.82.0-3_armhf.deb ... 107s Unpacking libgirepository-1.0-1:armhf (1.82.0-3) over (1.82.0-2) ... 107s Preparing to unpack .../21-apport-core-dump-handler_2.31.0-0ubuntu2_all.deb ... 107s Unpacking apport-core-dump-handler (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 107s Preparing to unpack .../22-apport_2.31.0-0ubuntu2_all.deb ... 107s Unpacking apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 107s Preparing to unpack .../23-libcap-ng0_0.8.5-4_armhf.deb ... 107s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 107s Setting up libcap-ng0:armhf (0.8.5-4) ... 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 ... 60703 files and directories currently installed.) 107s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 107s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 107s Setting up libunistring5:armhf (1.3-1) ... 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 ... 60703 files and directories currently installed.) 107s Preparing to unpack .../00-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 107s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 107s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 107s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 107s Preparing to unpack .../02-libfribidi0_1.0.16-1_armhf.deb ... 107s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 107s Preparing to unpack .../03-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 108s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 108s for fn in glob1(directory, "%s.*" % fname): 108s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 108s Preparing to unpack .../04-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 108s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 108s Preparing to unpack .../05-libxml2_2.12.7+dfsg+really2.9.14-0.2build1_armhf.deb ... 108s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) over (2.12.7+dfsg-3) ... 108s Preparing to unpack .../06-libyaml-0-2_0.2.5-2_armhf.deb ... 108s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 108s Preparing to unpack .../07-locales_2.40-4ubuntu1_all.deb ... 108s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 108s Preparing to unpack .../08-openssl_3.4.0-1ubuntu2_armhf.deb ... 108s Unpacking openssl (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 108s Preparing to unpack .../09-python3-rich_13.9.4-1_all.deb ... 108s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 108s for fn in glob1(directory, "%s.*" % fname): 108s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 108s Preparing to unpack .../10-ucf_3.0046_all.deb ... 108s Unpacking ucf (3.0046) over (3.0043+nmu1) ... 108s Preparing to unpack .../11-whiptail_0.52.24-4ubuntu1_armhf.deb ... 108s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 108s Preparing to unpack .../12-bash-completion_1%3a2.16.0-1_all.deb ... 108s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 109s Preparing to unpack .../13-ethtool_1%3a6.11-1_armhf.deb ... 109s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 109s Preparing to unpack .../14-gettext-base_0.22.5-3_armhf.deb ... 109s Unpacking gettext-base (0.22.5-3) over (0.22.5-2) ... 109s Preparing to unpack .../15-groff-base_1.23.0-7_armhf.deb ... 109s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 109s Preparing to unpack .../16-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 109s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 109s Preparing to unpack .../17-libpng16-16t64_1.6.44-3_armhf.deb ... 109s Unpacking libpng16-16t64:armhf (1.6.44-3) over (1.6.44-2) ... 109s Preparing to unpack .../18-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 109s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 109s Preparing to unpack .../19-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 109s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 109s Preparing to unpack .../20-libxkbcommon0_1.7.0-2_armhf.deb ... 109s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 109s Preparing to unpack .../21-pci.ids_0.0~2024.11.25-1_all.deb ... 109s Unpacking pci.ids (0.0~2024.11.25-1) over (0.0~2024.10.24-1) ... 109s Preparing to unpack .../22-publicsuffix_20241206.1516-0.1_all.deb ... 109s Unpacking publicsuffix (20241206.1516-0.1) over (20231001.0357-0.1) ... 109s Preparing to unpack .../23-python3.13-gdbm_3.13.1-2_armhf.deb ... 109s Unpacking python3.13-gdbm (3.13.1-2) over (3.13.0-2) ... 109s Preparing to unpack .../24-python3.12-gdbm_3.12.8-3_armhf.deb ... 109s Unpacking python3.12-gdbm (3.12.8-3) over (3.12.7-3) ... 109s Preparing to unpack .../25-python3-gdbm_3.13.1-1_armhf.deb ... 109s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 109s Preparing to unpack .../26-usb.ids_2024.12.04-1_all.deb ... 109s Unpacking usb.ids (2024.12.04-1) over (2024.07.04-1) ... 109s Preparing to unpack .../27-xauth_1%3a1.1.2-1.1_armhf.deb ... 109s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 109s Preparing to unpack .../28-libcurl3t64-gnutls_8.11.1-1ubuntu1_armhf.deb ... 109s Unpacking libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 109s Preparing to unpack .../29-libappstream5_1.0.4-1_armhf.deb ... 109s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 109s Preparing to unpack .../30-appstream_1.0.4-1_armhf.deb ... 109s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 109s Preparing to unpack .../31-libctf0_2.43.50.20241221-1ubuntu1_armhf.deb ... 109s Unpacking libctf0:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 110s Preparing to unpack .../32-libctf-nobfd0_2.43.50.20241221-1ubuntu1_armhf.deb ... 110s Unpacking libctf-nobfd0:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 110s Preparing to unpack .../33-binutils-arm-linux-gnueabihf_2.43.50.20241221-1ubuntu1_armhf.deb ... 110s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 110s Preparing to unpack .../34-libbinutils_2.43.50.20241221-1ubuntu1_armhf.deb ... 110s Unpacking libbinutils:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 110s Preparing to unpack .../35-binutils_2.43.50.20241221-1ubuntu1_armhf.deb ... 110s Unpacking binutils (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 110s Preparing to unpack .../36-binutils-common_2.43.50.20241221-1ubuntu1_armhf.deb ... 110s Unpacking binutils-common:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 110s Preparing to unpack .../37-libsframe1_2.43.50.20241221-1ubuntu1_armhf.deb ... 110s Unpacking libsframe1:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 110s Preparing to unpack .../38-curl_8.11.1-1ubuntu1_armhf.deb ... 110s Unpacking curl (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 110s Preparing to unpack .../39-libcurl4t64_8.11.1-1ubuntu1_armhf.deb ... 110s Unpacking libcurl4t64:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 110s Preparing to unpack .../40-dracut-install_105-2ubuntu5_armhf.deb ... 110s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 110s Preparing to unpack .../41-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 110s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 110s Preparing to unpack .../42-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 110s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 110s Preparing to unpack .../43-fwupd_2.0.3-3_armhf.deb ... 110s Unpacking fwupd (2.0.3-3) over (2.0.2-1) ... 110s Preparing to unpack .../44-libfwupd3_2.0.3-3_armhf.deb ... 110s Unpacking libfwupd3:armhf (2.0.3-3) over (2.0.2-1) ... 110s Preparing to unpack .../45-libqmi-proxy_1.35.6-1_armhf.deb ... 110s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 110s Preparing to unpack .../46-libqmi-glib5_1.35.6-1_armhf.deb ... 110s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 110s Preparing to unpack .../47-gnupg-l10n_2.4.4-2ubuntu21_all.deb ... 110s Unpacking gnupg-l10n (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 110s Preparing to unpack .../48-libftdi1-2_1.5-8_armhf.deb ... 110s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 110s Preparing to unpack .../49-libgstreamer1.0-0_1.24.10-2_armhf.deb ... 110s Unpacking libgstreamer1.0-0:armhf (1.24.10-2) over (1.24.9-1) ... 111s Preparing to unpack .../50-libnss3_2%3a3.106-1ubuntu1_armhf.deb ... 111s Unpacking libnss3:armhf (2:3.106-1ubuntu1) over (2:3.103-1) ... 111s Preparing to unpack .../51-libwrap0_7.6.q-34_armhf.deb ... 111s Unpacking libwrap0:armhf (7.6.q-34) over (7.6.q-33) ... 111s Preparing to unpack .../52-make_4.4.1-1_armhf.deb ... 111s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 111s Preparing to unpack .../53-python3-attr_24.2.0-1_all.deb ... 111s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 111s for fn in glob1(directory, "%s.*" % fname): 111s Unpacking python3-attr (24.2.0-1) over (23.2.0-2) ... 111s Preparing to unpack .../54-python3-jinja2_3.1.3-1.1_all.deb ... 111s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 111s for fn in glob1(directory, "%s.*" % fname): 111s Unpacking python3-jinja2 (3.1.3-1.1) over (3.1.3-1ubuntu1) ... 111s Preparing to unpack .../55-python3-json-pointer_2.4-3_all.deb ... 111s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 111s for fn in glob1(directory, "%s.*" % fname): 111s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 111s Preparing to unpack .../56-python3-jsonpatch_1.32-5_all.deb ... 111s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 111s for fn in glob1(directory, "%s.*" % fname): 111s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 111s Preparing to unpack .../57-python3-openssl_24.3.0-1_all.deb ... 111s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 111s for fn in glob1(directory, "%s.*" % fname): 111s Unpacking python3-openssl (24.3.0-1) over (24.2.1-1) ... 111s Preparing to unpack .../58-python3-pkg-resources_75.6.0-1_all.deb ... 111s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 111s for fn in glob1(directory, "%s.*" % fname): 111s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 111s Preparing to unpack .../59-python3-setuptools_75.6.0-1_all.deb ... 112s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 112s for fn in glob1(directory, "%s.*" % fname): 112s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 112s Preparing to unpack .../60-software-properties-common_0.108_all.deb ... 112s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 112s for fn in glob1(directory, "%s.*" % fname): 112s Unpacking software-properties-common (0.108) over (0.105) ... 112s Preparing to unpack .../61-python3-software-properties_0.108_all.deb ... 112s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 112s for fn in glob1(directory, "%s.*" % fname): 112s Unpacking python3-software-properties (0.108) over (0.105) ... 112s Preparing to unpack .../62-python3-wadllib_2.0.0-2_all.deb ... 112s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 112s for fn in glob1(directory, "%s.*" % fname): 112s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 112s Setting up systemd-sysv (257-2ubuntu1) ... 112s Setting up pci.ids (0.0~2024.11.25-1) ... 112s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 112s Setting up apt-utils (2.9.18) ... 112s Setting up bsdextrautils (2.40.2-1ubuntu2) ... 112s Setting up libcurl4t64:armhf (8.11.1-1ubuntu1) ... 112s Setting up libyaml-0-2:armhf (0.2.5-2) ... 112s Setting up python3.12-gdbm (3.12.8-3) ... 112s Setting up libpython3.12-minimal:armhf (3.12.8-3) ... 112s Setting up binutils-common:armhf (2.43.50.20241221-1ubuntu1) ... 112s Setting up libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) ... 112s Setting up libctf-nobfd0:armhf (2.43.50.20241221-1ubuntu1) ... 112s Setting up gettext-base (0.22.5-3) ... 112s Setting up libnss-systemd:armhf (257-2ubuntu1) ... 112s Setting up libnss3:armhf (2:3.106-1ubuntu1) ... 112s Setting up locales (2.40-4ubuntu1) ... 113s Generating locales (this might take a while)... 115s en_US.UTF-8... done 115s Generation complete. 115s Setting up libsframe1:armhf (2.43.50.20241221-1ubuntu1) ... 115s Setting up tzdata (2024b-4ubuntu1) ... 115s 115s Current default time zone: 'Etc/UTC' 115s Local time is now: Fri Jan 3 15:00:49 UTC 2025. 115s Universal Time is now: Fri Jan 3 15:00:49 UTC 2025. 115s Run 'dpkg-reconfigure tzdata' if you wish to change it. 115s 115s Setting up eject (2.40.2-1ubuntu2) ... 115s Setting up libftdi1-2:armhf (1.5-8) ... 115s Setting up libglib2.0-data (2.82.4-1) ... 115s Setting up systemd-cryptsetup (257-2ubuntu1) ... 115s Setting up libwrap0:armhf (7.6.q-34) ... 115s Setting up make (4.4.1-1) ... 115s Setting up gnupg-l10n (2.4.4-2ubuntu21) ... 115s Setting up bash-completion (1:2.16.0-1) ... 115s Setting up libfribidi0:armhf (1.0.16-1) ... 115s Setting up libpng16-16t64:armhf (1.6.44-3) ... 115s Setting up systemd-timesyncd (257-2ubuntu1) ... 116s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 116s Setting up libatomic1:armhf (14.2.0-12ubuntu1) ... 116s Setting up udev (257-2ubuntu1) ... 117s Setting up usb.ids (2024.12.04-1) ... 117s Setting up ucf (3.0046) ... 117s Installing new version of config file /etc/ucf.conf ... 117s Setting up libfdisk1:armhf (2.40.2-1ubuntu2) ... 117s Setting up whiptail (0.52.24-4ubuntu1) ... 117s Setting up python-apt-common (2.9.6build1) ... 117s Setting up dracut-install (105-2ubuntu5) ... 117s Setting up uuid-runtime (2.40.2-1ubuntu2) ... 118s uuidd.service is a disabled or a static unit not running, not starting it. 118s Setting up xauth (1:1.1.2-1.1) ... 118s Setting up groff-base (1.23.0-7) ... 118s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 118s Setting up libpam-systemd:armhf (257-2ubuntu1) ... 118s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 118s Setting up curl (8.11.1-1ubuntu1) ... 118s Setting up libbinutils:armhf (2.43.50.20241221-1ubuntu1) ... 118s Setting up openssl (3.4.0-1ubuntu2) ... 118s Installing new version of config file /etc/ssl/openssl.cnf ... 118s Setting up libgpg-error-l10n (1.51-3) ... 118s Setting up iputils-ping (3:20240905-1ubuntu1) ... 118s Setting up readline-common (8.2-6) ... 118s Setting up publicsuffix (20241206.1516-0.1) ... 118s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) ... 118s Setting up libbpf1:armhf (1:1.5.0-2) ... 118s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 118s Setting up rsync (3.3.0+ds1-2) ... 119s rsync.service is a disabled or a static unit not running, not starting it. 119s Setting up python3.13-gdbm (3.13.1-2) ... 119s Setting up ethtool (1:6.11-1) ... 119s Setting up gnupg-utils (2.4.4-2ubuntu21) ... 119s Setting up systemd-resolved (257-2ubuntu1) ... 119s Setting up libxkbcommon0:armhf (1.7.0-2) ... 119s Setting up libctf0:armhf (2.43.50.20241221-1ubuntu1) ... 119s Setting up python3.12-minimal (3.12.8-3) ... 120s Setting up libglib2.0-0t64:armhf (2.82.4-1) ... 120s No schema files found: doing nothing. 120s Setting up gir1.2-glib-2.0:armhf (2.82.4-1) ... 120s Setting up libreadline8t64:armhf (8.2-6) ... 120s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 120s Setting up gpgconf (2.4.4-2ubuntu21) ... 120s Setting up libgirepository-1.0-1:armhf (1.82.0-3) ... 120s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241221-1ubuntu1) ... 120s Setting up libpython3.13-stdlib:armhf (3.13.1-2) ... 120s Setting up gpg (2.4.4-2ubuntu21) ... 120s Setting up libgstreamer1.0-0:armhf (1.24.10-2) ... 120s Setcap worked! gst-ptp-helper is not suid! 120s Setting up libpython3-stdlib:armhf (3.13.1-1~exp2) ... 120s Setting up gpg-agent (2.4.4-2ubuntu21) ... 121s Setting up libpython3.12-stdlib:armhf (3.12.8-3) ... 121s Setting up python3.13 (3.13.1-2) ... 122s Setting up python3.12 (3.12.8-3) ... 123s Setting up gpgsm (2.4.4-2ubuntu21) ... 123s Setting up libglib2.0-bin (2.82.4-1) ... 123s Setting up libappstream5:armhf (1.0.4-1) ... 123s Setting up libqmi-glib5:armhf (1.35.6-1) ... 123s Setting up python3 (3.13.1-1~exp2) ... 123s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 123s for fn in glob1(directory, "%s.*" % fname): 124s Setting up binutils (2.43.50.20241221-1ubuntu1) ... 124s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 124s Setting up fdisk (2.40.2-1ubuntu2) ... 124s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 124s Setting up dirmngr (2.4.4-2ubuntu21) ... 124s Setting up python3-jinja2 (3.1.3-1.1) ... 124s Setting up appstream (1.0.4-1) ... 124s ✔ Metadata cache was updated successfully. 124s Setting up gir1.2-girepository-2.0:armhf (1.82.0-3) ... 124s Setting up python3-wadllib (2.0.0-2) ... 125s Setting up keyboxd (2.4.4-2ubuntu21) ... 125s Setting up python3-json-pointer (2.4-3) ... 125s Setting up gnupg (2.4.4-2ubuntu21) ... 125s Setting up python3-pkg-resources (75.6.0-1) ... 125s Setting up python3-attr (24.2.0-1) ... 125s Setting up python3-setuptools (75.6.0-1) ... 127s Setting up gpg-wks-client (2.4.4-2ubuntu21) ... 127s Setting up python3-rich (13.9.4-1) ... 128s Setting up python3-gdbm:armhf (3.13.1-1) ... 128s Setting up python3-problem-report (2.31.0-0ubuntu2) ... 128s Setting up python3-apt (2.9.6build1) ... 128s Setting up python3-jsonpatch (1.32-5) ... 128s Setting up python3-bcrypt (4.2.0-2.1) ... 129s Setting up libqmi-proxy (1.35.6-1) ... 129s Setting up libfwupd3:armhf (2.0.3-3) ... 129s Setting up python3-apport (2.31.0-0ubuntu2) ... 129s Setting up python3-software-properties (0.108) ... 129s Setting up python3-cryptography (43.0.0-1) ... 129s Setting up fwupd (2.0.3-3) ... 130s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 130s fwupd.service is a disabled or a static unit not running, not starting it. 130s Setting up python3-openssl (24.3.0-1) ... 130s Setting up software-properties-common (0.108) ... 130s Setting up apport-core-dump-handler (2.31.0-0ubuntu2) ... 131s Setting up apport (2.31.0-0ubuntu2) ... 132s apport-autoreport.service is a disabled or a static unit not running, not starting it. 132s Processing triggers for dbus (1.14.10-4ubuntu5) ... 132s Processing triggers for shared-mime-info (2.4-5) ... 132s Warning: program compiled against libxml 212 using older 209 132s Processing triggers for debianutils (5.21) ... 132s Processing triggers for install-info (7.1.1-1) ... 132s Processing triggers for initramfs-tools (0.142ubuntu35) ... 133s Processing triggers for libc-bin (2.40-4ubuntu1) ... 133s Processing triggers for systemd (257-2ubuntu1) ... 133s Processing triggers for man-db (2.13.0-1) ... 137s Reading package lists... 138s Building dependency tree... 138s Reading state information... 138s Starting pkgProblemResolver with broken count: 0 138s Starting 2 pkgProblemResolver with broken count: 0 138s Done 139s The following packages will be REMOVED: 139s libassuan0* libnsl2* libpython3.12-minimal* libpython3.12-stdlib* 139s python3.12* python3.12-minimal* 139s 0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded. 139s After this operation, 20.0 MB disk space will be freed. 140s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60740 files and directories currently installed.) 140s Removing libassuan0:armhf (2.5.6-1build1) ... 140s Removing python3.12 (3.12.8-3) ... 140s Removing libpython3.12-stdlib:armhf (3.12.8-3) ... 140s Removing libnsl2:armhf (1.3.0-3build3) ... 140s Removing python3.12-minimal (3.12.8-3) ... 140s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 140s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 140s Removing libpython3.12-minimal:armhf (3.12.8-3) ... 140s Processing triggers for systemd (257-2ubuntu1) ... 140s Processing triggers for man-db (2.13.0-1) ... 141s Processing triggers for libc-bin (2.40-4ubuntu1) ... 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 ... 60020 files and directories currently installed.) 141s Purging configuration files for python3.12-minimal (3.12.8-3) ... 141s Purging configuration files for libpython3.12-minimal:armhf (3.12.8-3) ... 143s autopkgtest [15:01:17]: rebooting testbed after setup commands that affected boot 193s autopkgtest [15:02:07]: 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 225s autopkgtest [15:02:39]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 310s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (dsc) [4921 B] 310s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [263 kB] 310s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [5557 kB] 310s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (diff) [135 kB] 310s gpgv: Signature made Fri Dec 13 13:58:26 2024 UTC 310s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 310s gpgv: Can't check signature: No public key 310s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.4-1.dsc: no acceptable signature found 311s autopkgtest [15:04:05]: testing package glib2.0 version 2.82.4-1 324s autopkgtest [15:04:18]: build not needed 339s autopkgtest [15:04:33]: test build: preparing testbed 341s Reading package lists... 342s Building dependency tree... 342s Reading state information... 343s Starting pkgProblemResolver with broken count: 0 343s Starting 2 pkgProblemResolver with broken count: 0 343s Done 344s The following NEW packages will be installed: 344s build-essential cpp cpp-14 cpp-14-arm-linux-gnueabihf 344s cpp-arm-linux-gnueabihf g++ g++-14 g++-14-arm-linux-gnueabihf 344s g++-arm-linux-gnueabihf gcc gcc-14 gcc-14-arm-linux-gnueabihf 344s gcc-arm-linux-gnueabihf libasan8 libblkid-dev libc-dev-bin libc6-dev 344s libcc1-0 libcrypt-dev libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 344s libisl23 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 344s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev 344s libsysprof-capture-4-dev libubsan1 linux-libc-dev pkgconf pkgconf-bin 344s rpcsvc-proto uuid-dev zlib1g-dev 344s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 344s Need to get 54.3 MB of archives. 344s After this operation, 160 MB of additional disk space will be used. 344s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-4ubuntu1 [19.2 kB] 344s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.11.0-8.8 [1628 kB] 345s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.36-5 [119 kB] 345s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 345s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-4ubuntu1 [1358 kB] 345s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 345s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 345s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-12ubuntu1 [9217 kB] 345s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-12ubuntu1 [1034 B] 345s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [5464 B] 345s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.1.0-2ubuntu1 [22.4 kB] 345s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 14.2.0-12ubuntu1 [43.4 kB] 345s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-12ubuntu1 [125 kB] 345s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 14.2.0-12ubuntu1 [2900 kB] 345s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 14.2.0-12ubuntu1 [1150 kB] 345s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-12ubuntu1 [897 kB] 345s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-12ubuntu1 [18.0 MB] 346s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-12ubuntu1 [502 kB] 346s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [1222 B] 346s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.1.0-2ubuntu1 [5002 B] 346s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-12ubuntu1 [2571 kB] 346s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-12ubuntu1 [10.5 MB] 346s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-12ubuntu1 [20.2 kB] 346s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [968 B] 346s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.1.0-2ubuntu1 [1084 B] 346s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 346s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libffi-dev armhf 3.4.6-1build1 [57.1 kB] 346s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-dev armhf 2.40.2-1ubuntu2 [51.0 kB] 346s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid-dev armhf 2.40.2-1ubuntu2 [207 kB] 346s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libsepol-dev armhf 3.7-1 [381 kB] 346s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-16-0 armhf 10.42-4ubuntu3 [186 kB] 346s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-32-0 armhf 10.42-4ubuntu3 [176 kB] 346s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-posix3 armhf 10.42-4ubuntu3 [6178 B] 346s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-dev armhf 10.42-4ubuntu3 [679 kB] 346s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libselinux1-dev armhf 3.7-3ubuntu1 [160 kB] 346s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libmount-dev armhf 2.40.2-1ubuntu2 [33.2 kB] 346s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libsysprof-capture-4-dev armhf 47.2-1 [46.4 kB] 346s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libpkgconf3 armhf 1.8.1-4 [26.6 kB] 346s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf-bin armhf 1.8.1-4 [21.2 kB] 346s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf armhf 1.8.1-4 [16.8 kB] 346s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu1 [880 kB] 346s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev armhf 2.82.4-1 [1624 kB] 347s Fetched 54.3 MB in 2s (22.0 MB/s) 347s Selecting previously unselected package libc-dev-bin. 347s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60018 files and directories currently installed.) 347s Preparing to unpack .../00-libc-dev-bin_2.40-4ubuntu1_armhf.deb ... 347s Unpacking libc-dev-bin (2.40-4ubuntu1) ... 347s Selecting previously unselected package linux-libc-dev:armhf. 347s Preparing to unpack .../01-linux-libc-dev_6.11.0-8.8_armhf.deb ... 347s Unpacking linux-libc-dev:armhf (6.11.0-8.8) ... 347s Selecting previously unselected package libcrypt-dev:armhf. 347s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-5_armhf.deb ... 347s Unpacking libcrypt-dev:armhf (1:4.4.36-5) ... 347s Selecting previously unselected package rpcsvc-proto. 347s Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 347s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 347s Selecting previously unselected package libc6-dev:armhf. 347s Preparing to unpack .../04-libc6-dev_2.40-4ubuntu1_armhf.deb ... 347s Unpacking libc6-dev:armhf (2.40-4ubuntu1) ... 347s Selecting previously unselected package libisl23:armhf. 347s Preparing to unpack .../05-libisl23_0.27-1_armhf.deb ... 347s Unpacking libisl23:armhf (0.27-1) ... 347s Selecting previously unselected package libmpc3:armhf. 347s Preparing to unpack .../06-libmpc3_1.3.1-1build2_armhf.deb ... 347s Unpacking libmpc3:armhf (1.3.1-1build2) ... 347s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 347s Preparing to unpack .../07-cpp-14-arm-linux-gnueabihf_14.2.0-12ubuntu1_armhf.deb ... 347s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 348s Selecting previously unselected package cpp-14. 348s Preparing to unpack .../08-cpp-14_14.2.0-12ubuntu1_armhf.deb ... 348s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 348s Selecting previously unselected package cpp-arm-linux-gnueabihf. 348s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 348s Unpacking cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 348s Selecting previously unselected package cpp. 348s Preparing to unpack .../10-cpp_4%3a14.1.0-2ubuntu1_armhf.deb ... 348s Unpacking cpp (4:14.1.0-2ubuntu1) ... 348s Selecting previously unselected package libcc1-0:armhf. 348s Preparing to unpack .../11-libcc1-0_14.2.0-12ubuntu1_armhf.deb ... 348s Unpacking libcc1-0:armhf (14.2.0-12ubuntu1) ... 348s Selecting previously unselected package libgomp1:armhf. 348s Preparing to unpack .../12-libgomp1_14.2.0-12ubuntu1_armhf.deb ... 348s Unpacking libgomp1:armhf (14.2.0-12ubuntu1) ... 348s Selecting previously unselected package libasan8:armhf. 348s Preparing to unpack .../13-libasan8_14.2.0-12ubuntu1_armhf.deb ... 348s Unpacking libasan8:armhf (14.2.0-12ubuntu1) ... 348s Selecting previously unselected package libubsan1:armhf. 348s Preparing to unpack .../14-libubsan1_14.2.0-12ubuntu1_armhf.deb ... 348s Unpacking libubsan1:armhf (14.2.0-12ubuntu1) ... 348s Selecting previously unselected package libgcc-14-dev:armhf. 348s Preparing to unpack .../15-libgcc-14-dev_14.2.0-12ubuntu1_armhf.deb ... 348s Unpacking libgcc-14-dev:armhf (14.2.0-12ubuntu1) ... 348s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 348s Preparing to unpack .../16-gcc-14-arm-linux-gnueabihf_14.2.0-12ubuntu1_armhf.deb ... 348s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 348s Selecting previously unselected package gcc-14. 348s Preparing to unpack .../17-gcc-14_14.2.0-12ubuntu1_armhf.deb ... 348s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 348s Selecting previously unselected package gcc-arm-linux-gnueabihf. 348s Preparing to unpack .../18-gcc-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 348s Unpacking gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 348s Selecting previously unselected package gcc. 348s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_armhf.deb ... 348s Unpacking gcc (4:14.1.0-2ubuntu1) ... 348s Selecting previously unselected package libstdc++-14-dev:armhf. 348s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-12ubuntu1_armhf.deb ... 348s Unpacking libstdc++-14-dev:armhf (14.2.0-12ubuntu1) ... 349s Selecting previously unselected package g++-14-arm-linux-gnueabihf. 349s Preparing to unpack .../21-g++-14-arm-linux-gnueabihf_14.2.0-12ubuntu1_armhf.deb ... 349s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 349s Selecting previously unselected package g++-14. 349s Preparing to unpack .../22-g++-14_14.2.0-12ubuntu1_armhf.deb ... 349s Unpacking g++-14 (14.2.0-12ubuntu1) ... 349s Selecting previously unselected package g++-arm-linux-gnueabihf. 349s Preparing to unpack .../23-g++-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 349s Unpacking g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 349s Selecting previously unselected package g++. 349s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_armhf.deb ... 349s Unpacking g++ (4:14.1.0-2ubuntu1) ... 349s Selecting previously unselected package build-essential. 349s Preparing to unpack .../25-build-essential_12.10ubuntu1_armhf.deb ... 349s Unpacking build-essential (12.10ubuntu1) ... 349s Selecting previously unselected package libffi-dev:armhf. 349s Preparing to unpack .../26-libffi-dev_3.4.6-1build1_armhf.deb ... 349s Unpacking libffi-dev:armhf (3.4.6-1build1) ... 349s Selecting previously unselected package uuid-dev:armhf. 349s Preparing to unpack .../27-uuid-dev_2.40.2-1ubuntu2_armhf.deb ... 349s Unpacking uuid-dev:armhf (2.40.2-1ubuntu2) ... 349s Selecting previously unselected package libblkid-dev:armhf. 349s Preparing to unpack .../28-libblkid-dev_2.40.2-1ubuntu2_armhf.deb ... 349s Unpacking libblkid-dev:armhf (2.40.2-1ubuntu2) ... 349s Selecting previously unselected package libsepol-dev:armhf. 349s Preparing to unpack .../29-libsepol-dev_3.7-1_armhf.deb ... 349s Unpacking libsepol-dev:armhf (3.7-1) ... 349s Selecting previously unselected package libpcre2-16-0:armhf. 349s Preparing to unpack .../30-libpcre2-16-0_10.42-4ubuntu3_armhf.deb ... 349s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu3) ... 349s Selecting previously unselected package libpcre2-32-0:armhf. 349s Preparing to unpack .../31-libpcre2-32-0_10.42-4ubuntu3_armhf.deb ... 349s Unpacking libpcre2-32-0:armhf (10.42-4ubuntu3) ... 349s Selecting previously unselected package libpcre2-posix3:armhf. 349s Preparing to unpack .../32-libpcre2-posix3_10.42-4ubuntu3_armhf.deb ... 349s Unpacking libpcre2-posix3:armhf (10.42-4ubuntu3) ... 349s Selecting previously unselected package libpcre2-dev:armhf. 349s Preparing to unpack .../33-libpcre2-dev_10.42-4ubuntu3_armhf.deb ... 349s Unpacking libpcre2-dev:armhf (10.42-4ubuntu3) ... 349s Selecting previously unselected package libselinux1-dev:armhf. 349s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu1_armhf.deb ... 349s Unpacking libselinux1-dev:armhf (3.7-3ubuntu1) ... 349s Selecting previously unselected package libmount-dev:armhf. 349s Preparing to unpack .../35-libmount-dev_2.40.2-1ubuntu2_armhf.deb ... 349s Unpacking libmount-dev:armhf (2.40.2-1ubuntu2) ... 349s Selecting previously unselected package libsysprof-capture-4-dev:armhf. 349s Preparing to unpack .../36-libsysprof-capture-4-dev_47.2-1_armhf.deb ... 349s Unpacking libsysprof-capture-4-dev:armhf (47.2-1) ... 350s Selecting previously unselected package libpkgconf3:armhf. 350s Preparing to unpack .../37-libpkgconf3_1.8.1-4_armhf.deb ... 350s Unpacking libpkgconf3:armhf (1.8.1-4) ... 350s Selecting previously unselected package pkgconf-bin. 350s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_armhf.deb ... 350s Unpacking pkgconf-bin (1.8.1-4) ... 350s Selecting previously unselected package pkgconf:armhf. 350s Preparing to unpack .../39-pkgconf_1.8.1-4_armhf.deb ... 350s Unpacking pkgconf:armhf (1.8.1-4) ... 350s Selecting previously unselected package zlib1g-dev:armhf. 350s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_armhf.deb ... 350s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 350s Selecting previously unselected package libgio-2.0-dev:armhf. 350s Preparing to unpack .../41-libgio-2.0-dev_2.82.4-1_armhf.deb ... 350s Unpacking libgio-2.0-dev:armhf (2.82.4-1) ... 350s Setting up linux-libc-dev:armhf (6.11.0-8.8) ... 350s Setting up libgomp1:armhf (14.2.0-12ubuntu1) ... 350s Setting up libffi-dev:armhf (3.4.6-1build1) ... 350s Setting up libpcre2-16-0:armhf (10.42-4ubuntu3) ... 350s Setting up libsysprof-capture-4-dev:armhf (47.2-1) ... 350s Setting up libpcre2-32-0:armhf (10.42-4ubuntu3) ... 350s Setting up libpkgconf3:armhf (1.8.1-4) ... 350s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 350s Setting up libmpc3:armhf (1.3.1-1build2) ... 350s Setting up libsepol-dev:armhf (3.7-1) ... 350s Setting up pkgconf-bin (1.8.1-4) ... 350s Setting up libubsan1:armhf (14.2.0-12ubuntu1) ... 350s Setting up libpcre2-posix3:armhf (10.42-4ubuntu3) ... 350s Setting up libcrypt-dev:armhf (1:4.4.36-5) ... 350s Setting up libasan8:armhf (14.2.0-12ubuntu1) ... 350s Setting up libgcc-14-dev:armhf (14.2.0-12ubuntu1) ... 350s Setting up libisl23:armhf (0.27-1) ... 350s Setting up libc-dev-bin (2.40-4ubuntu1) ... 350s Setting up libcc1-0:armhf (14.2.0-12ubuntu1) ... 350s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 350s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 350s Setting up pkgconf:armhf (1.8.1-4) ... 350s Setting up cpp-14 (14.2.0-12ubuntu1) ... 350s Setting up libc6-dev:armhf (2.40-4ubuntu1) ... 350s Setting up libstdc++-14-dev:armhf (14.2.0-12ubuntu1) ... 350s Setting up cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 350s Setting up gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 350s Setting up g++-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 350s Setting up libpcre2-dev:armhf (10.42-4ubuntu3) ... 350s Setting up libselinux1-dev:armhf (3.7-3ubuntu1) ... 350s Setting up gcc-14 (14.2.0-12ubuntu1) ... 350s Setting up uuid-dev:armhf (2.40.2-1ubuntu2) ... 350s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 350s Setting up cpp (4:14.1.0-2ubuntu1) ... 350s Setting up g++-14 (14.2.0-12ubuntu1) ... 350s Setting up g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 350s Setting up libblkid-dev:armhf (2.40.2-1ubuntu2) ... 350s Setting up gcc (4:14.1.0-2ubuntu1) ... 350s Setting up g++ (4:14.1.0-2ubuntu1) ... 350s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 350s Setting up build-essential (12.10ubuntu1) ... 350s Setting up libmount-dev:armhf (2.40.2-1ubuntu2) ... 350s Setting up libgio-2.0-dev:armhf (2.82.4-1) ... 350s Processing triggers for man-db (2.13.0-1) ... 351s Processing triggers for libglib2.0-0t64:armhf (2.82.4-1) ... 351s No schema files found: doing nothing. 351s Processing triggers for install-info (7.1.1-1) ... 351s Processing triggers for libc-bin (2.40-4ubuntu1) ... 360s autopkgtest [15:04:54]: test build: [----------------------- 362s + mode=dynamic 362s + getopt -o --long static -n debian/tests/build -- 362s + getopt_temp= -- 362s + eval set -- -- 362s + set -- -- 362s + true 362s + shift 362s + break 362s + mktemp -d 362s + WORKDIR=/tmp/tmp.3HtBhIZpD2 362s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 362s + cd /tmp/tmp.3HtBhIZpD2 362s + [ -n ] 362s + CROSS_COMPILE= 362s + cat 362s + cat 362s + cat 362s + cat 362s + cat 362s + cat 362s + cflags= 362s + pcflags= 362s + packages=glib-2.0 362s + pkg-config --cflags --libs glib-2.0 362s + 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 362s + echo build (glib, dynamic): OK 362s + [ -x glib-dynamic ] 362s + foo=bar ./glib-dynamic 362s build (glib, dynamic): OK 362s run (glib, dynamic): OK 362s + echo run (glib, dynamic): OK 362s + cflags= 362s + pcflags= 362s + packages=gobject-2.0 362s + pkg-config --cflags --libs gobject-2.0 362s + 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 363s build (gobject, dynamic): OK 363s + echo build (gobject, dynamic): OK 363s + [ -x gobject-dynamic ] 363s + foo=bar ./gobject-dynamic 363s + echo run (gobject, dynamic): OK 363s + cflags= 363s + pcflags= 363s + packages=gio-2.0 363s + pkg-config --cflags --libs gio-2.0 363s run (gobject, dynamic): OK 363s + 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 363s + echo build (gio, dynamic): OK 363s + [ -x gio-dynamic ] 363s + foo=bar ./gio-dynamic 363s build (gio, dynamic): OK 363s run (gio, dynamic): OK 363s + echo run (gio, dynamic): OK 363s + cflags= 363s + pcflags= 363s + packages=gio-unix-2.0 363s + pkg-config --cflags --libs gio-unix-2.0 363s + 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 363s build (gio-unix, dynamic): OK 363s + echo build (gio-unix, dynamic): OK 363s + [ -x gio-unix-dynamic ] 363s + foo=bar ./gio-unix-dynamic 363s + echo run (gio-unix, dynamic): OK 363s + cflags= 363s + pcflags= 363s + packages=gmodule-2.0 363s + pkg-config --cflags --libs gmodule-2.0 363s run (gio-unix, dynamic): OK 363s + 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 363s + echo build (gmodule, dynamic): OK 363s + [ -x gmodule-dynamic ] 363s + foo=bar ./gmodule-dynamic 363s build (gmodule, dynamic): OK 363s + echo run (gmodule, dynamic): OK 363s + cflags= 363s + pcflags= 363s + packages=gthread-2.0 363s + pkg-config --cflags --libs gthread-2.0 363s + 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 363s run (gmodule, dynamic): OK 363s build (gthread, dynamic): OK 363s + echo build (gthread, dynamic): OK 363s + [ -x gthread-dynamic ] 363s + foo=bar ./gthread-dynamic 363s + echo run (gthread, dynamic): OK 363s + rm -rf /tmp/tmp.3HtBhIZpD2 363s run (gthread, dynamic): OK 364s autopkgtest [15:04:58]: test build: -----------------------] 368s autopkgtest [15:05:02]: test build: - - - - - - - - - - results - - - - - - - - - - 368s build PASS (superficial) 373s autopkgtest [15:05:07]: test build-static: preparing testbed 375s Reading package lists... 375s Building dependency tree... 375s Reading state information... 375s Starting pkgProblemResolver with broken count: 0 375s Starting 2 pkgProblemResolver with broken count: 0 375s Done 376s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 387s autopkgtest [15:05:21]: test build-static: [----------------------- 390s + mode=dynamic 390s + getopt -o --long static -n debian/tests/build -- --static 390s + getopt_temp= --static -- 390s + eval set -- --static -- 390s + set -- --static -- 390s + true 390s + mode=static 390s + shift 390s + continue 390s + true 390s + shift 390s + break 390s + mktemp -d 390s + WORKDIR=/tmp/tmp.jn1iDRgQAl 390s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 390s + cd /tmp/tmp.jn1iDRgQAl 390s + [ -n ] 390s + CROSS_COMPILE= 390s + cat 390s + cat 390s + cat 390s + cat 390s + cat 390s + cat 390s + cflags= 390s + pcflags= 390s + packages=glib-2.0 390s + cflags=-static 390s + pcflags=--static 390s + pkg-config --static --cflags --libs glib-2.0 390s + 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 390s /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': 390s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 390s /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 390s /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 390s build (glib, static): OK 390s + echo build (glib, static): OK 390s + [ -x glib-static ] 390s + foo=bar ./glib-static 390s + echo run (glib, static): OK 390s + cflags= 390s + pcflags= 390s + packages=gobject-2.0 390s + cflags=-static 390s + pcflags=--static 390s + pkg-config --static --cflags --libs gobject-2.0 390s run (glib, static): OK 390s + 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 390s /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': 390s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 390s /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 390s /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 390s build (gobject, static): OK 390s run (gobject, static): OK 390s + echo build (gobject, static): OK 390s + [ -x gobject-static ] 390s + foo=bar ./gobject-static 390s + echo run (gobject, static): OK 390s + cflags= 390s + pcflags= 390s + packages=gio-2.0 390s + cflags=-static 390s + pcflags=--static 390s + continue 390s + cflags= 390s + pcflags= 390s + packages=gio-unix-2.0 390s + cflags=-static 390s + pcflags=--static 390s + continue 390s + cflags= 390s + pcflags= 390s + packages=gmodule-2.0 390s + cflags=-static 390s + pcflags=--static 390s + pkg-config --static --cflags --libs gmodule-2.0 390s + 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 390s /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': 390s (.text+0x3e2): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 390s /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': 390s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 390s /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 390s /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 390s + echo build (gmodule, static): OK 390s + [ -x gmodule-static ] 390s + foo=bar ./gmodule-static 390s build (gmodule, static): OK 390s run (gmodule, static): OK 390s + echo run (gmodule, static): OK 390s + cflags= 390s + pcflags= 390s + packages=gthread-2.0 390s + cflags=-static 390s + pcflags=--static 390s + pkg-config --static --cflags --libs gthread-2.0 390s + 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 390s /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': 390s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 390s /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 390s /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 390s build (gthread, static): OK 390s + echo build (gthread, static): OK 390s + [ -x gthread-static ] 390s + foo=bar ./gthread-static 390s run (gthread, static): OK 390s + echo run (gthread, static): OK 390s + rm -rf /tmp/tmp.jn1iDRgQAl 391s autopkgtest [15:05:25]: test build-static: -----------------------] 395s autopkgtest [15:05:29]: test build-static: - - - - - - - - - - results - - - - - - - - - - 395s build-static PASS (superficial) 400s autopkgtest [15:05:34]: test girepository-tools: preparing testbed 456s autopkgtest [15:06:30]: testbed dpkg architecture: armhf 458s autopkgtest [15:06:32]: testbed apt version: 2.9.14ubuntu1 463s autopkgtest [15:06:37]: @@@@@@@@@@@@@@@@@@@@ test bed setup 465s autopkgtest [15:06:39]: testbed release detected to be: plucky 474s autopkgtest [15:06:48]: updating testbed package index (apt update) 476s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 477s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 477s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 479s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 479s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.1 kB] 479s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 479s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [60.7 kB] 479s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [669 kB] 479s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [60.7 kB] 479s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 479s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [521 kB] 479s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [2064 B] 479s Get:13 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.9 MB] 479s Get:14 http://ftpmaster.internal/ubuntu plucky/restricted Sources [15.2 kB] 479s Get:15 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [297 kB] 479s Get:16 http://ftpmaster.internal/ubuntu plucky/main Sources [1383 kB] 479s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1355 kB] 479s Get:18 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2544 B] 479s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.9 MB] 479s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 482s Fetched 40.7 MB in 5s (7622 kB/s) 483s Reading package lists... 490s autopkgtest [15:07:04]: upgrading testbed (apt dist-upgrade and autopurge) 492s Reading package lists... 493s Building dependency tree... 493s Reading state information... 493s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 493s Starting 2 pkgProblemResolver with broken count: 0 493s Done 494s Entering ResolveByKeep 494s 495s The following packages were automatically installed and are no longer required: 495s libassuan0 libnsl2 libpython3.12-minimal libpython3.12-stdlib python3.12 495s python3.12-minimal 495s Use 'apt autoremove' to remove them. 495s The following NEW packages will be installed: 495s libpython3.13-minimal libpython3.13-stdlib openssl-provider-legacy 495s python3-bcrypt python3.13 python3.13-minimal 495s The following packages will be upgraded: 495s apport apport-core-dump-handler appstream apt apt-utils base-passwd bash 495s bash-completion binutils binutils-arm-linux-gnueabihf binutils-common 495s bsdextrautils bsdutils curl dirmngr dracut-install eject ethtool fdisk fwupd 495s gcc-14-base gettext-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg 495s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 495s groff-base iputils-ping iputils-tracepath keyboxd libappstream5 495s libapt-pkg6.0t64 libatomic1 libbinutils libblkid1 libbpf1 libc-bin libc6 495s libcap-ng0 libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 495s libdebconfclient0 libfdisk1 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 495s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 495s libgpg-error-l10n libgpg-error0 libgstreamer1.0-0 libjson-glib-1.0-0 495s libjson-glib-1.0-common libmount1 libnewt0.52 libnpth0t64 libnss-systemd 495s libnss3 libpam-systemd libpng16-16t64 libpython3-stdlib 495s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 495s libreadline8t64 libsframe1 libsmartcols1 libssl3t64 libstdc++6 495s libsystemd-shared libsystemd0 libtraceevent1 libtraceevent1-plugin libudev1 495s libunistring5 libuuid1 libwrap0 libxkbcommon0 libxml2 libyaml-0-2 locales 495s make mount openssl pci.ids publicsuffix python-apt-common python3 495s python3-apport python3-apt python3-attr python3-cryptography python3-gdbm 495s python3-jinja2 python3-json-pointer python3-jsonpatch python3-minimal 495s python3-newt python3-openssl python3-pkg-resources python3-problem-report 495s python3-rich python3-setuptools python3-software-properties python3-wadllib 495s python3.12 python3.12-gdbm python3.12-minimal python3.13-gdbm 495s readline-common rsync software-properties-common systemd systemd-cryptsetup 495s systemd-resolved systemd-sysv systemd-timesyncd tar tzdata ucf udev usb.ids 495s util-linux uuid-runtime whiptail xauth 495s 139 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 495s Need to get 64.0 MB of archives. 495s After this operation, 28.5 MB of additional disk space will be used. 495s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 496s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-1ubuntu2 [108 kB] 496s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 496s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-12ubuntu1 [7892 B] 496s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-12ubuntu1 [52.6 kB] 496s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-12ubuntu1 [40.6 kB] 496s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-12ubuntu1 [711 kB] 496s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 496s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.0-1ubuntu2 [29.4 kB] 496s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.0-1ubuntu2 [1756 kB] 496s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257-2ubuntu1 [41.2 kB] 496s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257-2ubuntu1 [307 kB] 496s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257-2ubuntu1 [122 kB] 496s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-1ubuntu2 [62.3 kB] 496s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-1ubuntu2 [99.4 kB] 496s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-1ubuntu2 [155 kB] 496s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-1ubuntu2 [167 kB] 496s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-1ubuntu2 [189 kB] 496s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-1ubuntu2 [135 kB] 496s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-1ubuntu2 [39.5 kB] 496s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-1ubuntu2 [1195 kB] 496s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-1ubuntu2 [62.7 kB] 496s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-1ubuntu2 [211 kB] 496s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-1ubuntu2 [156 kB] 496s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 496s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 496s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257-2ubuntu1 [160 kB] 496s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257-2ubuntu1 [3489 kB] 496s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257-2ubuntu1 [1974 kB] 496s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257-2ubuntu1 [11.8 kB] 496s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257-2ubuntu1 [233 kB] 496s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257-2ubuntu1 [2156 kB] 496s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257-2ubuntu1 [190 kB] 496s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257-2ubuntu1 [483 kB] 496s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 496s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 496s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 496s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.18 [1085 kB] 496s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.18 [1349 kB] 497s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.18 [216 kB] 497s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 497s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 497s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 497s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu21 [88.9 kB] 497s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu21 [351 kB] 497s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu21 [246 kB] 497s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu21 [160 kB] 497s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu21 [238 kB] 497s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu21 [536 kB] 497s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu21 [118 kB] 497s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu21 [359 kB] 497s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu21 [113 kB] 497s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu21 [228 kB] 497s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.1-2 [868 kB] 497s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.1-2 [2036 kB] 497s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 497s Get:57 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.13.1-1~exp2 [27.6 kB] 497s Get:58 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.13.1-1~exp2 [23.9 kB] 497s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 497s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2024b-4ubuntu1 [196 kB] 497s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.1-2 [1970 kB] 497s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.1-2 [729 kB] 497s Get:63 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.13.1-1~exp2 [10.2 kB] 497s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.8-3 [667 kB] 497s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.8-3 [1939 kB] 497s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.8-3 [2029 kB] 497s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.8-3 [825 kB] 497s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.3.0+ds1-2 [422 kB] 497s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.6build1 [21.0 kB] 497s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.6build1 [174 kB] 497s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0-0ubuntu2 [25.3 kB] 497s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0-0ubuntu2 [93.1 kB] 497s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.82.4-1 [52.2 kB] 497s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.4-1 [93.0 kB] 497s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-3 [25.3 kB] 497s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.82.4-1 [182 kB] 497s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.82.4-1 [1421 kB] 497s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-3 [108 kB] 497s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0-0ubuntu2 [18.2 kB] 497s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0-0ubuntu2 [82.9 kB] 497s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 497s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 497s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 497s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 497s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 497s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 497s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 497s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2build1 [599 kB] 497s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 497s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 497s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.0-1ubuntu2 [1159 kB] 498s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 498s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0046 [41.9 kB] 498s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 498s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-1 [214 kB] 498s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 498s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.22.5-3 [40.7 kB] 498s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 498s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 498s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.44-3 [169 kB] 498s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 498s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 498s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 498s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2024.11.25-1 [282 kB] 498s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241206.1516-0.1 [135 kB] 498s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.1-2 [29.8 kB] 498s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.8-3 [28.9 kB] 498s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 498s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2024.12.04-1 [223 kB] 498s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 498s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.11.1-1ubuntu1 [333 kB] 498s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 498s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 498s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241221-1ubuntu1 [74.8 kB] 498s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241221-1ubuntu1 [77.7 kB] 498s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241221-1ubuntu1 [2986 kB] 498s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241221-1ubuntu1 [408 kB] 498s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241221-1ubuntu1 [3090 B] 498s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241221-1ubuntu1 [222 kB] 498s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241221-1ubuntu1 [12.1 kB] 498s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.11.1-1ubuntu1 [244 kB] 498s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.11.1-1ubuntu1 [337 kB] 498s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu5 [37.3 kB] 498s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 498s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 498s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.3-3 [5028 kB] 499s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.3-3 [121 kB] 499s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 499s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 499s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu21 [66.3 kB] 499s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 499s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.24.10-2 [1109 kB] 499s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.106-1ubuntu1 [1321 kB] 499s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-34 [45.7 kB] 499s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 499s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 24.2.0-1 [50.2 kB] 499s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.3-1.1 [108 kB] 499s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 499s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 499s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 24.3.0-1 [45.8 kB] 499s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 499s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 499s Get:143 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.108 [16.5 kB] 499s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.108 [30.9 kB] 499s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 500s Preconfiguring packages ... 500s Fetched 64.0 MB in 4s (17.4 MB/s) 500s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 500s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 500s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 500s Setting up bash (5.2.37-1ubuntu1) ... 500s 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 500s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 500s Preparing to unpack .../bsdutils_1%3a2.40.2-1ubuntu2_armhf.deb ... 500s Unpacking bsdutils (1:2.40.2-1ubuntu2) over (1:2.40.2-1ubuntu1) ... 500s Setting up bsdutils (1:2.40.2-1ubuntu2) ... 500s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 500s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 500s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 500s Setting up tar (1.35+dfsg-3.1) ... 501s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 501s Preparing to unpack .../libatomic1_14.2.0-12ubuntu1_armhf.deb ... 501s Unpacking libatomic1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 501s Preparing to unpack .../gcc-14-base_14.2.0-12ubuntu1_armhf.deb ... 501s Unpacking gcc-14-base:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 501s Setting up gcc-14-base:armhf (14.2.0-12ubuntu1) ... 501s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 501s Preparing to unpack .../libgcc-s1_14.2.0-12ubuntu1_armhf.deb ... 501s Unpacking libgcc-s1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 501s Setting up libgcc-s1:armhf (14.2.0-12ubuntu1) ... 501s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 501s Preparing to unpack .../libstdc++6_14.2.0-12ubuntu1_armhf.deb ... 501s Unpacking libstdc++6:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 501s Setting up libstdc++6:armhf (14.2.0-12ubuntu1) ... 501s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 501s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 501s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 502s Setting up libc6:armhf (2.40-4ubuntu1) ... 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 .../libssl3t64_3.4.0-1ubuntu2_armhf.deb ... 503s Unpacking libssl3t64:armhf (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 503s Selecting previously unselected package openssl-provider-legacy. 503s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu2_armhf.deb ... 503s Unpacking openssl-provider-legacy (3.4.0-1ubuntu2) ... 503s Setting up libssl3t64:armhf (3.4.0-1ubuntu2) ... 503s Setting up openssl-provider-legacy (3.4.0-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 ... 59973 files and directories currently installed.) 503s Preparing to unpack .../0-systemd-timesyncd_257-2ubuntu1_armhf.deb ... 503s Unpacking systemd-timesyncd (257-2ubuntu1) over (256.5-2ubuntu4) ... 503s Preparing to unpack .../1-systemd-resolved_257-2ubuntu1_armhf.deb ... 503s Unpacking systemd-resolved (257-2ubuntu1) over (256.5-2ubuntu4) ... 503s Preparing to unpack .../2-systemd-cryptsetup_257-2ubuntu1_armhf.deb ... 503s Unpacking systemd-cryptsetup (257-2ubuntu1) over (256.5-2ubuntu4) ... 503s Preparing to unpack .../3-eject_2.40.2-1ubuntu2_armhf.deb ... 503s Unpacking eject (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 503s Preparing to unpack .../4-bsdextrautils_2.40.2-1ubuntu2_armhf.deb ... 503s Unpacking bsdextrautils (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 503s Preparing to unpack .../5-fdisk_2.40.2-1ubuntu2_armhf.deb ... 503s Unpacking fdisk (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 504s Preparing to unpack .../6-libblkid1_2.40.2-1ubuntu2_armhf.deb ... 504s Unpacking libblkid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 504s Setting up libblkid1:armhf (2.40.2-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 ... 59974 files and directories currently installed.) 504s Preparing to unpack .../libmount1_2.40.2-1ubuntu2_armhf.deb ... 504s Unpacking libmount1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 504s Setting up libmount1:armhf (2.40.2-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 ... 59974 files and directories currently installed.) 504s Preparing to unpack .../libsmartcols1_2.40.2-1ubuntu2_armhf.deb ... 504s Unpacking libsmartcols1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 504s Setting up libsmartcols1:armhf (2.40.2-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 ... 59974 files and directories currently installed.) 504s Preparing to unpack .../libuuid1_2.40.2-1ubuntu2_armhf.deb ... 504s Unpacking libuuid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 504s Setting up libuuid1:armhf (2.40.2-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 ... 59974 files and directories currently installed.) 504s Preparing to unpack .../util-linux_2.40.2-1ubuntu2_armhf.deb ... 504s Unpacking util-linux (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 504s Setting up util-linux (2.40.2-1ubuntu2) ... 505s fstrim.service is a disabled or a static unit not running, not starting it. 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 .../0-uuid-runtime_2.40.2-1ubuntu2_armhf.deb ... 505s Unpacking uuid-runtime (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 505s Preparing to unpack .../1-libfdisk1_2.40.2-1ubuntu2_armhf.deb ... 505s Unpacking libfdisk1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 505s Preparing to unpack .../2-mount_2.40.2-1ubuntu2_armhf.deb ... 505s Unpacking mount (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 505s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 505s Unpacking readline-common (8.2-6) over (8.2-5) ... 505s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 505s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 505s 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' 505s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 505s 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' 505s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 505s Preparing to unpack .../5-libnss-systemd_257-2ubuntu1_armhf.deb ... 505s Unpacking libnss-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 505s Preparing to unpack .../6-systemd_257-2ubuntu1_armhf.deb ... 505s Unpacking systemd (257-2ubuntu1) over (256.5-2ubuntu4) ... 506s Preparing to unpack .../7-udev_257-2ubuntu1_armhf.deb ... 506s Unpacking udev (257-2ubuntu1) over (256.5-2ubuntu4) ... 506s Preparing to unpack .../8-libsystemd-shared_257-2ubuntu1_armhf.deb ... 506s Unpacking libsystemd-shared:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 506s Setting up libsystemd-shared:armhf (257-2ubuntu1) ... 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 ... 59967 files and directories currently installed.) 506s Preparing to unpack .../libsystemd0_257-2ubuntu1_armhf.deb ... 506s Unpacking libsystemd0:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 506s Setting up libsystemd0:armhf (257-2ubuntu1) ... 506s Setting up mount (2.40.2-1ubuntu2) ... 506s Setting up systemd (257-2ubuntu1) ... 506s Installing new version of config file /etc/systemd/logind.conf ... 506s Installing new version of config file /etc/systemd/sleep.conf ... 506s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 506s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 506s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 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 .../systemd-sysv_257-2ubuntu1_armhf.deb ... 507s Unpacking systemd-sysv (257-2ubuntu1) over (256.5-2ubuntu4) ... 507s Preparing to unpack .../libpam-systemd_257-2ubuntu1_armhf.deb ... 507s Unpacking libpam-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 507s Preparing to unpack .../libudev1_257-2ubuntu1_armhf.deb ... 507s Unpacking libudev1:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 507s Setting up libudev1: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 .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 507s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 507s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 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 .../base-passwd_3.6.6_armhf.deb ... 507s Unpacking base-passwd (3.6.6) over (3.6.5) ... 507s Setting up base-passwd (3.6.6) ... 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 .../libc-bin_2.40-4ubuntu1_armhf.deb ... 507s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 508s Setting up libc-bin (2.40-4ubuntu1) ... 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 .../libapt-pkg6.0t64_2.9.18_armhf.deb ... 508s Unpacking libapt-pkg6.0t64:armhf (2.9.18) over (2.9.14ubuntu1) ... 508s Setting up libapt-pkg6.0t64:armhf (2.9.18) ... 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 .../archives/apt_2.9.18_armhf.deb ... 508s Unpacking apt (2.9.18) over (2.9.14ubuntu1) ... 508s Setting up apt (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 ... 59966 files and directories currently installed.) 509s Preparing to unpack .../apt-utils_2.9.18_armhf.deb ... 509s Unpacking apt-utils (2.9.18) over (2.9.14ubuntu1) ... 509s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 509s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 509s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 509s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 509s Setting up libgpg-error0:armhf (1.51-3) ... 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 ... 59966 files and directories currently installed.) 509s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 509s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 509s Setting up libnpth0t64:armhf (1.8-2) ... 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 ... 59966 files and directories currently installed.) 509s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu21_armhf.deb ... 509s Unpacking gpg-wks-client (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 509s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu21_armhf.deb ... 509s Unpacking dirmngr (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 509s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu21_armhf.deb ... 509s Unpacking gpgsm (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 509s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu21_armhf.deb ... 509s Unpacking gnupg-utils (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 509s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu21_armhf.deb ... 509s Unpacking gpg-agent (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 509s Preparing to unpack .../5-gpg_2.4.4-2ubuntu21_armhf.deb ... 509s Unpacking gpg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 509s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu21_armhf.deb ... 509s Unpacking gpgconf (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 509s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu21_all.deb ... 509s Unpacking gnupg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 510s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu21_armhf.deb ... 510s Unpacking keyboxd (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 510s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu21_armhf.deb ... 510s Unpacking gpgv (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 510s Setting up gpgv (2.4.4-2ubuntu21) ... 510s Selecting previously unselected package libpython3.13-minimal:armhf. 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 .../libpython3.13-minimal_3.13.1-2_armhf.deb ... 510s Unpacking libpython3.13-minimal:armhf (3.13.1-2) ... 510s Selecting previously unselected package python3.13-minimal. 510s Preparing to unpack .../python3.13-minimal_3.13.1-2_armhf.deb ... 510s Unpacking python3.13-minimal (3.13.1-2) ... 510s Preparing to unpack .../python3-cryptography_43.0.0-1_armhf.deb ... 510s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 510s Setting up libpython3.13-minimal:armhf (3.13.1-2) ... 510s Setting up python3.13-minimal (3.13.1-2) ... 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 ... 60284 files and directories currently installed.) 511s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_armhf.deb ... 511s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 511s Setting up python3-minimal (3.13.1-1~exp2) ... 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 ... 60284 files and directories currently installed.) 511s Preparing to unpack .../00-python3_3.13.1-1~exp2_armhf.deb ... 511s Unpacking python3 (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 511s Selecting previously unselected package python3-bcrypt. 511s Preparing to unpack .../01-python3-bcrypt_4.2.0-2.1_armhf.deb ... 511s Unpacking python3-bcrypt (4.2.0-2.1) ... 512s Preparing to unpack .../02-tzdata_2024b-4ubuntu1_all.deb ... 512s Unpacking tzdata (2024b-4ubuntu1) over (2024b-1ubuntu2) ... 512s Selecting previously unselected package libpython3.13-stdlib:armhf. 512s Preparing to unpack .../03-libpython3.13-stdlib_3.13.1-2_armhf.deb ... 512s Unpacking libpython3.13-stdlib:armhf (3.13.1-2) ... 512s Selecting previously unselected package python3.13. 512s Preparing to unpack .../04-python3.13_3.13.1-2_armhf.deb ... 512s Unpacking python3.13 (3.13.1-2) ... 512s Preparing to unpack .../05-libpython3-stdlib_3.13.1-1~exp2_armhf.deb ... 512s Unpacking libpython3-stdlib:armhf (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 512s Preparing to unpack .../06-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 .../07-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 .../08-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 .../09-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 .../10-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 .../11-python-apt-common_2.9.6build1_all.deb ... 512s Unpacking python-apt-common (2.9.6build1) over (2.9.0ubuntu2) ... 513s Preparing to unpack .../12-python3-apt_2.9.6build1_armhf.deb ... 513s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 513s for fn in glob1(directory, "%s.*" % fname): 513s Unpacking python3-apt (2.9.6build1) over (2.9.0ubuntu2) ... 513s Preparing to unpack .../13-python3-problem-report_2.31.0-0ubuntu2_all.deb ... 513s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 513s for fn in glob1(directory, "%s.*" % fname): 513s Unpacking python3-problem-report (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 513s Preparing to unpack .../14-python3-apport_2.31.0-0ubuntu2_all.deb ... 513s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 513s for fn in glob1(directory, "%s.*" % fname): 513s Unpacking python3-apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 513s Preparing to unpack .../15-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 .../16-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 .../17-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 .../18-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 .../19-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 .../20-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 .../21-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) ... 513s Preparing to unpack .../22-apport_2.31.0-0ubuntu2_all.deb ... 513s Unpacking apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 513s Preparing to unpack .../23-libcap-ng0_0.8.5-4_armhf.deb ... 513s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 513s Setting up libcap-ng0:armhf (0.8.5-4) ... 513s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60703 files and directories currently installed.) 513s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 513s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 513s 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 ... 60703 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 /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 514s for fn in glob1(directory, "%s.*" % fname): 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) ... 514s Preparing to unpack .../09-python3-rich_13.9.4-1_all.deb ... 514s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 514s for fn in glob1(directory, "%s.*" % fname): 514s 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) ... 515s Preparing to unpack .../17-libpng16-16t64_1.6.44-3_armhf.deb ... 515s Unpacking libpng16-16t64:armhf (1.6.44-3) over (1.6.44-2) ... 515s Preparing to unpack .../18-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 515s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 515s Preparing to unpack .../19-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 515s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 515s Preparing to unpack .../20-libxkbcommon0_1.7.0-2_armhf.deb ... 515s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 515s Preparing to unpack .../21-pci.ids_0.0~2024.11.25-1_all.deb ... 515s Unpacking pci.ids (0.0~2024.11.25-1) over (0.0~2024.10.24-1) ... 515s Preparing to unpack .../22-publicsuffix_20241206.1516-0.1_all.deb ... 515s Unpacking publicsuffix (20241206.1516-0.1) over (20231001.0357-0.1) ... 515s Preparing to unpack .../23-python3.13-gdbm_3.13.1-2_armhf.deb ... 515s Unpacking python3.13-gdbm (3.13.1-2) over (3.13.0-2) ... 515s Preparing to unpack .../24-python3.12-gdbm_3.12.8-3_armhf.deb ... 515s 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.20241221-1ubuntu1_armhf.deb ... 516s Unpacking libctf0:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 516s Preparing to unpack .../32-libctf-nobfd0_2.43.50.20241221-1ubuntu1_armhf.deb ... 516s Unpacking libctf-nobfd0:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 516s Preparing to unpack .../33-binutils-arm-linux-gnueabihf_2.43.50.20241221-1ubuntu1_armhf.deb ... 516s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 516s Preparing to unpack .../34-libbinutils_2.43.50.20241221-1ubuntu1_armhf.deb ... 516s Unpacking libbinutils:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 516s Preparing to unpack .../35-binutils_2.43.50.20241221-1ubuntu1_armhf.deb ... 516s Unpacking binutils (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 516s Preparing to unpack .../36-binutils-common_2.43.50.20241221-1ubuntu1_armhf.deb ... 516s Unpacking binutils-common:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 516s Preparing to unpack .../37-libsframe1_2.43.50.20241221-1ubuntu1_armhf.deb ... 516s Unpacking libsframe1:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 516s Preparing to unpack .../38-curl_8.11.1-1ubuntu1_armhf.deb ... 516s Unpacking curl (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 516s Preparing to unpack .../39-libcurl4t64_8.11.1-1ubuntu1_armhf.deb ... 516s Unpacking libcurl4t64:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 516s Preparing to unpack .../40-dracut-install_105-2ubuntu5_armhf.deb ... 516s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 516s Preparing to unpack .../41-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 516s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 516s Preparing to unpack .../42-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 516s 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) ... 517s Preparing to unpack .../53-python3-attr_24.2.0-1_all.deb ... 517s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 517s for fn in glob1(directory, "%s.*" % fname): 518s Unpacking python3-attr (24.2.0-1) over (23.2.0-2) ... 518s Preparing to unpack .../54-python3-jinja2_3.1.3-1.1_all.deb ... 518s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 518s for fn in glob1(directory, "%s.*" % fname): 518s Unpacking python3-jinja2 (3.1.3-1.1) over (3.1.3-1ubuntu1) ... 518s Preparing to unpack .../55-python3-json-pointer_2.4-3_all.deb ... 518s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 518s for fn in glob1(directory, "%s.*" % fname): 518s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 518s Preparing to unpack .../56-python3-jsonpatch_1.32-5_all.deb ... 518s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 518s for fn in glob1(directory, "%s.*" % fname): 518s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 518s Preparing to unpack .../57-python3-openssl_24.3.0-1_all.deb ... 518s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 518s for fn in glob1(directory, "%s.*" % fname): 518s Unpacking python3-openssl (24.3.0-1) over (24.2.1-1) ... 518s Preparing to unpack .../58-python3-pkg-resources_75.6.0-1_all.deb ... 518s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 518s for fn in glob1(directory, "%s.*" % fname): 518s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 518s Preparing to unpack .../59-python3-setuptools_75.6.0-1_all.deb ... 518s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 518s for fn in glob1(directory, "%s.*" % fname): 518s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 519s Preparing to unpack .../60-software-properties-common_0.108_all.deb ... 519s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 519s for fn in glob1(directory, "%s.*" % fname): 519s Unpacking software-properties-common (0.108) over (0.105) ... 519s Preparing to unpack .../61-python3-software-properties_0.108_all.deb ... 519s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 519s for fn in glob1(directory, "%s.*" % fname): 519s Unpacking python3-software-properties (0.108) over (0.105) ... 519s Preparing to unpack .../62-python3-wadllib_2.0.0-2_all.deb ... 519s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 519s for fn in glob1(directory, "%s.*" % fname): 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.20241221-1ubuntu1) ... 519s Setting up libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) ... 519s Setting up libctf-nobfd0:armhf (2.43.50.20241221-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.20241221-1ubuntu1) ... 522s Setting up tzdata (2024b-4ubuntu1) ... 522s 522s Current default time zone: 'Etc/UTC' 522s Local time is now: Fri Jan 3 15:07:36 UTC 2025. 522s Universal Time is now: Fri Jan 3 15:07:36 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) ... 524s uuidd.service is a disabled or a static unit not running, not starting it. 524s Setting up xauth (1:1.1.2-1.1) ... 524s Setting up groff-base (1.23.0-7) ... 524s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 524s 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.20241221-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) ... 525s rsync.service is a disabled or a static unit not running, not starting it. 525s Setting up python3.13-gdbm (3.13.1-2) ... 525s Setting up ethtool (1:6.11-1) ... 525s Setting up gnupg-utils (2.4.4-2ubuntu21) ... 525s Setting up systemd-resolved (257-2ubuntu1) ... 526s Setting up libxkbcommon0:armhf (1.7.0-2) ... 526s Setting up libctf0:armhf (2.43.50.20241221-1ubuntu1) ... 526s Setting up python3.12-minimal (3.12.8-3) ... 527s Setting up libglib2.0-0t64:armhf (2.82.4-1) ... 527s No schema files found: doing nothing. 527s Setting up gir1.2-glib-2.0:armhf (2.82.4-1) ... 527s Setting up libreadline8t64:armhf (8.2-6) ... 527s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 527s Setting up gpgconf (2.4.4-2ubuntu21) ... 527s Setting up libgirepository-1.0-1:armhf (1.82.0-3) ... 527s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241221-1ubuntu1) ... 527s Setting up libpython3.13-stdlib:armhf (3.13.1-2) ... 527s Setting up gpg (2.4.4-2ubuntu21) ... 527s Setting up libgstreamer1.0-0:armhf (1.24.10-2) ... 527s Setcap worked! gst-ptp-helper is not suid! 527s Setting up libpython3-stdlib:armhf (3.13.1-1~exp2) ... 527s Setting up gpg-agent (2.4.4-2ubuntu21) ... 528s Setting up libpython3.12-stdlib:armhf (3.12.8-3) ... 528s Setting up python3.13 (3.13.1-2) ... 529s Setting up python3.12 (3.12.8-3) ... 530s Setting up gpgsm (2.4.4-2ubuntu21) ... 530s Setting up libglib2.0-bin (2.82.4-1) ... 530s Setting up libappstream5:armhf (1.0.4-1) ... 530s Setting up libqmi-glib5:armhf (1.35.6-1) ... 530s Setting up python3 (3.13.1-1~exp2) ... 530s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 530s for fn in glob1(directory, "%s.*" % fname): 531s Setting up binutils (2.43.50.20241221-1ubuntu1) ... 531s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 531s Setting up fdisk (2.40.2-1ubuntu2) ... 531s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 531s Setting up dirmngr (2.4.4-2ubuntu21) ... 531s Setting up python3-jinja2 (3.1.3-1.1) ... 531s Setting up appstream (1.0.4-1) ... 531s ✔ Metadata cache was updated successfully. 531s Setting up gir1.2-girepository-2.0:armhf (1.82.0-3) ... 531s Setting up python3-wadllib (2.0.0-2) ... 532s Setting up keyboxd (2.4.4-2ubuntu21) ... 532s Setting up python3-json-pointer (2.4-3) ... 532s Setting up gnupg (2.4.4-2ubuntu21) ... 532s Setting up python3-pkg-resources (75.6.0-1) ... 532s Setting up python3-attr (24.2.0-1) ... 533s Setting up python3-setuptools (75.6.0-1) ... 534s Setting up gpg-wks-client (2.4.4-2ubuntu21) ... 534s Setting up python3-rich (13.9.4-1) ... 535s Setting up python3-gdbm:armhf (3.13.1-1) ... 535s Setting up python3-problem-report (2.31.0-0ubuntu2) ... 535s Setting up python3-apt (2.9.6build1) ... 535s Setting up python3-jsonpatch (1.32-5) ... 536s Setting up python3-bcrypt (4.2.0-2.1) ... 536s Setting up libqmi-proxy (1.35.6-1) ... 536s Setting up libfwupd3:armhf (2.0.3-3) ... 536s Setting up python3-apport (2.31.0-0ubuntu2) ... 536s Setting up python3-software-properties (0.108) ... 536s Setting up python3-cryptography (43.0.0-1) ... 537s Setting up fwupd (2.0.3-3) ... 537s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 537s fwupd.service is a disabled or a static unit not running, not starting it. 537s Setting up python3-openssl (24.3.0-1) ... 538s Setting up software-properties-common (0.108) ... 538s Setting up apport-core-dump-handler (2.31.0-0ubuntu2) ... 539s Setting up apport (2.31.0-0ubuntu2) ... 539s apport-autoreport.service is a disabled or a static unit not running, not starting it. 539s Processing triggers for dbus (1.14.10-4ubuntu5) ... 539s Processing triggers for shared-mime-info (2.4-5) ... 539s Warning: program compiled against libxml 212 using older 209 540s Processing triggers for debianutils (5.21) ... 540s Processing triggers for install-info (7.1.1-1) ... 540s Processing triggers for initramfs-tools (0.142ubuntu35) ... 540s Processing triggers for libc-bin (2.40-4ubuntu1) ... 540s Processing triggers for systemd (257-2ubuntu1) ... 540s Processing triggers for man-db (2.13.0-1) ... 545s Reading package lists... 545s Building dependency tree... 545s Reading state information... 546s Starting pkgProblemResolver with broken count: 0 546s Starting 2 pkgProblemResolver with broken count: 0 546s Done 547s The following packages will be REMOVED: 547s libassuan0* libnsl2* libpython3.12-minimal* libpython3.12-stdlib* 547s python3.12* python3.12-minimal* 547s 0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded. 547s After this operation, 20.0 MB disk space will be freed. 547s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60740 files and directories currently installed.) 547s Removing libassuan0:armhf (2.5.6-1build1) ... 547s Removing python3.12 (3.12.8-3) ... 548s Removing libpython3.12-stdlib:armhf (3.12.8-3) ... 548s Removing libnsl2:armhf (1.3.0-3build3) ... 548s Removing python3.12-minimal (3.12.8-3) ... 548s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 548s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 548s Removing libpython3.12-minimal:armhf (3.12.8-3) ... 549s Processing triggers for systemd (257-2ubuntu1) ... 549s Processing triggers for man-db (2.13.0-1) ... 549s Processing triggers for libc-bin (2.40-4ubuntu1) ... 549s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60020 files and directories currently installed.) 549s Purging configuration files for python3.12-minimal (3.12.8-3) ... 549s Purging configuration files for libpython3.12-minimal:armhf (3.12.8-3) ... 552s autopkgtest [15:08:06]: rebooting testbed after setup commands that affected boot 631s Reading package lists... 631s Building dependency tree... 631s Reading state information... 632s Starting pkgProblemResolver with broken count: 0 632s Starting 2 pkgProblemResolver with broken count: 0 632s Done 633s The following NEW packages will be installed: 633s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 633s native-architecture 633s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 633s Need to get 1059 kB of archives. 633s After this operation, 12.4 MB of additional disk space will be used. 633s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0-dev armhf 2.82.4-1 [853 kB] 633s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf native-architecture all 0.2.3 [1990 B] 633s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-2.0-0 armhf 2.82.4-1 [96.4 kB] 633s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf girepository-tools armhf 2.82.4-1 [108 kB] 634s Fetched 1059 kB in 1s (1743 kB/s) 634s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf. 634s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60018 files and directories currently installed.) 634s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.4-1_armhf.deb ... 634s Unpacking gir1.2-glib-2.0-dev:armhf (2.82.4-1) ... 634s Selecting previously unselected package native-architecture. 634s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 634s Unpacking native-architecture (0.2.3) ... 634s Selecting previously unselected package libgirepository-2.0-0:armhf. 634s Preparing to unpack .../libgirepository-2.0-0_2.82.4-1_armhf.deb ... 634s Unpacking libgirepository-2.0-0:armhf (2.82.4-1) ... 634s Selecting previously unselected package girepository-tools:armhf. 634s Preparing to unpack .../girepository-tools_2.82.4-1_armhf.deb ... 634s Unpacking girepository-tools:armhf (2.82.4-1) ... 634s Setting up native-architecture (0.2.3) ... 634s Setting up libgirepository-2.0-0:armhf (2.82.4-1) ... 634s Setting up gir1.2-glib-2.0-dev:armhf (2.82.4-1) ... 634s Setting up girepository-tools:armhf (2.82.4-1) ... 634s Processing triggers for man-db (2.13.0-1) ... 634s Processing triggers for libc-bin (2.40-4ubuntu1) ... 653s autopkgtest [15:09:47]: test girepository-tools: [----------------------- 655s + cd /tmp/autopkgtest.zVLjS5/autopkgtest_tmp 655s + dpkg-architecture -qDEB_HOST_GNU_TYPE 655s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 655s + DEB_HOST_GNU_TYPE=arm-linux-gnueabihf 655s + dpkg-architecture -qDEB_HOST_MULTIARCH 655s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 655s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 655s + arm-linux-gnueabihf-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 655s + arm-linux-gnueabihf-gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 655s typelib: GLib-2.0 656s + arm-linux-gnueabihf-gi-decompile-typelib -o GLib.gir GLib.typelib 656s autopkgtest [15:09:50]: test girepository-tools: -----------------------] 660s girepository-tools PASS (superficial) 660s autopkgtest [15:09:54]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 664s autopkgtest [15:09:58]: test libgio-2.0-dev-bin: preparing testbed 722s autopkgtest [15:10:56]: testbed dpkg architecture: armhf 724s autopkgtest [15:10:58]: testbed apt version: 2.9.14ubuntu1 728s autopkgtest [15:11:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 731s autopkgtest [15:11:05]: testbed release detected to be: plucky 740s autopkgtest [15:11:14]: updating testbed package index (apt update) 743s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 743s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 743s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 743s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 743s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [60.7 kB] 743s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 743s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.1 kB] 743s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [669 kB] 743s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [60.7 kB] 743s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 743s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [521 kB] 743s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [2064 B] 743s Get:13 http://ftpmaster.internal/ubuntu plucky/main Sources [1383 kB] 743s Get:14 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [297 kB] 743s Get:15 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.9 MB] 744s Get:16 http://ftpmaster.internal/ubuntu plucky/restricted Sources [15.2 kB] 744s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1355 kB] 744s Get:18 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2544 B] 744s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.9 MB] 744s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 748s Fetched 40.7 MB in 5s (7916 kB/s) 749s Reading package lists... 756s autopkgtest [15:11:30]: upgrading testbed (apt dist-upgrade and autopurge) 759s Reading package lists... 759s Building dependency tree... 759s Reading state information... 760s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 760s Starting 2 pkgProblemResolver with broken count: 0 760s Done 761s Entering ResolveByKeep 761s 762s The following packages were automatically installed and are no longer required: 762s libassuan0 libnsl2 libpython3.12-minimal libpython3.12-stdlib python3.12 762s python3.12-minimal 762s Use 'apt autoremove' to remove them. 762s The following NEW packages will be installed: 762s libpython3.13-minimal libpython3.13-stdlib openssl-provider-legacy 762s python3-bcrypt python3.13 python3.13-minimal 762s The following packages will be upgraded: 762s apport apport-core-dump-handler appstream apt apt-utils base-passwd bash 762s bash-completion binutils binutils-arm-linux-gnueabihf binutils-common 762s bsdextrautils bsdutils curl dirmngr dracut-install eject ethtool fdisk fwupd 762s gcc-14-base gettext-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg 762s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 762s groff-base iputils-ping iputils-tracepath keyboxd libappstream5 762s libapt-pkg6.0t64 libatomic1 libbinutils libblkid1 libbpf1 libc-bin libc6 762s libcap-ng0 libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 762s libdebconfclient0 libfdisk1 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 762s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 762s libgpg-error-l10n libgpg-error0 libgstreamer1.0-0 libjson-glib-1.0-0 762s libjson-glib-1.0-common libmount1 libnewt0.52 libnpth0t64 libnss-systemd 762s libnss3 libpam-systemd libpng16-16t64 libpython3-stdlib 762s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 762s libreadline8t64 libsframe1 libsmartcols1 libssl3t64 libstdc++6 762s libsystemd-shared libsystemd0 libtraceevent1 libtraceevent1-plugin libudev1 762s libunistring5 libuuid1 libwrap0 libxkbcommon0 libxml2 libyaml-0-2 locales 762s make mount openssl pci.ids publicsuffix python-apt-common python3 762s python3-apport python3-apt python3-attr python3-cryptography python3-gdbm 762s python3-jinja2 python3-json-pointer python3-jsonpatch python3-minimal 762s python3-newt python3-openssl python3-pkg-resources python3-problem-report 762s python3-rich python3-setuptools python3-software-properties python3-wadllib 762s python3.12 python3.12-gdbm python3.12-minimal python3.13-gdbm 762s readline-common rsync software-properties-common systemd systemd-cryptsetup 762s systemd-resolved systemd-sysv systemd-timesyncd tar tzdata ucf udev usb.ids 762s util-linux uuid-runtime whiptail xauth 762s 139 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 762s Need to get 64.0 MB of archives. 762s After this operation, 28.5 MB of additional disk space will be used. 762s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 762s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-1ubuntu2 [108 kB] 762s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 762s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-12ubuntu1 [7892 B] 762s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-12ubuntu1 [52.6 kB] 762s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-12ubuntu1 [40.6 kB] 762s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-12ubuntu1 [711 kB] 763s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 763s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.0-1ubuntu2 [29.4 kB] 763s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.0-1ubuntu2 [1756 kB] 763s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257-2ubuntu1 [41.2 kB] 763s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257-2ubuntu1 [307 kB] 763s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257-2ubuntu1 [122 kB] 763s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-1ubuntu2 [62.3 kB] 763s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-1ubuntu2 [99.4 kB] 763s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-1ubuntu2 [155 kB] 763s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-1ubuntu2 [167 kB] 763s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-1ubuntu2 [189 kB] 763s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-1ubuntu2 [135 kB] 763s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-1ubuntu2 [39.5 kB] 763s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-1ubuntu2 [1195 kB] 763s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-1ubuntu2 [62.7 kB] 763s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-1ubuntu2 [211 kB] 763s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-1ubuntu2 [156 kB] 763s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 763s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 763s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257-2ubuntu1 [160 kB] 763s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257-2ubuntu1 [3489 kB] 763s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257-2ubuntu1 [1974 kB] 763s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257-2ubuntu1 [11.8 kB] 763s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257-2ubuntu1 [233 kB] 763s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257-2ubuntu1 [2156 kB] 763s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257-2ubuntu1 [190 kB] 763s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257-2ubuntu1 [483 kB] 763s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 763s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 763s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 763s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.18 [1085 kB] 763s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.18 [1349 kB] 763s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.18 [216 kB] 763s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 763s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 763s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 763s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu21 [88.9 kB] 763s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu21 [351 kB] 763s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu21 [246 kB] 763s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu21 [160 kB] 763s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu21 [238 kB] 763s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu21 [536 kB] 763s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu21 [118 kB] 763s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu21 [359 kB] 763s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu21 [113 kB] 763s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu21 [228 kB] 763s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.1-2 [868 kB] 763s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.1-2 [2036 kB] 763s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 763s Get:57 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.13.1-1~exp2 [27.6 kB] 763s Get:58 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.13.1-1~exp2 [23.9 kB] 763s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 763s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2024b-4ubuntu1 [196 kB] 763s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.1-2 [1970 kB] 763s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.1-2 [729 kB] 763s Get:63 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.13.1-1~exp2 [10.2 kB] 763s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.8-3 [667 kB] 763s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.8-3 [1939 kB] 764s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.8-3 [2029 kB] 764s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.8-3 [825 kB] 764s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.3.0+ds1-2 [422 kB] 764s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.6build1 [21.0 kB] 764s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.6build1 [174 kB] 764s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0-0ubuntu2 [25.3 kB] 764s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0-0ubuntu2 [93.1 kB] 764s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.82.4-1 [52.2 kB] 764s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.4-1 [93.0 kB] 764s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-3 [25.3 kB] 764s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.82.4-1 [182 kB] 764s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.82.4-1 [1421 kB] 764s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-3 [108 kB] 764s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0-0ubuntu2 [18.2 kB] 764s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0-0ubuntu2 [82.9 kB] 764s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 764s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 764s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 764s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 764s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 764s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 764s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 764s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2build1 [599 kB] 764s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 764s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 764s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.0-1ubuntu2 [1159 kB] 764s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 764s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0046 [41.9 kB] 764s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 764s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-1 [214 kB] 764s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 764s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.22.5-3 [40.7 kB] 764s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 764s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 764s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.44-3 [169 kB] 764s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 764s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 764s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 764s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2024.11.25-1 [282 kB] 765s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241206.1516-0.1 [135 kB] 765s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.1-2 [29.8 kB] 765s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.8-3 [28.9 kB] 765s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 765s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2024.12.04-1 [223 kB] 765s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 765s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.11.1-1ubuntu1 [333 kB] 765s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 765s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 765s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241221-1ubuntu1 [74.8 kB] 765s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241221-1ubuntu1 [77.7 kB] 765s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241221-1ubuntu1 [2986 kB] 765s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241221-1ubuntu1 [408 kB] 765s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241221-1ubuntu1 [3090 B] 765s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241221-1ubuntu1 [222 kB] 765s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241221-1ubuntu1 [12.1 kB] 765s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.11.1-1ubuntu1 [244 kB] 765s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.11.1-1ubuntu1 [337 kB] 765s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu5 [37.3 kB] 765s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 765s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 765s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.3-3 [5028 kB] 765s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.3-3 [121 kB] 765s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 765s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 765s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu21 [66.3 kB] 765s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 765s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.24.10-2 [1109 kB] 765s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.106-1ubuntu1 [1321 kB] 765s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-34 [45.7 kB] 765s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 765s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 24.2.0-1 [50.2 kB] 765s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.3-1.1 [108 kB] 765s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 765s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 765s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 24.3.0-1 [45.8 kB] 765s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 765s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 765s Get:143 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.108 [16.5 kB] 765s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.108 [30.9 kB] 765s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 766s Preconfiguring packages ... 766s Fetched 64.0 MB in 3s (19.1 MB/s) 766s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 766s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 766s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 766s Setting up bash (5.2.37-1ubuntu1) ... 766s 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 766s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 766s Preparing to unpack .../bsdutils_1%3a2.40.2-1ubuntu2_armhf.deb ... 766s Unpacking bsdutils (1:2.40.2-1ubuntu2) over (1:2.40.2-1ubuntu1) ... 767s Setting up bsdutils (1:2.40.2-1ubuntu2) ... 767s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 767s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 767s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 767s Setting up tar (1.35+dfsg-3.1) ... 767s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 767s Preparing to unpack .../libatomic1_14.2.0-12ubuntu1_armhf.deb ... 767s Unpacking libatomic1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 767s Preparing to unpack .../gcc-14-base_14.2.0-12ubuntu1_armhf.deb ... 767s Unpacking gcc-14-base:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 767s Setting up gcc-14-base:armhf (14.2.0-12ubuntu1) ... 767s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 767s Preparing to unpack .../libgcc-s1_14.2.0-12ubuntu1_armhf.deb ... 767s Unpacking libgcc-s1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 767s Setting up libgcc-s1:armhf (14.2.0-12ubuntu1) ... 767s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 767s Preparing to unpack .../libstdc++6_14.2.0-12ubuntu1_armhf.deb ... 767s Unpacking libstdc++6:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 767s Setting up libstdc++6:armhf (14.2.0-12ubuntu1) ... 767s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 767s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 767s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 767s Setting up libc6:armhf (2.40-4ubuntu1) ... 768s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 768s Preparing to unpack .../libssl3t64_3.4.0-1ubuntu2_armhf.deb ... 768s Unpacking libssl3t64:armhf (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 768s Selecting previously unselected package openssl-provider-legacy. 768s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu2_armhf.deb ... 768s Unpacking openssl-provider-legacy (3.4.0-1ubuntu2) ... 768s Setting up libssl3t64:armhf (3.4.0-1ubuntu2) ... 768s Setting up openssl-provider-legacy (3.4.0-1ubuntu2) ... 768s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 768s Preparing to unpack .../0-systemd-timesyncd_257-2ubuntu1_armhf.deb ... 768s Unpacking systemd-timesyncd (257-2ubuntu1) over (256.5-2ubuntu4) ... 768s Preparing to unpack .../1-systemd-resolved_257-2ubuntu1_armhf.deb ... 768s Unpacking systemd-resolved (257-2ubuntu1) over (256.5-2ubuntu4) ... 768s Preparing to unpack .../2-systemd-cryptsetup_257-2ubuntu1_armhf.deb ... 768s Unpacking systemd-cryptsetup (257-2ubuntu1) over (256.5-2ubuntu4) ... 768s Preparing to unpack .../3-eject_2.40.2-1ubuntu2_armhf.deb ... 768s Unpacking eject (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 768s Preparing to unpack .../4-bsdextrautils_2.40.2-1ubuntu2_armhf.deb ... 768s Unpacking bsdextrautils (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 768s Preparing to unpack .../5-fdisk_2.40.2-1ubuntu2_armhf.deb ... 768s Unpacking fdisk (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 768s Preparing to unpack .../6-libblkid1_2.40.2-1ubuntu2_armhf.deb ... 768s Unpacking libblkid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 768s Setting up libblkid1:armhf (2.40.2-1ubuntu2) ... 768s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 768s Preparing to unpack .../libmount1_2.40.2-1ubuntu2_armhf.deb ... 768s Unpacking libmount1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 768s Setting up libmount1:armhf (2.40.2-1ubuntu2) ... 768s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 768s Preparing to unpack .../libsmartcols1_2.40.2-1ubuntu2_armhf.deb ... 768s Unpacking libsmartcols1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 768s Setting up libsmartcols1:armhf (2.40.2-1ubuntu2) ... 768s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 768s Preparing to unpack .../libuuid1_2.40.2-1ubuntu2_armhf.deb ... 768s Unpacking libuuid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 768s Setting up libuuid1:armhf (2.40.2-1ubuntu2) ... 769s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 769s Preparing to unpack .../util-linux_2.40.2-1ubuntu2_armhf.deb ... 769s Unpacking util-linux (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 769s Setting up util-linux (2.40.2-1ubuntu2) ... 769s fstrim.service is a disabled or a static unit not running, not starting it. 769s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 769s Preparing to unpack .../0-uuid-runtime_2.40.2-1ubuntu2_armhf.deb ... 769s Unpacking uuid-runtime (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 770s Preparing to unpack .../1-libfdisk1_2.40.2-1ubuntu2_armhf.deb ... 770s Unpacking libfdisk1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 770s Preparing to unpack .../2-mount_2.40.2-1ubuntu2_armhf.deb ... 770s Unpacking mount (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 770s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 770s Unpacking readline-common (8.2-6) over (8.2-5) ... 770s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 770s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 770s 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' 770s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 770s 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' 770s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 770s Preparing to unpack .../5-libnss-systemd_257-2ubuntu1_armhf.deb ... 770s Unpacking libnss-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 770s Preparing to unpack .../6-systemd_257-2ubuntu1_armhf.deb ... 770s Unpacking systemd (257-2ubuntu1) over (256.5-2ubuntu4) ... 770s Preparing to unpack .../7-udev_257-2ubuntu1_armhf.deb ... 770s Unpacking udev (257-2ubuntu1) over (256.5-2ubuntu4) ... 770s Preparing to unpack .../8-libsystemd-shared_257-2ubuntu1_armhf.deb ... 770s Unpacking libsystemd-shared:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 770s Setting up libsystemd-shared:armhf (257-2ubuntu1) ... 770s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 770s Preparing to unpack .../libsystemd0_257-2ubuntu1_armhf.deb ... 770s Unpacking libsystemd0:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 770s Setting up libsystemd0:armhf (257-2ubuntu1) ... 770s Setting up mount (2.40.2-1ubuntu2) ... 770s Setting up systemd (257-2ubuntu1) ... 770s Installing new version of config file /etc/systemd/logind.conf ... 770s Installing new version of config file /etc/systemd/sleep.conf ... 770s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 770s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 771s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 771s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 771s Preparing to unpack .../systemd-sysv_257-2ubuntu1_armhf.deb ... 771s Unpacking systemd-sysv (257-2ubuntu1) over (256.5-2ubuntu4) ... 771s Preparing to unpack .../libpam-systemd_257-2ubuntu1_armhf.deb ... 771s Unpacking libpam-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 771s Preparing to unpack .../libudev1_257-2ubuntu1_armhf.deb ... 771s Unpacking libudev1:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 771s Setting up libudev1:armhf (257-2ubuntu1) ... 772s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 772s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 772s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 772s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 772s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 772s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 772s Unpacking base-passwd (3.6.6) over (3.6.5) ... 772s Setting up base-passwd (3.6.6) ... 772s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 772s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 772s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 772s Setting up libc-bin (2.40-4ubuntu1) ... 772s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 772s Preparing to unpack .../libapt-pkg6.0t64_2.9.18_armhf.deb ... 772s Unpacking libapt-pkg6.0t64:armhf (2.9.18) over (2.9.14ubuntu1) ... 772s Setting up libapt-pkg6.0t64:armhf (2.9.18) ... 772s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 772s Preparing to unpack .../archives/apt_2.9.18_armhf.deb ... 772s Unpacking apt (2.9.18) over (2.9.14ubuntu1) ... 773s Setting up apt (2.9.18) ... 773s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 773s Preparing to unpack .../apt-utils_2.9.18_armhf.deb ... 773s Unpacking apt-utils (2.9.18) over (2.9.14ubuntu1) ... 773s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 773s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 773s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 773s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 773s Setting up libgpg-error0:armhf (1.51-3) ... 773s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 773s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 773s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 773s Setting up libnpth0t64:armhf (1.8-2) ... 773s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 773s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu21_armhf.deb ... 773s Unpacking gpg-wks-client (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 774s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu21_armhf.deb ... 774s Unpacking dirmngr (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 774s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu21_armhf.deb ... 774s Unpacking gpgsm (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 774s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu21_armhf.deb ... 774s Unpacking gnupg-utils (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 774s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu21_armhf.deb ... 774s Unpacking gpg-agent (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 774s Preparing to unpack .../5-gpg_2.4.4-2ubuntu21_armhf.deb ... 774s Unpacking gpg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 774s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu21_armhf.deb ... 774s Unpacking gpgconf (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 774s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu21_all.deb ... 774s Unpacking gnupg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 774s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu21_armhf.deb ... 774s Unpacking keyboxd (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 774s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu21_armhf.deb ... 774s Unpacking gpgv (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 774s Setting up gpgv (2.4.4-2ubuntu21) ... 774s Selecting previously unselected package libpython3.13-minimal:armhf. 774s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 774s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_armhf.deb ... 774s Unpacking libpython3.13-minimal:armhf (3.13.1-2) ... 774s Selecting previously unselected package python3.13-minimal. 774s Preparing to unpack .../python3.13-minimal_3.13.1-2_armhf.deb ... 774s Unpacking python3.13-minimal (3.13.1-2) ... 774s Preparing to unpack .../python3-cryptography_43.0.0-1_armhf.deb ... 774s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 774s Setting up libpython3.13-minimal:armhf (3.13.1-2) ... 774s Setting up python3.13-minimal (3.13.1-2) ... 776s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60284 files and directories currently installed.) 776s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_armhf.deb ... 776s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 776s Setting up python3-minimal (3.13.1-1~exp2) ... 776s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60284 files and directories currently installed.) 776s Preparing to unpack .../00-python3_3.13.1-1~exp2_armhf.deb ... 776s Unpacking python3 (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 776s Selecting previously unselected package python3-bcrypt. 776s Preparing to unpack .../01-python3-bcrypt_4.2.0-2.1_armhf.deb ... 776s Unpacking python3-bcrypt (4.2.0-2.1) ... 776s Preparing to unpack .../02-tzdata_2024b-4ubuntu1_all.deb ... 776s Unpacking tzdata (2024b-4ubuntu1) over (2024b-1ubuntu2) ... 776s Selecting previously unselected package libpython3.13-stdlib:armhf. 776s Preparing to unpack .../03-libpython3.13-stdlib_3.13.1-2_armhf.deb ... 776s Unpacking libpython3.13-stdlib:armhf (3.13.1-2) ... 776s Selecting previously unselected package python3.13. 776s Preparing to unpack .../04-python3.13_3.13.1-2_armhf.deb ... 776s Unpacking python3.13 (3.13.1-2) ... 776s Preparing to unpack .../05-libpython3-stdlib_3.13.1-1~exp2_armhf.deb ... 776s Unpacking libpython3-stdlib:armhf (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 776s Preparing to unpack .../06-python3.12_3.12.8-3_armhf.deb ... 776s Unpacking python3.12 (3.12.8-3) over (3.12.7-3) ... 776s Preparing to unpack .../07-libpython3.12-stdlib_3.12.8-3_armhf.deb ... 776s Unpacking libpython3.12-stdlib:armhf (3.12.8-3) over (3.12.7-3) ... 777s Preparing to unpack .../08-python3.12-minimal_3.12.8-3_armhf.deb ... 777s Unpacking python3.12-minimal (3.12.8-3) over (3.12.7-3) ... 777s Preparing to unpack .../09-libpython3.12-minimal_3.12.8-3_armhf.deb ... 777s Unpacking libpython3.12-minimal:armhf (3.12.8-3) over (3.12.7-3) ... 777s Preparing to unpack .../10-rsync_3.3.0+ds1-2_armhf.deb ... 777s Unpacking rsync (3.3.0+ds1-2) over (3.3.0-1) ... 777s Preparing to unpack .../11-python-apt-common_2.9.6build1_all.deb ... 777s Unpacking python-apt-common (2.9.6build1) over (2.9.0ubuntu2) ... 777s Preparing to unpack .../12-python3-apt_2.9.6build1_armhf.deb ... 777s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 777s for fn in glob1(directory, "%s.*" % fname): 777s Unpacking python3-apt (2.9.6build1) over (2.9.0ubuntu2) ... 777s Preparing to unpack .../13-python3-problem-report_2.31.0-0ubuntu2_all.deb ... 777s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 777s for fn in glob1(directory, "%s.*" % fname): 777s Unpacking python3-problem-report (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 777s Preparing to unpack .../14-python3-apport_2.31.0-0ubuntu2_all.deb ... 777s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 777s for fn in glob1(directory, "%s.*" % fname): 777s Unpacking python3-apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 777s Preparing to unpack .../15-libglib2.0-data_2.82.4-1_all.deb ... 777s Unpacking libglib2.0-data (2.82.4-1) over (2.82.2-3) ... 777s Preparing to unpack .../16-libglib2.0-bin_2.82.4-1_armhf.deb ... 777s Unpacking libglib2.0-bin (2.82.4-1) over (2.82.2-3) ... 777s Preparing to unpack .../17-gir1.2-girepository-2.0_1.82.0-3_armhf.deb ... 777s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-3) over (1.82.0-2) ... 777s Preparing to unpack .../18-gir1.2-glib-2.0_2.82.4-1_armhf.deb ... 777s Unpacking gir1.2-glib-2.0:armhf (2.82.4-1) over (2.82.2-3) ... 778s Preparing to unpack .../19-libglib2.0-0t64_2.82.4-1_armhf.deb ... 778s Unpacking libglib2.0-0t64:armhf (2.82.4-1) over (2.82.2-3) ... 778s Preparing to unpack .../20-libgirepository-1.0-1_1.82.0-3_armhf.deb ... 778s Unpacking libgirepository-1.0-1:armhf (1.82.0-3) over (1.82.0-2) ... 778s Preparing to unpack .../21-apport-core-dump-handler_2.31.0-0ubuntu2_all.deb ... 778s Unpacking apport-core-dump-handler (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 778s Preparing to unpack .../22-apport_2.31.0-0ubuntu2_all.deb ... 778s Unpacking apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 778s Preparing to unpack .../23-libcap-ng0_0.8.5-4_armhf.deb ... 778s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 778s Setting up libcap-ng0:armhf (0.8.5-4) ... 778s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60703 files and directories currently installed.) 778s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 778s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 778s Setting up libunistring5:armhf (1.3-1) ... 778s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60703 files and directories currently installed.) 778s Preparing to unpack .../00-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 778s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 778s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 778s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 778s Preparing to unpack .../02-libfribidi0_1.0.16-1_armhf.deb ... 778s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 778s Preparing to unpack .../03-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 778s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 778s for fn in glob1(directory, "%s.*" % fname): 778s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 778s Preparing to unpack .../04-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 778s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 778s Preparing to unpack .../05-libxml2_2.12.7+dfsg+really2.9.14-0.2build1_armhf.deb ... 778s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) over (2.12.7+dfsg-3) ... 778s Preparing to unpack .../06-libyaml-0-2_0.2.5-2_armhf.deb ... 778s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 778s Preparing to unpack .../07-locales_2.40-4ubuntu1_all.deb ... 778s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 779s Preparing to unpack .../08-openssl_3.4.0-1ubuntu2_armhf.deb ... 779s Unpacking openssl (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 779s Preparing to unpack .../09-python3-rich_13.9.4-1_all.deb ... 779s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 779s for fn in glob1(directory, "%s.*" % fname): 779s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 779s Preparing to unpack .../10-ucf_3.0046_all.deb ... 779s Unpacking ucf (3.0046) over (3.0043+nmu1) ... 779s Preparing to unpack .../11-whiptail_0.52.24-4ubuntu1_armhf.deb ... 779s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 779s Preparing to unpack .../12-bash-completion_1%3a2.16.0-1_all.deb ... 779s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 779s Preparing to unpack .../13-ethtool_1%3a6.11-1_armhf.deb ... 779s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 779s Preparing to unpack .../14-gettext-base_0.22.5-3_armhf.deb ... 779s Unpacking gettext-base (0.22.5-3) over (0.22.5-2) ... 779s Preparing to unpack .../15-groff-base_1.23.0-7_armhf.deb ... 779s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 779s Preparing to unpack .../16-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 779s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 780s Preparing to unpack .../17-libpng16-16t64_1.6.44-3_armhf.deb ... 780s Unpacking libpng16-16t64:armhf (1.6.44-3) over (1.6.44-2) ... 780s Preparing to unpack .../18-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 780s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 780s Preparing to unpack .../19-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 780s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 780s Preparing to unpack .../20-libxkbcommon0_1.7.0-2_armhf.deb ... 780s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 780s Preparing to unpack .../21-pci.ids_0.0~2024.11.25-1_all.deb ... 780s Unpacking pci.ids (0.0~2024.11.25-1) over (0.0~2024.10.24-1) ... 780s Preparing to unpack .../22-publicsuffix_20241206.1516-0.1_all.deb ... 780s Unpacking publicsuffix (20241206.1516-0.1) over (20231001.0357-0.1) ... 780s Preparing to unpack .../23-python3.13-gdbm_3.13.1-2_armhf.deb ... 780s Unpacking python3.13-gdbm (3.13.1-2) over (3.13.0-2) ... 780s Preparing to unpack .../24-python3.12-gdbm_3.12.8-3_armhf.deb ... 780s Unpacking python3.12-gdbm (3.12.8-3) over (3.12.7-3) ... 780s Preparing to unpack .../25-python3-gdbm_3.13.1-1_armhf.deb ... 780s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 780s Preparing to unpack .../26-usb.ids_2024.12.04-1_all.deb ... 780s Unpacking usb.ids (2024.12.04-1) over (2024.07.04-1) ... 780s Preparing to unpack .../27-xauth_1%3a1.1.2-1.1_armhf.deb ... 780s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 780s Preparing to unpack .../28-libcurl3t64-gnutls_8.11.1-1ubuntu1_armhf.deb ... 780s Unpacking libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 780s Preparing to unpack .../29-libappstream5_1.0.4-1_armhf.deb ... 780s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 780s Preparing to unpack .../30-appstream_1.0.4-1_armhf.deb ... 780s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 780s Preparing to unpack .../31-libctf0_2.43.50.20241221-1ubuntu1_armhf.deb ... 780s Unpacking libctf0:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 780s Preparing to unpack .../32-libctf-nobfd0_2.43.50.20241221-1ubuntu1_armhf.deb ... 780s Unpacking libctf-nobfd0:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 780s Preparing to unpack .../33-binutils-arm-linux-gnueabihf_2.43.50.20241221-1ubuntu1_armhf.deb ... 780s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 780s Preparing to unpack .../34-libbinutils_2.43.50.20241221-1ubuntu1_armhf.deb ... 780s Unpacking libbinutils:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 780s Preparing to unpack .../35-binutils_2.43.50.20241221-1ubuntu1_armhf.deb ... 780s Unpacking binutils (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 780s Preparing to unpack .../36-binutils-common_2.43.50.20241221-1ubuntu1_armhf.deb ... 780s Unpacking binutils-common:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 780s Preparing to unpack .../37-libsframe1_2.43.50.20241221-1ubuntu1_armhf.deb ... 780s Unpacking libsframe1:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 780s Preparing to unpack .../38-curl_8.11.1-1ubuntu1_armhf.deb ... 780s Unpacking curl (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 780s Preparing to unpack .../39-libcurl4t64_8.11.1-1ubuntu1_armhf.deb ... 780s Unpacking libcurl4t64:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 781s Preparing to unpack .../40-dracut-install_105-2ubuntu5_armhf.deb ... 781s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 781s Preparing to unpack .../41-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 781s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 781s Preparing to unpack .../42-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 781s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 781s Preparing to unpack .../43-fwupd_2.0.3-3_armhf.deb ... 781s Unpacking fwupd (2.0.3-3) over (2.0.2-1) ... 781s Preparing to unpack .../44-libfwupd3_2.0.3-3_armhf.deb ... 781s Unpacking libfwupd3:armhf (2.0.3-3) over (2.0.2-1) ... 781s Preparing to unpack .../45-libqmi-proxy_1.35.6-1_armhf.deb ... 781s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 781s Preparing to unpack .../46-libqmi-glib5_1.35.6-1_armhf.deb ... 781s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 781s Preparing to unpack .../47-gnupg-l10n_2.4.4-2ubuntu21_all.deb ... 781s Unpacking gnupg-l10n (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 781s Preparing to unpack .../48-libftdi1-2_1.5-8_armhf.deb ... 781s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 781s Preparing to unpack .../49-libgstreamer1.0-0_1.24.10-2_armhf.deb ... 781s Unpacking libgstreamer1.0-0:armhf (1.24.10-2) over (1.24.9-1) ... 781s Preparing to unpack .../50-libnss3_2%3a3.106-1ubuntu1_armhf.deb ... 781s Unpacking libnss3:armhf (2:3.106-1ubuntu1) over (2:3.103-1) ... 781s Preparing to unpack .../51-libwrap0_7.6.q-34_armhf.deb ... 781s Unpacking libwrap0:armhf (7.6.q-34) over (7.6.q-33) ... 781s Preparing to unpack .../52-make_4.4.1-1_armhf.deb ... 781s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 781s Preparing to unpack .../53-python3-attr_24.2.0-1_all.deb ... 781s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 781s for fn in glob1(directory, "%s.*" % fname): 781s Unpacking python3-attr (24.2.0-1) over (23.2.0-2) ... 782s Preparing to unpack .../54-python3-jinja2_3.1.3-1.1_all.deb ... 782s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 782s for fn in glob1(directory, "%s.*" % fname): 782s Unpacking python3-jinja2 (3.1.3-1.1) over (3.1.3-1ubuntu1) ... 782s Preparing to unpack .../55-python3-json-pointer_2.4-3_all.deb ... 782s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 782s for fn in glob1(directory, "%s.*" % fname): 782s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 782s Preparing to unpack .../56-python3-jsonpatch_1.32-5_all.deb ... 782s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 782s for fn in glob1(directory, "%s.*" % fname): 782s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 782s Preparing to unpack .../57-python3-openssl_24.3.0-1_all.deb ... 782s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 782s for fn in glob1(directory, "%s.*" % fname): 782s Unpacking python3-openssl (24.3.0-1) over (24.2.1-1) ... 782s Preparing to unpack .../58-python3-pkg-resources_75.6.0-1_all.deb ... 782s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 782s for fn in glob1(directory, "%s.*" % fname): 782s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 782s Preparing to unpack .../59-python3-setuptools_75.6.0-1_all.deb ... 782s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 782s for fn in glob1(directory, "%s.*" % fname): 782s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 782s Preparing to unpack .../60-software-properties-common_0.108_all.deb ... 782s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 782s for fn in glob1(directory, "%s.*" % fname): 783s Unpacking software-properties-common (0.108) over (0.105) ... 783s Preparing to unpack .../61-python3-software-properties_0.108_all.deb ... 783s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 783s for fn in glob1(directory, "%s.*" % fname): 783s Unpacking python3-software-properties (0.108) over (0.105) ... 783s Preparing to unpack .../62-python3-wadllib_2.0.0-2_all.deb ... 783s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 783s for fn in glob1(directory, "%s.*" % fname): 783s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 783s Setting up systemd-sysv (257-2ubuntu1) ... 783s Setting up pci.ids (0.0~2024.11.25-1) ... 783s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 783s Setting up apt-utils (2.9.18) ... 783s Setting up bsdextrautils (2.40.2-1ubuntu2) ... 783s Setting up libcurl4t64:armhf (8.11.1-1ubuntu1) ... 783s Setting up libyaml-0-2:armhf (0.2.5-2) ... 783s Setting up python3.12-gdbm (3.12.8-3) ... 783s Setting up libpython3.12-minimal:armhf (3.12.8-3) ... 783s Setting up binutils-common:armhf (2.43.50.20241221-1ubuntu1) ... 783s Setting up libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) ... 783s Setting up libctf-nobfd0:armhf (2.43.50.20241221-1ubuntu1) ... 783s Setting up gettext-base (0.22.5-3) ... 783s Setting up libnss-systemd:armhf (257-2ubuntu1) ... 783s Setting up libnss3:armhf (2:3.106-1ubuntu1) ... 783s Setting up locales (2.40-4ubuntu1) ... 784s Generating locales (this might take a while)... 786s en_US.UTF-8... done 786s Generation complete. 786s Setting up libsframe1:armhf (2.43.50.20241221-1ubuntu1) ... 786s Setting up tzdata (2024b-4ubuntu1) ... 786s 786s Current default time zone: 'Etc/UTC' 786s Local time is now: Fri Jan 3 15:12:00 UTC 2025. 786s Universal Time is now: Fri Jan 3 15:12:00 UTC 2025. 786s Run 'dpkg-reconfigure tzdata' if you wish to change it. 786s 786s Setting up eject (2.40.2-1ubuntu2) ... 786s Setting up libftdi1-2:armhf (1.5-8) ... 786s Setting up libglib2.0-data (2.82.4-1) ... 786s Setting up systemd-cryptsetup (257-2ubuntu1) ... 786s Setting up libwrap0:armhf (7.6.q-34) ... 786s Setting up make (4.4.1-1) ... 786s Setting up gnupg-l10n (2.4.4-2ubuntu21) ... 786s Setting up bash-completion (1:2.16.0-1) ... 786s Setting up libfribidi0:armhf (1.0.16-1) ... 786s Setting up libpng16-16t64:armhf (1.6.44-3) ... 786s Setting up systemd-timesyncd (257-2ubuntu1) ... 786s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 786s Setting up libatomic1:armhf (14.2.0-12ubuntu1) ... 786s Setting up udev (257-2ubuntu1) ... 787s Setting up usb.ids (2024.12.04-1) ... 787s Setting up ucf (3.0046) ... 787s Installing new version of config file /etc/ucf.conf ... 787s Setting up libfdisk1:armhf (2.40.2-1ubuntu2) ... 787s Setting up whiptail (0.52.24-4ubuntu1) ... 787s Setting up python-apt-common (2.9.6build1) ... 787s Setting up dracut-install (105-2ubuntu5) ... 787s Setting up uuid-runtime (2.40.2-1ubuntu2) ... 788s uuidd.service is a disabled or a static unit not running, not starting it. 788s Setting up xauth (1:1.1.2-1.1) ... 788s Setting up groff-base (1.23.0-7) ... 788s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 788s Setting up libpam-systemd:armhf (257-2ubuntu1) ... 788s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 788s Setting up curl (8.11.1-1ubuntu1) ... 788s Setting up libbinutils:armhf (2.43.50.20241221-1ubuntu1) ... 788s Setting up openssl (3.4.0-1ubuntu2) ... 788s Installing new version of config file /etc/ssl/openssl.cnf ... 788s Setting up libgpg-error-l10n (1.51-3) ... 788s Setting up iputils-ping (3:20240905-1ubuntu1) ... 788s Setting up readline-common (8.2-6) ... 788s Setting up publicsuffix (20241206.1516-0.1) ... 788s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) ... 788s Setting up libbpf1:armhf (1:1.5.0-2) ... 788s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 788s Setting up rsync (3.3.0+ds1-2) ... 789s rsync.service is a disabled or a static unit not running, not starting it. 789s Setting up python3.13-gdbm (3.13.1-2) ... 789s Setting up ethtool (1:6.11-1) ... 789s Setting up gnupg-utils (2.4.4-2ubuntu21) ... 789s Setting up systemd-resolved (257-2ubuntu1) ... 789s Setting up libxkbcommon0:armhf (1.7.0-2) ... 789s Setting up libctf0:armhf (2.43.50.20241221-1ubuntu1) ... 789s Setting up python3.12-minimal (3.12.8-3) ... 791s Setting up libglib2.0-0t64:armhf (2.82.4-1) ... 791s No schema files found: doing nothing. 791s Setting up gir1.2-glib-2.0:armhf (2.82.4-1) ... 791s Setting up libreadline8t64:armhf (8.2-6) ... 791s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 791s Setting up gpgconf (2.4.4-2ubuntu21) ... 791s Setting up libgirepository-1.0-1:armhf (1.82.0-3) ... 791s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241221-1ubuntu1) ... 791s Setting up libpython3.13-stdlib:armhf (3.13.1-2) ... 791s Setting up gpg (2.4.4-2ubuntu21) ... 791s Setting up libgstreamer1.0-0:armhf (1.24.10-2) ... 791s Setcap worked! gst-ptp-helper is not suid! 791s Setting up libpython3-stdlib:armhf (3.13.1-1~exp2) ... 791s Setting up gpg-agent (2.4.4-2ubuntu21) ... 791s Setting up libpython3.12-stdlib:armhf (3.12.8-3) ... 791s Setting up python3.13 (3.13.1-2) ... 792s Setting up python3.12 (3.12.8-3) ... 793s Setting up gpgsm (2.4.4-2ubuntu21) ... 793s Setting up libglib2.0-bin (2.82.4-1) ... 793s Setting up libappstream5:armhf (1.0.4-1) ... 793s Setting up libqmi-glib5:armhf (1.35.6-1) ... 793s Setting up python3 (3.13.1-1~exp2) ... 793s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 793s for fn in glob1(directory, "%s.*" % fname): 794s Setting up binutils (2.43.50.20241221-1ubuntu1) ... 794s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 794s Setting up fdisk (2.40.2-1ubuntu2) ... 794s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 794s Setting up dirmngr (2.4.4-2ubuntu21) ... 794s Setting up python3-jinja2 (3.1.3-1.1) ... 794s Setting up appstream (1.0.4-1) ... 795s ✔ Metadata cache was updated successfully. 795s Setting up gir1.2-girepository-2.0:armhf (1.82.0-3) ... 795s Setting up python3-wadllib (2.0.0-2) ... 795s Setting up keyboxd (2.4.4-2ubuntu21) ... 795s Setting up python3-json-pointer (2.4-3) ... 795s Setting up gnupg (2.4.4-2ubuntu21) ... 795s Setting up python3-pkg-resources (75.6.0-1) ... 795s Setting up python3-attr (24.2.0-1) ... 796s Setting up python3-setuptools (75.6.0-1) ... 797s Setting up gpg-wks-client (2.4.4-2ubuntu21) ... 797s Setting up python3-rich (13.9.4-1) ... 798s Setting up python3-gdbm:armhf (3.13.1-1) ... 798s Setting up python3-problem-report (2.31.0-0ubuntu2) ... 798s Setting up python3-apt (2.9.6build1) ... 798s Setting up python3-jsonpatch (1.32-5) ... 799s Setting up python3-bcrypt (4.2.0-2.1) ... 799s Setting up libqmi-proxy (1.35.6-1) ... 799s Setting up libfwupd3:armhf (2.0.3-3) ... 799s Setting up python3-apport (2.31.0-0ubuntu2) ... 799s Setting up python3-software-properties (0.108) ... 800s Setting up python3-cryptography (43.0.0-1) ... 800s Setting up fwupd (2.0.3-3) ... 800s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 801s fwupd.service is a disabled or a static unit not running, not starting it. 801s Setting up python3-openssl (24.3.0-1) ... 801s Setting up software-properties-common (0.108) ... 801s Setting up apport-core-dump-handler (2.31.0-0ubuntu2) ... 802s Setting up apport (2.31.0-0ubuntu2) ... 802s apport-autoreport.service is a disabled or a static unit not running, not starting it. 802s Processing triggers for dbus (1.14.10-4ubuntu5) ... 802s Processing triggers for shared-mime-info (2.4-5) ... 802s Warning: program compiled against libxml 212 using older 209 803s Processing triggers for debianutils (5.21) ... 803s Processing triggers for install-info (7.1.1-1) ... 803s Processing triggers for initramfs-tools (0.142ubuntu35) ... 803s Processing triggers for libc-bin (2.40-4ubuntu1) ... 803s Processing triggers for systemd (257-2ubuntu1) ... 803s Processing triggers for man-db (2.13.0-1) ... 808s Reading package lists... 808s Building dependency tree... 808s Reading state information... 809s Starting pkgProblemResolver with broken count: 0 809s Starting 2 pkgProblemResolver with broken count: 0 809s Done 810s The following packages will be REMOVED: 810s libassuan0* libnsl2* libpython3.12-minimal* libpython3.12-stdlib* 810s python3.12* python3.12-minimal* 810s 0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded. 810s After this operation, 20.0 MB disk space will be freed. 810s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60740 files and directories currently installed.) 810s Removing libassuan0:armhf (2.5.6-1build1) ... 810s Removing python3.12 (3.12.8-3) ... 810s Removing libpython3.12-stdlib:armhf (3.12.8-3) ... 810s Removing libnsl2:armhf (1.3.0-3build3) ... 810s Removing python3.12-minimal (3.12.8-3) ... 810s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 810s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 811s Removing libpython3.12-minimal:armhf (3.12.8-3) ... 811s Processing triggers for systemd (257-2ubuntu1) ... 811s Processing triggers for man-db (2.13.0-1) ... 812s Processing triggers for libc-bin (2.40-4ubuntu1) ... 812s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60020 files and directories currently installed.) 812s Purging configuration files for python3.12-minimal (3.12.8-3) ... 812s Purging configuration files for libpython3.12-minimal:armhf (3.12.8-3) ... 814s autopkgtest [15:12:28]: rebooting testbed after setup commands that affected boot 889s Reading package lists... 890s Building dependency tree... 890s Reading state information... 890s Starting pkgProblemResolver with broken count: 0 890s Starting 2 pkgProblemResolver with broken count: 0 890s Done 891s The following NEW packages will be installed: 891s libgio-2.0-dev-bin python3-packaging 891s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 891s Need to get 181 kB of archives. 891s After this operation, 929 kB of additional disk space will be used. 891s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 891s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev-bin armhf 2.82.4-1 [129 kB] 892s Fetched 181 kB in 0s (434 kB/s) 892s Selecting previously unselected package python3-packaging. 892s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60018 files and directories currently installed.) 892s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 892s Unpacking python3-packaging (24.2-1) ... 892s Selecting previously unselected package libgio-2.0-dev-bin. 892s Preparing to unpack .../libgio-2.0-dev-bin_2.82.4-1_armhf.deb ... 892s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 892s Setting up python3-packaging (24.2-1) ... 892s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 892s Processing triggers for man-db (2.13.0-1) ... 911s autopkgtest [15:14:05]: test libgio-2.0-dev-bin: [----------------------- 913s + gdbus-codegen --help 913s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 913s [--c-namespace NAMESPACE] [--c-generate-object-manager] 913s [--c-generate-autocleanup {none,objects,all}] 913s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 913s [--generate-rst OUTFILES] [--pragma-once] 913s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 913s [--glib-min-required VERSION] 913s [--glib-max-allowed VERSION] 913s [--symbol-decorator SYMBOL_DECORATOR] 913s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 913s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 913s [--generate-c-code OUTFILES | --header | --body | 913s --interface-info-header | --interface-info-body] 913s [--output FILE | --output-directory OUTDIR] 913s FILE [FILE ...] 913s 913s D-Bus code and documentation generator 913s 913s positional arguments: 913s FILE D-Bus introspection XML file 913s 913s options: 913s -h, --help show this help message and exit 913s --interface-prefix PREFIX 913s String to strip from D-Bus interface names for code 913s and docs 913s --c-namespace NAMESPACE 913s The namespace to use for generated C code 913s --c-generate-object-manager 913s Generate a GDBusObjectManagerClient subclass when 913s generating C code 913s --c-generate-autocleanup {none,objects,all} 913s Generate autocleanup support 913s --generate-docbook OUTFILES 913s Generate Docbook in OUTFILES-org.Project.IFace.xml 913s --generate-md OUTFILES 913s Generate Markdown in OUTFILES-org.Project.IFace.md 913s --generate-rst OUTFILES 913s Generate reStructuredText in OUTFILES- 913s org.Project.IFace.rst 913s --pragma-once Use "pragma once" as the inclusion guard 913s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 913s Add annotation (may be used several times) 913s --glib-min-required VERSION 913s Minimum version of GLib to be supported by the 913s outputted code (default: 2.30) 913s --glib-max-allowed VERSION 913s Maximum version of GLib to be used by the outputted 913s code (default: current GLib version) 913s --symbol-decorator SYMBOL_DECORATOR 913s Macro used to decorate a symbol in the outputted 913s header, possibly to export symbols 913s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 913s Additional header required for decorator specified by 913s --symbol-decorator 913s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 913s Additional define required for decorator specified by 913s --symbol-decorator 913s --generate-c-code OUTFILES 913s Generate C code in OUTFILES.[ch] 913s --header Generate C headers 913s --body Generate C code 913s --interface-info-header 913s Generate GDBusInterfaceInfo C header 913s --interface-info-body 913s Generate GDBusInterfaceInfo C code 913s --output FILE Write output into the specified file 913s --output-directory OUTDIR 913s Location to output generated files 913s + glib-compile-resources --version 913s 2.82.4 913s + glib-genmarshal --version 913s glib-genmarshal version 2.82.4 913s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 913s You may redistribute copies of glib-genmarshal under the terms of 913s the GNU General Public License which can be found in the 913s GLib source package. Sources, examples and contact 913s information are available at http://www.gtk.org 913s + glib-gettextize --version 913s + glib-mkenums --version 913s /usr/bin/glib-gettextize (GNU glib) 2.82.4 913s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 913s This is free software; see the source for copying conditions. There is NO 913s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 913s Written by Ulrich Drepper 913s glib-mkenums version 2.82.4 913s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 913s You may redistribute copies of glib-mkenums under the terms of 913s the GNU General Public License which can be found in the 913s GLib source package. Sources, examples and contact 913s information are available at http://www.gtk.org 913s + gobject-query tree 913s + gtester --version 913s GObject 913s + gtester-report --version 913s gtester version 2.82.4 913s gtester-report (GLib utils) version 2.82.4. 913s autopkgtest [15:14:07]: test libgio-2.0-dev-bin: -----------------------] 919s autopkgtest [15:14:13]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 919s libgio-2.0-dev-bin PASS (superficial) 923s autopkgtest [15:14:17]: test libglib2.0-dev: preparing testbed 982s autopkgtest [15:15:16]: testbed dpkg architecture: armhf 984s autopkgtest [15:15:18]: testbed apt version: 2.9.14ubuntu1 989s autopkgtest [15:15:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup 992s autopkgtest [15:15:26]: testbed release detected to be: plucky 1001s autopkgtest [15:15:35]: updating testbed package index (apt update) 1003s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1003s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 1003s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1004s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1004s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.1 kB] 1004s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1004s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [669 kB] 1004s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [60.7 kB] 1004s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [60.7 kB] 1004s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 1004s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [521 kB] 1004s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [2064 B] 1004s Get:13 http://ftpmaster.internal/ubuntu plucky/main Sources [1383 kB] 1004s Get:14 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.9 MB] 1004s Get:15 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [297 kB] 1004s Get:16 http://ftpmaster.internal/ubuntu plucky/restricted Sources [15.2 kB] 1004s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1355 kB] 1004s Get:18 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2544 B] 1004s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.9 MB] 1005s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 1008s Fetched 40.7 MB in 5s (8038 kB/s) 1009s Reading package lists... 1016s autopkgtest [15:15:50]: upgrading testbed (apt dist-upgrade and autopurge) 1019s Reading package lists... 1019s Building dependency tree... 1019s Reading state information... 1020s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1020s Starting 2 pkgProblemResolver with broken count: 0 1020s Done 1021s Entering ResolveByKeep 1021s 1021s The following packages were automatically installed and are no longer required: 1021s libassuan0 libnsl2 libpython3.12-minimal libpython3.12-stdlib python3.12 1021s python3.12-minimal 1021s Use 'apt autoremove' to remove them. 1022s The following NEW packages will be installed: 1022s libpython3.13-minimal libpython3.13-stdlib openssl-provider-legacy 1022s python3-bcrypt python3.13 python3.13-minimal 1022s The following packages will be upgraded: 1022s apport apport-core-dump-handler appstream apt apt-utils base-passwd bash 1022s bash-completion binutils binutils-arm-linux-gnueabihf binutils-common 1022s bsdextrautils bsdutils curl dirmngr dracut-install eject ethtool fdisk fwupd 1022s gcc-14-base gettext-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg 1022s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 1022s groff-base iputils-ping iputils-tracepath keyboxd libappstream5 1022s libapt-pkg6.0t64 libatomic1 libbinutils libblkid1 libbpf1 libc-bin libc6 1022s libcap-ng0 libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 1022s libdebconfclient0 libfdisk1 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 1022s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 1022s libgpg-error-l10n libgpg-error0 libgstreamer1.0-0 libjson-glib-1.0-0 1022s libjson-glib-1.0-common libmount1 libnewt0.52 libnpth0t64 libnss-systemd 1022s libnss3 libpam-systemd libpng16-16t64 libpython3-stdlib 1022s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 1022s libreadline8t64 libsframe1 libsmartcols1 libssl3t64 libstdc++6 1022s libsystemd-shared libsystemd0 libtraceevent1 libtraceevent1-plugin libudev1 1022s libunistring5 libuuid1 libwrap0 libxkbcommon0 libxml2 libyaml-0-2 locales 1022s make mount openssl pci.ids publicsuffix python-apt-common python3 1022s python3-apport python3-apt python3-attr python3-cryptography python3-gdbm 1022s python3-jinja2 python3-json-pointer python3-jsonpatch python3-minimal 1022s python3-newt python3-openssl python3-pkg-resources python3-problem-report 1022s python3-rich python3-setuptools python3-software-properties python3-wadllib 1022s python3.12 python3.12-gdbm python3.12-minimal python3.13-gdbm 1022s readline-common rsync software-properties-common systemd systemd-cryptsetup 1022s systemd-resolved systemd-sysv systemd-timesyncd tar tzdata ucf udev usb.ids 1022s util-linux uuid-runtime whiptail xauth 1022s 139 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 1022s Need to get 64.0 MB of archives. 1022s After this operation, 28.5 MB of additional disk space will be used. 1022s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 1022s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-1ubuntu2 [108 kB] 1022s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 1022s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-12ubuntu1 [7892 B] 1022s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-12ubuntu1 [52.6 kB] 1022s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-12ubuntu1 [40.6 kB] 1022s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-12ubuntu1 [711 kB] 1022s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 1022s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.0-1ubuntu2 [29.4 kB] 1022s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.0-1ubuntu2 [1756 kB] 1022s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257-2ubuntu1 [41.2 kB] 1022s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257-2ubuntu1 [307 kB] 1022s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257-2ubuntu1 [122 kB] 1022s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-1ubuntu2 [62.3 kB] 1022s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-1ubuntu2 [99.4 kB] 1022s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-1ubuntu2 [155 kB] 1022s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-1ubuntu2 [167 kB] 1022s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-1ubuntu2 [189 kB] 1022s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-1ubuntu2 [135 kB] 1022s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-1ubuntu2 [39.5 kB] 1022s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-1ubuntu2 [1195 kB] 1022s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-1ubuntu2 [62.7 kB] 1022s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-1ubuntu2 [211 kB] 1022s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-1ubuntu2 [156 kB] 1022s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 1022s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 1022s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257-2ubuntu1 [160 kB] 1023s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257-2ubuntu1 [3489 kB] 1023s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257-2ubuntu1 [1974 kB] 1023s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257-2ubuntu1 [11.8 kB] 1023s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257-2ubuntu1 [233 kB] 1023s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257-2ubuntu1 [2156 kB] 1023s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257-2ubuntu1 [190 kB] 1023s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257-2ubuntu1 [483 kB] 1023s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 1023s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 1023s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 1023s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.18 [1085 kB] 1023s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.18 [1349 kB] 1023s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.18 [216 kB] 1023s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 1023s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 1023s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 1023s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu21 [88.9 kB] 1023s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu21 [351 kB] 1023s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu21 [246 kB] 1023s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu21 [160 kB] 1023s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu21 [238 kB] 1023s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu21 [536 kB] 1023s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu21 [118 kB] 1023s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu21 [359 kB] 1023s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu21 [113 kB] 1023s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu21 [228 kB] 1023s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.1-2 [868 kB] 1023s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.1-2 [2036 kB] 1023s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 1023s Get:57 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.13.1-1~exp2 [27.6 kB] 1023s Get:58 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.13.1-1~exp2 [23.9 kB] 1023s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 1023s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2024b-4ubuntu1 [196 kB] 1023s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.1-2 [1970 kB] 1023s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.1-2 [729 kB] 1023s Get:63 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.13.1-1~exp2 [10.2 kB] 1023s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.8-3 [667 kB] 1023s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.8-3 [1939 kB] 1023s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.8-3 [2029 kB] 1023s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.8-3 [825 kB] 1023s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.3.0+ds1-2 [422 kB] 1023s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.6build1 [21.0 kB] 1023s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.6build1 [174 kB] 1023s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0-0ubuntu2 [25.3 kB] 1023s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0-0ubuntu2 [93.1 kB] 1023s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.82.4-1 [52.2 kB] 1023s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.4-1 [93.0 kB] 1023s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-3 [25.3 kB] 1024s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.82.4-1 [182 kB] 1024s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.82.4-1 [1421 kB] 1024s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-3 [108 kB] 1024s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0-0ubuntu2 [18.2 kB] 1024s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0-0ubuntu2 [82.9 kB] 1024s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 1024s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 1024s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 1024s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 1024s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 1024s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 1024s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 1024s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2build1 [599 kB] 1024s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 1024s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 1024s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.0-1ubuntu2 [1159 kB] 1024s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 1024s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0046 [41.9 kB] 1024s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 1024s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-1 [214 kB] 1024s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 1024s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.22.5-3 [40.7 kB] 1024s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 1024s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 1024s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.44-3 [169 kB] 1024s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 1024s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 1024s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 1024s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2024.11.25-1 [282 kB] 1024s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241206.1516-0.1 [135 kB] 1025s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.1-2 [29.8 kB] 1025s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.8-3 [28.9 kB] 1025s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 1025s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2024.12.04-1 [223 kB] 1025s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 1025s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.11.1-1ubuntu1 [333 kB] 1025s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 1025s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 1025s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241221-1ubuntu1 [74.8 kB] 1025s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241221-1ubuntu1 [77.7 kB] 1025s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241221-1ubuntu1 [2986 kB] 1025s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241221-1ubuntu1 [408 kB] 1025s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241221-1ubuntu1 [3090 B] 1025s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241221-1ubuntu1 [222 kB] 1025s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241221-1ubuntu1 [12.1 kB] 1025s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.11.1-1ubuntu1 [244 kB] 1025s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.11.1-1ubuntu1 [337 kB] 1025s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu5 [37.3 kB] 1025s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 1025s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 1025s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.3-3 [5028 kB] 1025s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.3-3 [121 kB] 1025s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 1025s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 1025s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu21 [66.3 kB] 1025s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 1025s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.24.10-2 [1109 kB] 1025s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.106-1ubuntu1 [1321 kB] 1025s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-34 [45.7 kB] 1025s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 1025s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 24.2.0-1 [50.2 kB] 1025s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.3-1.1 [108 kB] 1025s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 1025s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 1025s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 24.3.0-1 [45.8 kB] 1025s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 1025s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 1025s Get:143 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.108 [16.5 kB] 1025s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.108 [30.9 kB] 1025s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 1026s Preconfiguring packages ... 1026s Fetched 64.0 MB in 4s (17.2 MB/s) 1026s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1026s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 1026s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 1026s Setting up bash (5.2.37-1ubuntu1) ... 1026s 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 1026s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1026s Preparing to unpack .../bsdutils_1%3a2.40.2-1ubuntu2_armhf.deb ... 1026s Unpacking bsdutils (1:2.40.2-1ubuntu2) over (1:2.40.2-1ubuntu1) ... 1027s Setting up bsdutils (1:2.40.2-1ubuntu2) ... 1027s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1027s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 1027s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 1027s Setting up tar (1.35+dfsg-3.1) ... 1027s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1027s Preparing to unpack .../libatomic1_14.2.0-12ubuntu1_armhf.deb ... 1027s Unpacking libatomic1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 1027s Preparing to unpack .../gcc-14-base_14.2.0-12ubuntu1_armhf.deb ... 1027s Unpacking gcc-14-base:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 1027s Setting up gcc-14-base:armhf (14.2.0-12ubuntu1) ... 1027s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1027s Preparing to unpack .../libgcc-s1_14.2.0-12ubuntu1_armhf.deb ... 1027s Unpacking libgcc-s1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 1027s Setting up libgcc-s1:armhf (14.2.0-12ubuntu1) ... 1027s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1027s Preparing to unpack .../libstdc++6_14.2.0-12ubuntu1_armhf.deb ... 1027s Unpacking libstdc++6:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 1027s Setting up libstdc++6:armhf (14.2.0-12ubuntu1) ... 1027s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1027s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 1027s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1027s Setting up libc6:armhf (2.40-4ubuntu1) ... 1028s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1028s Preparing to unpack .../libssl3t64_3.4.0-1ubuntu2_armhf.deb ... 1028s Unpacking libssl3t64:armhf (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 1028s Selecting previously unselected package openssl-provider-legacy. 1028s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu2_armhf.deb ... 1028s Unpacking openssl-provider-legacy (3.4.0-1ubuntu2) ... 1028s Setting up libssl3t64:armhf (3.4.0-1ubuntu2) ... 1028s Setting up openssl-provider-legacy (3.4.0-1ubuntu2) ... 1028s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1028s Preparing to unpack .../0-systemd-timesyncd_257-2ubuntu1_armhf.deb ... 1028s Unpacking systemd-timesyncd (257-2ubuntu1) over (256.5-2ubuntu4) ... 1028s Preparing to unpack .../1-systemd-resolved_257-2ubuntu1_armhf.deb ... 1028s Unpacking systemd-resolved (257-2ubuntu1) over (256.5-2ubuntu4) ... 1028s Preparing to unpack .../2-systemd-cryptsetup_257-2ubuntu1_armhf.deb ... 1028s Unpacking systemd-cryptsetup (257-2ubuntu1) over (256.5-2ubuntu4) ... 1028s Preparing to unpack .../3-eject_2.40.2-1ubuntu2_armhf.deb ... 1028s Unpacking eject (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1028s Preparing to unpack .../4-bsdextrautils_2.40.2-1ubuntu2_armhf.deb ... 1028s Unpacking bsdextrautils (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1028s Preparing to unpack .../5-fdisk_2.40.2-1ubuntu2_armhf.deb ... 1028s Unpacking fdisk (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1028s Preparing to unpack .../6-libblkid1_2.40.2-1ubuntu2_armhf.deb ... 1028s Unpacking libblkid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1028s Setting up libblkid1:armhf (2.40.2-1ubuntu2) ... 1028s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1028s Preparing to unpack .../libmount1_2.40.2-1ubuntu2_armhf.deb ... 1028s Unpacking libmount1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1028s Setting up libmount1:armhf (2.40.2-1ubuntu2) ... 1028s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1028s Preparing to unpack .../libsmartcols1_2.40.2-1ubuntu2_armhf.deb ... 1028s Unpacking libsmartcols1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1028s Setting up libsmartcols1:armhf (2.40.2-1ubuntu2) ... 1029s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1029s Preparing to unpack .../libuuid1_2.40.2-1ubuntu2_armhf.deb ... 1029s Unpacking libuuid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1029s Setting up libuuid1:armhf (2.40.2-1ubuntu2) ... 1029s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1029s Preparing to unpack .../util-linux_2.40.2-1ubuntu2_armhf.deb ... 1029s Unpacking util-linux (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1029s Setting up util-linux (2.40.2-1ubuntu2) ... 1030s fstrim.service is a disabled or a static unit not running, not starting it. 1030s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1030s Preparing to unpack .../0-uuid-runtime_2.40.2-1ubuntu2_armhf.deb ... 1030s Unpacking uuid-runtime (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1030s Preparing to unpack .../1-libfdisk1_2.40.2-1ubuntu2_armhf.deb ... 1030s Unpacking libfdisk1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1030s Preparing to unpack .../2-mount_2.40.2-1ubuntu2_armhf.deb ... 1030s Unpacking mount (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1030s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 1030s Unpacking readline-common (8.2-6) over (8.2-5) ... 1030s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 1030s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 1030s 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' 1030s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 1030s 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' 1030s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 1030s Preparing to unpack .../5-libnss-systemd_257-2ubuntu1_armhf.deb ... 1030s Unpacking libnss-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1030s Preparing to unpack .../6-systemd_257-2ubuntu1_armhf.deb ... 1030s Unpacking systemd (257-2ubuntu1) over (256.5-2ubuntu4) ... 1030s Preparing to unpack .../7-udev_257-2ubuntu1_armhf.deb ... 1030s Unpacking udev (257-2ubuntu1) over (256.5-2ubuntu4) ... 1030s Preparing to unpack .../8-libsystemd-shared_257-2ubuntu1_armhf.deb ... 1030s Unpacking libsystemd-shared:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1030s Setting up libsystemd-shared:armhf (257-2ubuntu1) ... 1031s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1031s Preparing to unpack .../libsystemd0_257-2ubuntu1_armhf.deb ... 1031s Unpacking libsystemd0:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1031s Setting up libsystemd0:armhf (257-2ubuntu1) ... 1031s Setting up mount (2.40.2-1ubuntu2) ... 1031s Setting up systemd (257-2ubuntu1) ... 1031s Installing new version of config file /etc/systemd/logind.conf ... 1031s Installing new version of config file /etc/systemd/sleep.conf ... 1031s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 1031s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 1031s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 1032s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1032s Preparing to unpack .../systemd-sysv_257-2ubuntu1_armhf.deb ... 1032s Unpacking systemd-sysv (257-2ubuntu1) over (256.5-2ubuntu4) ... 1032s Preparing to unpack .../libpam-systemd_257-2ubuntu1_armhf.deb ... 1032s Unpacking libpam-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1032s Preparing to unpack .../libudev1_257-2ubuntu1_armhf.deb ... 1032s Unpacking libudev1:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1032s Setting up libudev1:armhf (257-2ubuntu1) ... 1032s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1032s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 1032s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 1032s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 1032s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1032s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 1032s Unpacking base-passwd (3.6.6) over (3.6.5) ... 1032s Setting up base-passwd (3.6.6) ... 1032s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1032s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 1032s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1032s Setting up libc-bin (2.40-4ubuntu1) ... 1032s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1032s Preparing to unpack .../libapt-pkg6.0t64_2.9.18_armhf.deb ... 1032s Unpacking libapt-pkg6.0t64:armhf (2.9.18) over (2.9.14ubuntu1) ... 1033s Setting up libapt-pkg6.0t64:armhf (2.9.18) ... 1033s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1033s Preparing to unpack .../archives/apt_2.9.18_armhf.deb ... 1033s Unpacking apt (2.9.18) over (2.9.14ubuntu1) ... 1033s Setting up apt (2.9.18) ... 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 ... 59966 files and directories currently installed.) 1034s Preparing to unpack .../apt-utils_2.9.18_armhf.deb ... 1034s Unpacking apt-utils (2.9.18) over (2.9.14ubuntu1) ... 1034s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 1034s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 1034s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 1034s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 1034s Setting up libgpg-error0:armhf (1.51-3) ... 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 ... 59966 files and directories currently installed.) 1034s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 1034s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 1034s Setting up libnpth0t64:armhf (1.8-2) ... 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 ... 59966 files and directories currently installed.) 1034s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu21_armhf.deb ... 1034s Unpacking gpg-wks-client (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1034s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu21_armhf.deb ... 1034s Unpacking dirmngr (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1034s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu21_armhf.deb ... 1034s Unpacking gpgsm (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1034s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu21_armhf.deb ... 1034s Unpacking gnupg-utils (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1034s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu21_armhf.deb ... 1034s Unpacking gpg-agent (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1034s Preparing to unpack .../5-gpg_2.4.4-2ubuntu21_armhf.deb ... 1034s Unpacking gpg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1034s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu21_armhf.deb ... 1034s Unpacking gpgconf (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1034s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu21_all.deb ... 1034s Unpacking gnupg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1034s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu21_armhf.deb ... 1034s Unpacking keyboxd (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1034s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu21_armhf.deb ... 1034s Unpacking gpgv (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1035s Setting up gpgv (2.4.4-2ubuntu21) ... 1035s Selecting previously unselected package libpython3.13-minimal:armhf. 1035s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1035s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_armhf.deb ... 1035s Unpacking libpython3.13-minimal:armhf (3.13.1-2) ... 1035s Selecting previously unselected package python3.13-minimal. 1035s Preparing to unpack .../python3.13-minimal_3.13.1-2_armhf.deb ... 1035s Unpacking python3.13-minimal (3.13.1-2) ... 1035s Preparing to unpack .../python3-cryptography_43.0.0-1_armhf.deb ... 1035s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 1035s Setting up libpython3.13-minimal:armhf (3.13.1-2) ... 1035s Setting up python3.13-minimal (3.13.1-2) ... 1036s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60284 files and directories currently installed.) 1036s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_armhf.deb ... 1036s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 1036s Setting up python3-minimal (3.13.1-1~exp2) ... 1036s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60284 files and directories currently installed.) 1036s Preparing to unpack .../00-python3_3.13.1-1~exp2_armhf.deb ... 1036s Unpacking python3 (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 1036s Selecting previously unselected package python3-bcrypt. 1036s Preparing to unpack .../01-python3-bcrypt_4.2.0-2.1_armhf.deb ... 1036s Unpacking python3-bcrypt (4.2.0-2.1) ... 1036s Preparing to unpack .../02-tzdata_2024b-4ubuntu1_all.deb ... 1036s Unpacking tzdata (2024b-4ubuntu1) over (2024b-1ubuntu2) ... 1037s Selecting previously unselected package libpython3.13-stdlib:armhf. 1037s Preparing to unpack .../03-libpython3.13-stdlib_3.13.1-2_armhf.deb ... 1037s Unpacking libpython3.13-stdlib:armhf (3.13.1-2) ... 1037s Selecting previously unselected package python3.13. 1037s Preparing to unpack .../04-python3.13_3.13.1-2_armhf.deb ... 1037s Unpacking python3.13 (3.13.1-2) ... 1037s Preparing to unpack .../05-libpython3-stdlib_3.13.1-1~exp2_armhf.deb ... 1037s Unpacking libpython3-stdlib:armhf (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 1037s Preparing to unpack .../06-python3.12_3.12.8-3_armhf.deb ... 1037s Unpacking python3.12 (3.12.8-3) over (3.12.7-3) ... 1037s Preparing to unpack .../07-libpython3.12-stdlib_3.12.8-3_armhf.deb ... 1037s Unpacking libpython3.12-stdlib:armhf (3.12.8-3) over (3.12.7-3) ... 1037s Preparing to unpack .../08-python3.12-minimal_3.12.8-3_armhf.deb ... 1037s Unpacking python3.12-minimal (3.12.8-3) over (3.12.7-3) ... 1038s Preparing to unpack .../09-libpython3.12-minimal_3.12.8-3_armhf.deb ... 1038s Unpacking libpython3.12-minimal:armhf (3.12.8-3) over (3.12.7-3) ... 1038s Preparing to unpack .../10-rsync_3.3.0+ds1-2_armhf.deb ... 1038s Unpacking rsync (3.3.0+ds1-2) over (3.3.0-1) ... 1038s Preparing to unpack .../11-python-apt-common_2.9.6build1_all.deb ... 1038s Unpacking python-apt-common (2.9.6build1) over (2.9.0ubuntu2) ... 1038s Preparing to unpack .../12-python3-apt_2.9.6build1_armhf.deb ... 1038s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1038s for fn in glob1(directory, "%s.*" % fname): 1038s Unpacking python3-apt (2.9.6build1) over (2.9.0ubuntu2) ... 1038s Preparing to unpack .../13-python3-problem-report_2.31.0-0ubuntu2_all.deb ... 1038s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1038s for fn in glob1(directory, "%s.*" % fname): 1038s Unpacking python3-problem-report (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 1038s Preparing to unpack .../14-python3-apport_2.31.0-0ubuntu2_all.deb ... 1038s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1038s for fn in glob1(directory, "%s.*" % fname): 1038s Unpacking python3-apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 1038s Preparing to unpack .../15-libglib2.0-data_2.82.4-1_all.deb ... 1038s Unpacking libglib2.0-data (2.82.4-1) over (2.82.2-3) ... 1038s Preparing to unpack .../16-libglib2.0-bin_2.82.4-1_armhf.deb ... 1038s Unpacking libglib2.0-bin (2.82.4-1) over (2.82.2-3) ... 1038s Preparing to unpack .../17-gir1.2-girepository-2.0_1.82.0-3_armhf.deb ... 1038s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-3) over (1.82.0-2) ... 1038s Preparing to unpack .../18-gir1.2-glib-2.0_2.82.4-1_armhf.deb ... 1038s Unpacking gir1.2-glib-2.0:armhf (2.82.4-1) over (2.82.2-3) ... 1039s Preparing to unpack .../19-libglib2.0-0t64_2.82.4-1_armhf.deb ... 1039s Unpacking libglib2.0-0t64:armhf (2.82.4-1) over (2.82.2-3) ... 1039s Preparing to unpack .../20-libgirepository-1.0-1_1.82.0-3_armhf.deb ... 1039s Unpacking libgirepository-1.0-1:armhf (1.82.0-3) over (1.82.0-2) ... 1039s Preparing to unpack .../21-apport-core-dump-handler_2.31.0-0ubuntu2_all.deb ... 1039s Unpacking apport-core-dump-handler (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 1039s Preparing to unpack .../22-apport_2.31.0-0ubuntu2_all.deb ... 1039s Unpacking apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 1039s Preparing to unpack .../23-libcap-ng0_0.8.5-4_armhf.deb ... 1039s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 1039s Setting up libcap-ng0:armhf (0.8.5-4) ... 1039s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60703 files and directories currently installed.) 1039s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 1039s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 1039s Setting up libunistring5:armhf (1.3-1) ... 1039s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60703 files and directories currently installed.) 1039s Preparing to unpack .../00-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 1039s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 1039s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 1039s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 1039s Preparing to unpack .../02-libfribidi0_1.0.16-1_armhf.deb ... 1039s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 1039s Preparing to unpack .../03-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 1039s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1039s for fn in glob1(directory, "%s.*" % fname): 1039s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1039s Preparing to unpack .../04-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 1039s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1039s Preparing to unpack .../05-libxml2_2.12.7+dfsg+really2.9.14-0.2build1_armhf.deb ... 1039s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) over (2.12.7+dfsg-3) ... 1039s Preparing to unpack .../06-libyaml-0-2_0.2.5-2_armhf.deb ... 1039s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 1039s Preparing to unpack .../07-locales_2.40-4ubuntu1_all.deb ... 1039s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1040s Preparing to unpack .../08-openssl_3.4.0-1ubuntu2_armhf.deb ... 1040s Unpacking openssl (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 1040s Preparing to unpack .../09-python3-rich_13.9.4-1_all.deb ... 1040s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1040s for fn in glob1(directory, "%s.*" % fname): 1040s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 1040s Preparing to unpack .../10-ucf_3.0046_all.deb ... 1040s Unpacking ucf (3.0046) over (3.0043+nmu1) ... 1040s Preparing to unpack .../11-whiptail_0.52.24-4ubuntu1_armhf.deb ... 1040s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1040s Preparing to unpack .../12-bash-completion_1%3a2.16.0-1_all.deb ... 1040s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 1040s Preparing to unpack .../13-ethtool_1%3a6.11-1_armhf.deb ... 1040s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 1040s Preparing to unpack .../14-gettext-base_0.22.5-3_armhf.deb ... 1040s Unpacking gettext-base (0.22.5-3) over (0.22.5-2) ... 1040s Preparing to unpack .../15-groff-base_1.23.0-7_armhf.deb ... 1040s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 1041s Preparing to unpack .../16-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 1041s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 1041s Preparing to unpack .../17-libpng16-16t64_1.6.44-3_armhf.deb ... 1041s Unpacking libpng16-16t64:armhf (1.6.44-3) over (1.6.44-2) ... 1041s Preparing to unpack .../18-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 1041s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 1041s Preparing to unpack .../19-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 1041s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 1041s Preparing to unpack .../20-libxkbcommon0_1.7.0-2_armhf.deb ... 1041s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 1041s Preparing to unpack .../21-pci.ids_0.0~2024.11.25-1_all.deb ... 1041s Unpacking pci.ids (0.0~2024.11.25-1) over (0.0~2024.10.24-1) ... 1041s Preparing to unpack .../22-publicsuffix_20241206.1516-0.1_all.deb ... 1041s Unpacking publicsuffix (20241206.1516-0.1) over (20231001.0357-0.1) ... 1041s Preparing to unpack .../23-python3.13-gdbm_3.13.1-2_armhf.deb ... 1041s Unpacking python3.13-gdbm (3.13.1-2) over (3.13.0-2) ... 1041s Preparing to unpack .../24-python3.12-gdbm_3.12.8-3_armhf.deb ... 1041s Unpacking python3.12-gdbm (3.12.8-3) over (3.12.7-3) ... 1041s Preparing to unpack .../25-python3-gdbm_3.13.1-1_armhf.deb ... 1041s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 1041s Preparing to unpack .../26-usb.ids_2024.12.04-1_all.deb ... 1041s Unpacking usb.ids (2024.12.04-1) over (2024.07.04-1) ... 1041s Preparing to unpack .../27-xauth_1%3a1.1.2-1.1_armhf.deb ... 1041s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 1041s Preparing to unpack .../28-libcurl3t64-gnutls_8.11.1-1ubuntu1_armhf.deb ... 1041s Unpacking libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 1041s Preparing to unpack .../29-libappstream5_1.0.4-1_armhf.deb ... 1041s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 1041s Preparing to unpack .../30-appstream_1.0.4-1_armhf.deb ... 1041s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 1041s Preparing to unpack .../31-libctf0_2.43.50.20241221-1ubuntu1_armhf.deb ... 1041s Unpacking libctf0:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 1041s Preparing to unpack .../32-libctf-nobfd0_2.43.50.20241221-1ubuntu1_armhf.deb ... 1041s Unpacking libctf-nobfd0:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 1041s Preparing to unpack .../33-binutils-arm-linux-gnueabihf_2.43.50.20241221-1ubuntu1_armhf.deb ... 1041s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 1041s Preparing to unpack .../34-libbinutils_2.43.50.20241221-1ubuntu1_armhf.deb ... 1041s Unpacking libbinutils:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 1041s Preparing to unpack .../35-binutils_2.43.50.20241221-1ubuntu1_armhf.deb ... 1041s Unpacking binutils (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 1041s Preparing to unpack .../36-binutils-common_2.43.50.20241221-1ubuntu1_armhf.deb ... 1041s Unpacking binutils-common:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 1041s Preparing to unpack .../37-libsframe1_2.43.50.20241221-1ubuntu1_armhf.deb ... 1041s Unpacking libsframe1:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 1042s Preparing to unpack .../38-curl_8.11.1-1ubuntu1_armhf.deb ... 1042s Unpacking curl (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 1042s Preparing to unpack .../39-libcurl4t64_8.11.1-1ubuntu1_armhf.deb ... 1042s Unpacking libcurl4t64:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 1042s Preparing to unpack .../40-dracut-install_105-2ubuntu5_armhf.deb ... 1042s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 1042s Preparing to unpack .../41-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 1042s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 1042s Preparing to unpack .../42-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 1042s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 1042s Preparing to unpack .../43-fwupd_2.0.3-3_armhf.deb ... 1042s Unpacking fwupd (2.0.3-3) over (2.0.2-1) ... 1042s Preparing to unpack .../44-libfwupd3_2.0.3-3_armhf.deb ... 1042s Unpacking libfwupd3:armhf (2.0.3-3) over (2.0.2-1) ... 1042s Preparing to unpack .../45-libqmi-proxy_1.35.6-1_armhf.deb ... 1042s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 1042s Preparing to unpack .../46-libqmi-glib5_1.35.6-1_armhf.deb ... 1042s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 1042s Preparing to unpack .../47-gnupg-l10n_2.4.4-2ubuntu21_all.deb ... 1042s Unpacking gnupg-l10n (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1042s Preparing to unpack .../48-libftdi1-2_1.5-8_armhf.deb ... 1042s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 1042s Preparing to unpack .../49-libgstreamer1.0-0_1.24.10-2_armhf.deb ... 1042s Unpacking libgstreamer1.0-0:armhf (1.24.10-2) over (1.24.9-1) ... 1042s Preparing to unpack .../50-libnss3_2%3a3.106-1ubuntu1_armhf.deb ... 1042s Unpacking libnss3:armhf (2:3.106-1ubuntu1) over (2:3.103-1) ... 1042s Preparing to unpack .../51-libwrap0_7.6.q-34_armhf.deb ... 1042s Unpacking libwrap0:armhf (7.6.q-34) over (7.6.q-33) ... 1042s Preparing to unpack .../52-make_4.4.1-1_armhf.deb ... 1042s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 1042s Preparing to unpack .../53-python3-attr_24.2.0-1_all.deb ... 1042s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1042s for fn in glob1(directory, "%s.*" % fname): 1042s Unpacking python3-attr (24.2.0-1) over (23.2.0-2) ... 1043s Preparing to unpack .../54-python3-jinja2_3.1.3-1.1_all.deb ... 1043s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1043s for fn in glob1(directory, "%s.*" % fname): 1043s Unpacking python3-jinja2 (3.1.3-1.1) over (3.1.3-1ubuntu1) ... 1043s Preparing to unpack .../55-python3-json-pointer_2.4-3_all.deb ... 1043s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1043s for fn in glob1(directory, "%s.*" % fname): 1043s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 1043s Preparing to unpack .../56-python3-jsonpatch_1.32-5_all.deb ... 1043s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1043s for fn in glob1(directory, "%s.*" % fname): 1043s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 1043s Preparing to unpack .../57-python3-openssl_24.3.0-1_all.deb ... 1043s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1043s for fn in glob1(directory, "%s.*" % fname): 1043s Unpacking python3-openssl (24.3.0-1) over (24.2.1-1) ... 1043s Preparing to unpack .../58-python3-pkg-resources_75.6.0-1_all.deb ... 1043s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1043s for fn in glob1(directory, "%s.*" % fname): 1043s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 1043s Preparing to unpack .../59-python3-setuptools_75.6.0-1_all.deb ... 1043s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1043s for fn in glob1(directory, "%s.*" % fname): 1043s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 1044s Preparing to unpack .../60-software-properties-common_0.108_all.deb ... 1044s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1044s for fn in glob1(directory, "%s.*" % fname): 1044s Unpacking software-properties-common (0.108) over (0.105) ... 1044s Preparing to unpack .../61-python3-software-properties_0.108_all.deb ... 1044s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1044s for fn in glob1(directory, "%s.*" % fname): 1044s Unpacking python3-software-properties (0.108) over (0.105) ... 1044s Preparing to unpack .../62-python3-wadllib_2.0.0-2_all.deb ... 1044s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1044s for fn in glob1(directory, "%s.*" % fname): 1044s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 1044s Setting up systemd-sysv (257-2ubuntu1) ... 1044s Setting up pci.ids (0.0~2024.11.25-1) ... 1044s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 1044s Setting up apt-utils (2.9.18) ... 1044s Setting up bsdextrautils (2.40.2-1ubuntu2) ... 1044s Setting up libcurl4t64:armhf (8.11.1-1ubuntu1) ... 1044s Setting up libyaml-0-2:armhf (0.2.5-2) ... 1044s Setting up python3.12-gdbm (3.12.8-3) ... 1044s Setting up libpython3.12-minimal:armhf (3.12.8-3) ... 1044s Setting up binutils-common:armhf (2.43.50.20241221-1ubuntu1) ... 1044s Setting up libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) ... 1044s Setting up libctf-nobfd0:armhf (2.43.50.20241221-1ubuntu1) ... 1044s Setting up gettext-base (0.22.5-3) ... 1044s Setting up libnss-systemd:armhf (257-2ubuntu1) ... 1044s Setting up libnss3:armhf (2:3.106-1ubuntu1) ... 1044s Setting up locales (2.40-4ubuntu1) ... 1045s Generating locales (this might take a while)... 1047s en_US.UTF-8... done 1047s Generation complete. 1047s Setting up libsframe1:armhf (2.43.50.20241221-1ubuntu1) ... 1047s Setting up tzdata (2024b-4ubuntu1) ... 1047s 1047s Current default time zone: 'Etc/UTC' 1047s Local time is now: Fri Jan 3 15:16:21 UTC 2025. 1047s Universal Time is now: Fri Jan 3 15:16:21 UTC 2025. 1047s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1047s 1047s Setting up eject (2.40.2-1ubuntu2) ... 1047s Setting up libftdi1-2:armhf (1.5-8) ... 1047s Setting up libglib2.0-data (2.82.4-1) ... 1047s Setting up systemd-cryptsetup (257-2ubuntu1) ... 1047s Setting up libwrap0:armhf (7.6.q-34) ... 1047s Setting up make (4.4.1-1) ... 1047s Setting up gnupg-l10n (2.4.4-2ubuntu21) ... 1047s Setting up bash-completion (1:2.16.0-1) ... 1047s Setting up libfribidi0:armhf (1.0.16-1) ... 1047s Setting up libpng16-16t64:armhf (1.6.44-3) ... 1047s Setting up systemd-timesyncd (257-2ubuntu1) ... 1047s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 1047s Setting up libatomic1:armhf (14.2.0-12ubuntu1) ... 1047s Setting up udev (257-2ubuntu1) ... 1048s Setting up usb.ids (2024.12.04-1) ... 1048s Setting up ucf (3.0046) ... 1048s Installing new version of config file /etc/ucf.conf ... 1048s Setting up libfdisk1:armhf (2.40.2-1ubuntu2) ... 1048s Setting up whiptail (0.52.24-4ubuntu1) ... 1048s Setting up python-apt-common (2.9.6build1) ... 1048s Setting up dracut-install (105-2ubuntu5) ... 1048s Setting up uuid-runtime (2.40.2-1ubuntu2) ... 1049s uuidd.service is a disabled or a static unit not running, not starting it. 1049s Setting up xauth (1:1.1.2-1.1) ... 1049s Setting up groff-base (1.23.0-7) ... 1049s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 1049s Setting up libpam-systemd:armhf (257-2ubuntu1) ... 1049s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 1049s Setting up curl (8.11.1-1ubuntu1) ... 1049s Setting up libbinutils:armhf (2.43.50.20241221-1ubuntu1) ... 1049s Setting up openssl (3.4.0-1ubuntu2) ... 1049s Installing new version of config file /etc/ssl/openssl.cnf ... 1049s Setting up libgpg-error-l10n (1.51-3) ... 1049s Setting up iputils-ping (3:20240905-1ubuntu1) ... 1049s Setting up readline-common (8.2-6) ... 1049s Setting up publicsuffix (20241206.1516-0.1) ... 1049s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) ... 1049s Setting up libbpf1:armhf (1:1.5.0-2) ... 1049s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 1049s Setting up rsync (3.3.0+ds1-2) ... 1050s rsync.service is a disabled or a static unit not running, not starting it. 1050s Setting up python3.13-gdbm (3.13.1-2) ... 1050s Setting up ethtool (1:6.11-1) ... 1050s Setting up gnupg-utils (2.4.4-2ubuntu21) ... 1050s Setting up systemd-resolved (257-2ubuntu1) ... 1051s Setting up libxkbcommon0:armhf (1.7.0-2) ... 1051s Setting up libctf0:armhf (2.43.50.20241221-1ubuntu1) ... 1051s Setting up python3.12-minimal (3.12.8-3) ... 1052s Setting up libglib2.0-0t64:armhf (2.82.4-1) ... 1052s No schema files found: doing nothing. 1052s Setting up gir1.2-glib-2.0:armhf (2.82.4-1) ... 1052s Setting up libreadline8t64:armhf (8.2-6) ... 1052s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 1052s Setting up gpgconf (2.4.4-2ubuntu21) ... 1052s Setting up libgirepository-1.0-1:armhf (1.82.0-3) ... 1052s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241221-1ubuntu1) ... 1052s Setting up libpython3.13-stdlib:armhf (3.13.1-2) ... 1052s Setting up gpg (2.4.4-2ubuntu21) ... 1052s Setting up libgstreamer1.0-0:armhf (1.24.10-2) ... 1052s Setcap worked! gst-ptp-helper is not suid! 1052s Setting up libpython3-stdlib:armhf (3.13.1-1~exp2) ... 1052s Setting up gpg-agent (2.4.4-2ubuntu21) ... 1052s Setting up libpython3.12-stdlib:armhf (3.12.8-3) ... 1052s Setting up python3.13 (3.13.1-2) ... 1054s Setting up python3.12 (3.12.8-3) ... 1055s Setting up gpgsm (2.4.4-2ubuntu21) ... 1055s Setting up libglib2.0-bin (2.82.4-1) ... 1055s Setting up libappstream5:armhf (1.0.4-1) ... 1055s Setting up libqmi-glib5:armhf (1.35.6-1) ... 1055s Setting up python3 (3.13.1-1~exp2) ... 1055s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1055s for fn in glob1(directory, "%s.*" % fname): 1056s Setting up binutils (2.43.50.20241221-1ubuntu1) ... 1056s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 1056s Setting up fdisk (2.40.2-1ubuntu2) ... 1056s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 1056s Setting up dirmngr (2.4.4-2ubuntu21) ... 1056s Setting up python3-jinja2 (3.1.3-1.1) ... 1057s Setting up appstream (1.0.4-1) ... 1057s ✔ Metadata cache was updated successfully. 1057s Setting up gir1.2-girepository-2.0:armhf (1.82.0-3) ... 1057s Setting up python3-wadllib (2.0.0-2) ... 1057s Setting up keyboxd (2.4.4-2ubuntu21) ... 1057s Setting up python3-json-pointer (2.4-3) ... 1057s Setting up gnupg (2.4.4-2ubuntu21) ... 1057s Setting up python3-pkg-resources (75.6.0-1) ... 1058s Setting up python3-attr (24.2.0-1) ... 1058s Setting up python3-setuptools (75.6.0-1) ... 1060s Setting up gpg-wks-client (2.4.4-2ubuntu21) ... 1060s Setting up python3-rich (13.9.4-1) ... 1061s Setting up python3-gdbm:armhf (3.13.1-1) ... 1061s Setting up python3-problem-report (2.31.0-0ubuntu2) ... 1061s Setting up python3-apt (2.9.6build1) ... 1061s Setting up python3-jsonpatch (1.32-5) ... 1062s Setting up python3-bcrypt (4.2.0-2.1) ... 1062s Setting up libqmi-proxy (1.35.6-1) ... 1062s Setting up libfwupd3:armhf (2.0.3-3) ... 1062s Setting up python3-apport (2.31.0-0ubuntu2) ... 1062s Setting up python3-software-properties (0.108) ... 1062s Setting up python3-cryptography (43.0.0-1) ... 1063s Setting up fwupd (2.0.3-3) ... 1063s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 1063s fwupd.service is a disabled or a static unit not running, not starting it. 1063s Setting up python3-openssl (24.3.0-1) ... 1064s Setting up software-properties-common (0.108) ... 1064s Setting up apport-core-dump-handler (2.31.0-0ubuntu2) ... 1065s Setting up apport (2.31.0-0ubuntu2) ... 1066s apport-autoreport.service is a disabled or a static unit not running, not starting it. 1066s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1066s Processing triggers for shared-mime-info (2.4-5) ... 1066s Warning: program compiled against libxml 212 using older 209 1066s Processing triggers for debianutils (5.21) ... 1066s Processing triggers for install-info (7.1.1-1) ... 1066s Processing triggers for initramfs-tools (0.142ubuntu35) ... 1066s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1066s Processing triggers for systemd (257-2ubuntu1) ... 1066s Processing triggers for man-db (2.13.0-1) ... 1072s Reading package lists... 1072s Building dependency tree... 1072s Reading state information... 1073s Starting pkgProblemResolver with broken count: 0 1073s Starting 2 pkgProblemResolver with broken count: 0 1073s Done 1074s The following packages will be REMOVED: 1074s libassuan0* libnsl2* libpython3.12-minimal* libpython3.12-stdlib* 1074s python3.12* python3.12-minimal* 1074s 0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded. 1074s After this operation, 20.0 MB disk space will be freed. 1074s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60740 files and directories currently installed.) 1074s Removing libassuan0:armhf (2.5.6-1build1) ... 1074s Removing python3.12 (3.12.8-3) ... 1074s Removing libpython3.12-stdlib:armhf (3.12.8-3) ... 1074s Removing libnsl2:armhf (1.3.0-3build3) ... 1074s Removing python3.12-minimal (3.12.8-3) ... 1075s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1075s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 1075s Removing libpython3.12-minimal:armhf (3.12.8-3) ... 1075s Processing triggers for systemd (257-2ubuntu1) ... 1075s Processing triggers for man-db (2.13.0-1) ... 1076s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1076s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60020 files and directories currently installed.) 1076s Purging configuration files for python3.12-minimal (3.12.8-3) ... 1076s Purging configuration files for libpython3.12-minimal:armhf (3.12.8-3) ... 1078s autopkgtest [15:16:52]: rebooting testbed after setup commands that affected boot 1155s Reading package lists... 1155s Building dependency tree... 1155s Reading state information... 1156s Starting pkgProblemResolver with broken count: 0 1156s Starting 2 pkgProblemResolver with broken count: 0 1156s Done 1157s The following NEW packages will be installed: 1157s build-essential cpp cpp-14 cpp-14-arm-linux-gnueabihf 1157s cpp-arm-linux-gnueabihf g++ g++-14 g++-14-arm-linux-gnueabihf 1157s g++-arm-linux-gnueabihf gcc gcc-14 gcc-14-arm-linux-gnueabihf 1157s gcc-arm-linux-gnueabihf gir1.2-glib-2.0-dev girepository-tools libasan8 1157s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev 1157s libgcc-14-dev libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 1157s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libmount-dev libmpc3 1157s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 1157s libselinux1-dev libsepol-dev libstdc++-14-dev libsysprof-capture-4-dev 1157s libubsan1 linux-libc-dev native-architecture pkgconf pkgconf-bin 1157s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 1157s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 1157s Need to get 55.6 MB of archives. 1157s After this operation, 174 MB of additional disk space will be used. 1157s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-4ubuntu1 [19.2 kB] 1157s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.11.0-8.8 [1628 kB] 1157s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.36-5 [119 kB] 1157s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 1157s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-4ubuntu1 [1358 kB] 1157s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 1157s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 1157s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-12ubuntu1 [9217 kB] 1158s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-12ubuntu1 [1034 B] 1158s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [5464 B] 1158s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.1.0-2ubuntu1 [22.4 kB] 1158s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 14.2.0-12ubuntu1 [43.4 kB] 1158s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-12ubuntu1 [125 kB] 1158s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 14.2.0-12ubuntu1 [2900 kB] 1158s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 14.2.0-12ubuntu1 [1150 kB] 1158s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-12ubuntu1 [897 kB] 1158s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-12ubuntu1 [18.0 MB] 1158s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-12ubuntu1 [502 kB] 1158s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [1222 B] 1158s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.1.0-2ubuntu1 [5002 B] 1158s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-12ubuntu1 [2571 kB] 1158s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-12ubuntu1 [10.5 MB] 1158s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-12ubuntu1 [20.2 kB] 1158s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [968 B] 1158s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.1.0-2ubuntu1 [1084 B] 1158s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 1158s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0-dev armhf 2.82.4-1 [853 kB] 1158s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf native-architecture all 0.2.3 [1990 B] 1158s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-2.0-0 armhf 2.82.4-1 [96.4 kB] 1159s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf girepository-tools armhf 2.82.4-1 [108 kB] 1159s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libffi-dev armhf 3.4.6-1build1 [57.1 kB] 1159s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-dev armhf 2.40.2-1ubuntu2 [51.0 kB] 1159s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid-dev armhf 2.40.2-1ubuntu2 [207 kB] 1159s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libsepol-dev armhf 3.7-1 [381 kB] 1159s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-16-0 armhf 10.42-4ubuntu3 [186 kB] 1159s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-32-0 armhf 10.42-4ubuntu3 [176 kB] 1159s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-posix3 armhf 10.42-4ubuntu3 [6178 B] 1159s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-dev armhf 10.42-4ubuntu3 [679 kB] 1159s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libselinux1-dev armhf 3.7-3ubuntu1 [160 kB] 1159s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libmount-dev armhf 2.40.2-1ubuntu2 [33.2 kB] 1159s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libsysprof-capture-4-dev armhf 47.2-1 [46.4 kB] 1159s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libpkgconf3 armhf 1.8.1-4 [26.6 kB] 1159s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf-bin armhf 1.8.1-4 [21.2 kB] 1159s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf armhf 1.8.1-4 [16.8 kB] 1159s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu1 [880 kB] 1159s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev armhf 2.82.4-1 [1624 kB] 1159s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 1159s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev-bin armhf 2.82.4-1 [129 kB] 1159s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-dev-bin armhf 2.82.4-1 [18.1 kB] 1159s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-dev armhf 2.82.4-1 [18.9 kB] 1160s Fetched 55.6 MB in 2s (22.5 MB/s) 1160s Selecting previously unselected package libc-dev-bin. 1160s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60018 files and directories currently installed.) 1160s Preparing to unpack .../00-libc-dev-bin_2.40-4ubuntu1_armhf.deb ... 1160s Unpacking libc-dev-bin (2.40-4ubuntu1) ... 1160s Selecting previously unselected package linux-libc-dev:armhf. 1160s Preparing to unpack .../01-linux-libc-dev_6.11.0-8.8_armhf.deb ... 1160s Unpacking linux-libc-dev:armhf (6.11.0-8.8) ... 1160s Selecting previously unselected package libcrypt-dev:armhf. 1160s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-5_armhf.deb ... 1160s Unpacking libcrypt-dev:armhf (1:4.4.36-5) ... 1160s Selecting previously unselected package rpcsvc-proto. 1160s Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 1160s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 1160s Selecting previously unselected package libc6-dev:armhf. 1160s Preparing to unpack .../04-libc6-dev_2.40-4ubuntu1_armhf.deb ... 1160s Unpacking libc6-dev:armhf (2.40-4ubuntu1) ... 1160s Selecting previously unselected package libisl23:armhf. 1160s Preparing to unpack .../05-libisl23_0.27-1_armhf.deb ... 1160s Unpacking libisl23:armhf (0.27-1) ... 1160s Selecting previously unselected package libmpc3:armhf. 1160s Preparing to unpack .../06-libmpc3_1.3.1-1build2_armhf.deb ... 1160s Unpacking libmpc3:armhf (1.3.1-1build2) ... 1160s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 1160s Preparing to unpack .../07-cpp-14-arm-linux-gnueabihf_14.2.0-12ubuntu1_armhf.deb ... 1160s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 1161s Selecting previously unselected package cpp-14. 1161s Preparing to unpack .../08-cpp-14_14.2.0-12ubuntu1_armhf.deb ... 1161s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 1161s Selecting previously unselected package cpp-arm-linux-gnueabihf. 1161s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 1161s Unpacking cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 1161s Selecting previously unselected package cpp. 1161s Preparing to unpack .../10-cpp_4%3a14.1.0-2ubuntu1_armhf.deb ... 1161s Unpacking cpp (4:14.1.0-2ubuntu1) ... 1161s Selecting previously unselected package libcc1-0:armhf. 1161s Preparing to unpack .../11-libcc1-0_14.2.0-12ubuntu1_armhf.deb ... 1161s Unpacking libcc1-0:armhf (14.2.0-12ubuntu1) ... 1161s Selecting previously unselected package libgomp1:armhf. 1161s Preparing to unpack .../12-libgomp1_14.2.0-12ubuntu1_armhf.deb ... 1161s Unpacking libgomp1:armhf (14.2.0-12ubuntu1) ... 1161s Selecting previously unselected package libasan8:armhf. 1161s Preparing to unpack .../13-libasan8_14.2.0-12ubuntu1_armhf.deb ... 1161s Unpacking libasan8:armhf (14.2.0-12ubuntu1) ... 1161s Selecting previously unselected package libubsan1:armhf. 1161s Preparing to unpack .../14-libubsan1_14.2.0-12ubuntu1_armhf.deb ... 1161s Unpacking libubsan1:armhf (14.2.0-12ubuntu1) ... 1161s Selecting previously unselected package libgcc-14-dev:armhf. 1161s Preparing to unpack .../15-libgcc-14-dev_14.2.0-12ubuntu1_armhf.deb ... 1161s Unpacking libgcc-14-dev:armhf (14.2.0-12ubuntu1) ... 1161s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 1161s Preparing to unpack .../16-gcc-14-arm-linux-gnueabihf_14.2.0-12ubuntu1_armhf.deb ... 1161s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 1162s Selecting previously unselected package gcc-14. 1162s Preparing to unpack .../17-gcc-14_14.2.0-12ubuntu1_armhf.deb ... 1162s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 1162s Selecting previously unselected package gcc-arm-linux-gnueabihf. 1162s Preparing to unpack .../18-gcc-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 1162s Unpacking gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 1162s Selecting previously unselected package gcc. 1162s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_armhf.deb ... 1162s Unpacking gcc (4:14.1.0-2ubuntu1) ... 1162s Selecting previously unselected package libstdc++-14-dev:armhf. 1162s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-12ubuntu1_armhf.deb ... 1162s Unpacking libstdc++-14-dev:armhf (14.2.0-12ubuntu1) ... 1162s Selecting previously unselected package g++-14-arm-linux-gnueabihf. 1162s Preparing to unpack .../21-g++-14-arm-linux-gnueabihf_14.2.0-12ubuntu1_armhf.deb ... 1162s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 1162s Selecting previously unselected package g++-14. 1162s Preparing to unpack .../22-g++-14_14.2.0-12ubuntu1_armhf.deb ... 1162s Unpacking g++-14 (14.2.0-12ubuntu1) ... 1162s Selecting previously unselected package g++-arm-linux-gnueabihf. 1162s Preparing to unpack .../23-g++-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 1162s Unpacking g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 1162s Selecting previously unselected package g++. 1162s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_armhf.deb ... 1162s Unpacking g++ (4:14.1.0-2ubuntu1) ... 1162s Selecting previously unselected package build-essential. 1162s Preparing to unpack .../25-build-essential_12.10ubuntu1_armhf.deb ... 1162s Unpacking build-essential (12.10ubuntu1) ... 1162s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf. 1162s Preparing to unpack .../26-gir1.2-glib-2.0-dev_2.82.4-1_armhf.deb ... 1162s Unpacking gir1.2-glib-2.0-dev:armhf (2.82.4-1) ... 1163s Selecting previously unselected package native-architecture. 1163s Preparing to unpack .../27-native-architecture_0.2.3_all.deb ... 1163s Unpacking native-architecture (0.2.3) ... 1163s Selecting previously unselected package libgirepository-2.0-0:armhf. 1163s Preparing to unpack .../28-libgirepository-2.0-0_2.82.4-1_armhf.deb ... 1163s Unpacking libgirepository-2.0-0:armhf (2.82.4-1) ... 1163s Selecting previously unselected package girepository-tools:armhf. 1163s Preparing to unpack .../29-girepository-tools_2.82.4-1_armhf.deb ... 1163s Unpacking girepository-tools:armhf (2.82.4-1) ... 1163s Selecting previously unselected package libffi-dev:armhf. 1163s Preparing to unpack .../30-libffi-dev_3.4.6-1build1_armhf.deb ... 1163s Unpacking libffi-dev:armhf (3.4.6-1build1) ... 1163s Selecting previously unselected package uuid-dev:armhf. 1163s Preparing to unpack .../31-uuid-dev_2.40.2-1ubuntu2_armhf.deb ... 1163s Unpacking uuid-dev:armhf (2.40.2-1ubuntu2) ... 1163s Selecting previously unselected package libblkid-dev:armhf. 1163s Preparing to unpack .../32-libblkid-dev_2.40.2-1ubuntu2_armhf.deb ... 1163s Unpacking libblkid-dev:armhf (2.40.2-1ubuntu2) ... 1163s Selecting previously unselected package libsepol-dev:armhf. 1163s Preparing to unpack .../33-libsepol-dev_3.7-1_armhf.deb ... 1163s Unpacking libsepol-dev:armhf (3.7-1) ... 1163s Selecting previously unselected package libpcre2-16-0:armhf. 1163s Preparing to unpack .../34-libpcre2-16-0_10.42-4ubuntu3_armhf.deb ... 1163s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu3) ... 1163s Selecting previously unselected package libpcre2-32-0:armhf. 1163s Preparing to unpack .../35-libpcre2-32-0_10.42-4ubuntu3_armhf.deb ... 1163s Unpacking libpcre2-32-0:armhf (10.42-4ubuntu3) ... 1163s Selecting previously unselected package libpcre2-posix3:armhf. 1163s Preparing to unpack .../36-libpcre2-posix3_10.42-4ubuntu3_armhf.deb ... 1163s Unpacking libpcre2-posix3:armhf (10.42-4ubuntu3) ... 1163s Selecting previously unselected package libpcre2-dev:armhf. 1163s Preparing to unpack .../37-libpcre2-dev_10.42-4ubuntu3_armhf.deb ... 1163s Unpacking libpcre2-dev:armhf (10.42-4ubuntu3) ... 1163s Selecting previously unselected package libselinux1-dev:armhf. 1163s Preparing to unpack .../38-libselinux1-dev_3.7-3ubuntu1_armhf.deb ... 1163s Unpacking libselinux1-dev:armhf (3.7-3ubuntu1) ... 1163s Selecting previously unselected package libmount-dev:armhf. 1163s Preparing to unpack .../39-libmount-dev_2.40.2-1ubuntu2_armhf.deb ... 1163s Unpacking libmount-dev:armhf (2.40.2-1ubuntu2) ... 1163s Selecting previously unselected package libsysprof-capture-4-dev:armhf. 1163s Preparing to unpack .../40-libsysprof-capture-4-dev_47.2-1_armhf.deb ... 1163s Unpacking libsysprof-capture-4-dev:armhf (47.2-1) ... 1163s Selecting previously unselected package libpkgconf3:armhf. 1163s Preparing to unpack .../41-libpkgconf3_1.8.1-4_armhf.deb ... 1163s Unpacking libpkgconf3:armhf (1.8.1-4) ... 1163s Selecting previously unselected package pkgconf-bin. 1163s Preparing to unpack .../42-pkgconf-bin_1.8.1-4_armhf.deb ... 1163s Unpacking pkgconf-bin (1.8.1-4) ... 1163s Selecting previously unselected package pkgconf:armhf. 1163s Preparing to unpack .../43-pkgconf_1.8.1-4_armhf.deb ... 1163s Unpacking pkgconf:armhf (1.8.1-4) ... 1163s Selecting previously unselected package zlib1g-dev:armhf. 1163s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_armhf.deb ... 1163s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 1163s Selecting previously unselected package libgio-2.0-dev:armhf. 1163s Preparing to unpack .../45-libgio-2.0-dev_2.82.4-1_armhf.deb ... 1163s Unpacking libgio-2.0-dev:armhf (2.82.4-1) ... 1163s Selecting previously unselected package python3-packaging. 1163s Preparing to unpack .../46-python3-packaging_24.2-1_all.deb ... 1163s Unpacking python3-packaging (24.2-1) ... 1163s Selecting previously unselected package libgio-2.0-dev-bin. 1164s Preparing to unpack .../47-libgio-2.0-dev-bin_2.82.4-1_armhf.deb ... 1164s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 1164s Selecting previously unselected package libglib2.0-dev-bin. 1164s Preparing to unpack .../48-libglib2.0-dev-bin_2.82.4-1_armhf.deb ... 1164s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 1164s Selecting previously unselected package libglib2.0-dev:armhf. 1164s Preparing to unpack .../49-libglib2.0-dev_2.82.4-1_armhf.deb ... 1164s Unpacking libglib2.0-dev:armhf (2.82.4-1) ... 1164s Setting up native-architecture (0.2.3) ... 1164s Setting up libgirepository-2.0-0:armhf (2.82.4-1) ... 1164s Setting up linux-libc-dev:armhf (6.11.0-8.8) ... 1164s Setting up libgomp1:armhf (14.2.0-12ubuntu1) ... 1164s Setting up libffi-dev:armhf (3.4.6-1build1) ... 1164s Setting up libpcre2-16-0:armhf (10.42-4ubuntu3) ... 1164s Setting up libsysprof-capture-4-dev:armhf (47.2-1) ... 1164s Setting up libpcre2-32-0:armhf (10.42-4ubuntu3) ... 1164s Setting up python3-packaging (24.2-1) ... 1164s Setting up libpkgconf3:armhf (1.8.1-4) ... 1164s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 1164s Setting up libmpc3:armhf (1.3.1-1build2) ... 1164s Setting up libsepol-dev:armhf (3.7-1) ... 1164s Setting up pkgconf-bin (1.8.1-4) ... 1164s Setting up libubsan1:armhf (14.2.0-12ubuntu1) ... 1164s Setting up libpcre2-posix3:armhf (10.42-4ubuntu3) ... 1164s Setting up gir1.2-glib-2.0-dev:armhf (2.82.4-1) ... 1164s Setting up libcrypt-dev:armhf (1:4.4.36-5) ... 1164s Setting up libasan8:armhf (14.2.0-12ubuntu1) ... 1164s Setting up libgcc-14-dev:armhf (14.2.0-12ubuntu1) ... 1164s Setting up libisl23:armhf (0.27-1) ... 1164s Setting up libc-dev-bin (2.40-4ubuntu1) ... 1164s Setting up libcc1-0:armhf (14.2.0-12ubuntu1) ... 1164s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 1164s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 1164s Setting up girepository-tools:armhf (2.82.4-1) ... 1164s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 1164s Setting up pkgconf:armhf (1.8.1-4) ... 1164s Setting up cpp-14 (14.2.0-12ubuntu1) ... 1164s Setting up libc6-dev:armhf (2.40-4ubuntu1) ... 1164s Setting up libstdc++-14-dev:armhf (14.2.0-12ubuntu1) ... 1164s Setting up cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 1164s Setting up gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 1164s Setting up libglib2.0-dev-bin (2.82.4-1) ... 1164s Setting up g++-14-arm-linux-gnueabihf (14.2.0-12ubuntu1) ... 1164s Setting up libpcre2-dev:armhf (10.42-4ubuntu3) ... 1164s Setting up libselinux1-dev:armhf (3.7-3ubuntu1) ... 1164s Setting up gcc-14 (14.2.0-12ubuntu1) ... 1164s Setting up uuid-dev:armhf (2.40.2-1ubuntu2) ... 1164s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 1164s Setting up cpp (4:14.1.0-2ubuntu1) ... 1164s Setting up g++-14 (14.2.0-12ubuntu1) ... 1164s Setting up g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 1164s Setting up libblkid-dev:armhf (2.40.2-1ubuntu2) ... 1164s Setting up gcc (4:14.1.0-2ubuntu1) ... 1164s Setting up g++ (4:14.1.0-2ubuntu1) ... 1164s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 1164s Setting up build-essential (12.10ubuntu1) ... 1164s Setting up libmount-dev:armhf (2.40.2-1ubuntu2) ... 1164s Setting up libgio-2.0-dev:armhf (2.82.4-1) ... 1164s Processing triggers for install-info (7.1.1-1) ... 1164s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1164s Processing triggers for man-db (2.13.0-1) ... 1165s Processing triggers for libglib2.0-0t64:armhf (2.82.4-1) ... 1165s No schema files found: doing nothing. 1165s Setting up libglib2.0-dev:armhf (2.82.4-1) ... 1187s autopkgtest [15:18:41]: test libglib2.0-dev: [----------------------- 1189s + debian/tests/build 1189s + mode=dynamic 1189s + getopt -o --long static -n debian/tests/build -- 1189s + getopt_temp= -- 1189s + eval set -- -- 1189s + set -- -- 1189s + true 1189s + shift 1189s + break 1189s + mktemp -d 1189s + WORKDIR=/tmp/tmp.xsNQEhcI4O 1189s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1189s + cd /tmp/tmp.xsNQEhcI4O 1189s + [ -n ] 1189s + CROSS_COMPILE= 1189s + cat 1189s + cat 1189s + cat 1189s + cat 1189s + cat 1189s + cat 1189s + cflags= 1189s + pcflags= 1189s + packages=glib-2.0 1189s + pkg-config --cflags --libs glib-2.0 1189s + 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 1189s build (glib, dynamic): OK 1189s + echo build (glib, dynamic): OK 1189s + [ -x glib-dynamic ] 1189s + foo=bar ./glib-dynamic 1189s + echo run (glib, dynamic): OK 1189s + cflags= 1189s + pcflags= 1189s + packages=gobject-2.0 1189s run (glib, dynamic): OK 1189s + pkg-config --cflags --libs gobject-2.0 1189s + 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 1189s + echo build (gobject, dynamic): OK 1189s + [ -x gobject-dynamic ] 1189s + foo=bar ./gobject-dynamic 1189s build (gobject, dynamic): OK 1189s run (gobject, dynamic): OK 1189s + echo run (gobject, dynamic): OK 1189s + cflags= 1189s + pcflags= 1189s + packages=gio-2.0 1189s + pkg-config --cflags --libs gio-2.0 1189s + 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 1190s + echo build (gio, dynamic): OK 1190s build (gio, dynamic): OK 1190s + [ -x gio-dynamic ] 1190s + foo=bar ./gio-dynamic 1190s run (gio, dynamic): OK 1190s + echo run (gio, dynamic): OK 1190s + cflags= 1190s + pcflags= 1190s + packages=gio-unix-2.0 1190s + pkg-config --cflags --libs gio-unix-2.0 1190s + 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 1190s + echo build (gio-unix, dynamic): OK 1190s + [ -x gio-unix-dynamic ] 1190s + foo=bar ./gio-unix-dynamic 1190s build (gio-unix, dynamic): OK 1190s run (gio-unix, dynamic): OK 1190s + echo run (gio-unix, dynamic): OK 1190s + cflags= 1190s + pcflags= 1190s + packages=gmodule-2.0 1190s + pkg-config --cflags --libs gmodule-2.0 1190s + 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 1190s + echo build (gmodule, dynamic): OK 1190s + [ -x gmodule-dynamic ] 1190s + foo=bar ./gmodule-dynamic 1190s build (gmodule, dynamic): OK 1190s run (gmodule, dynamic): OK 1190s + echo run (gmodule, dynamic): OK 1190s + cflags= 1190s + pcflags= 1190s + packages=gthread-2.0 1190s + pkg-config --cflags --libs gthread-2.0 1190s + 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 1190s + echo build (gthread, dynamic): OK 1190s + [ -x gthread-dynamic ] 1190s + foo=bar ./gthread-dynamic 1190s build (gthread, dynamic): OK 1190s run (gthread, dynamic): OK 1190s + echo run (gthread, dynamic): OK 1190s + rm -rf /tmp/tmp.xsNQEhcI4O 1190s + debian/tests/build-static 1190s + mode=dynamic 1190s + getopt -o --long static -n debian/tests/build -- --static 1190s + getopt_temp= --static -- 1190s + eval set -- --static -- 1190s + set -- --static -- 1190s + true 1190s + mode=static 1190s + shift 1190s + continue 1190s + true 1190s + shift 1190s + break 1190s + mktemp -d 1190s + WORKDIR=/tmp/tmp.e7LccKdXS5 1190s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1190s + cd /tmp/tmp.e7LccKdXS5 1190s + [ -n ] 1190s + CROSS_COMPILE= 1190s + cat 1190s + cat 1190s + cat 1190s + cat 1190s + cat 1190s + cat 1190s + cflags= 1190s + pcflags= 1190s + packages=glib-2.0 1190s + cflags=-static 1190s + pcflags=--static 1190s + pkg-config --static --cflags --libs glib-2.0 1190s + 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 1190s /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': 1190s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1190s /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 1190s /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 1190s + echo build (glib, static): OK 1190s + [ -x glib-static ] 1190s + foo=bar ./glib-static 1190s build (glib, static): OK 1190s + echo run (glib, static): OK 1190s + cflags= 1190s + pcflags= 1190s + packages=gobject-2.0 1190s + cflags=-static 1190s + pcflags=--static 1190s + pkg-config --static --cflags --libs gobject-2.0 1190s run (glib, static): OK 1190s + 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 1191s /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': 1191s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1191s /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 1191s /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 1191s build (gobject, static): OK 1191s + echo build (gobject, static): OK 1191s + [ -x gobject-static ] 1191s + foo=bar ./gobject-static 1191s run (gobject, static): OK 1191s + echo run (gobject, static): OK 1191s + cflags= 1191s + pcflags= 1191s + packages=gio-2.0 1191s + cflags=-static 1191s + pcflags=--static 1191s + continue 1191s + cflags= 1191s + pcflags= 1191s + packages=gio-unix-2.0 1191s + cflags=-static 1191s + pcflags=--static 1191s + continue 1191s + cflags= 1191s + pcflags= 1191s + packages=gmodule-2.0 1191s + cflags=-static 1191s + pcflags=--static 1191s + pkg-config --static --cflags --libs gmodule-2.0 1191s + 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 1191s /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': 1191s (.text+0x3e2): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1191s /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': 1191s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1191s /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 1191s /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 1191s + echo build (gmodule, static): OK 1191s + [ -x gmodule-static ] 1191s + foo=bar ./gmodule-static 1191s build (gmodule, static): OK 1191s run (gmodule, static): OK 1191s + echo run (gmodule, static): OK 1191s + cflags= 1191s + pcflags= 1191s + packages=gthread-2.0 1191s + cflags=-static 1191s + pcflags=--static 1191s + pkg-config --static --cflags --libs gthread-2.0 1191s + 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 1191s /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': 1191s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1191s /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 1191s /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 1191s + echo build (gthread, static): OK 1191s + [ -x gthread-static ] 1191s + foo=bar ./gthread-static 1191s build (gthread, static): OK 1191s + echo run (gthread, static): OK 1191s run (gthread, static): OK 1191s + rm -rf /tmp/tmp.e7LccKdXS5 1191s + debian/tests/girepository-tools 1191s + cd /tmp/autopkgtest.zVLjS5/autopkgtest_tmp 1191s + dpkg-architecture -qDEB_HOST_GNU_TYPE 1191s + DEB_HOST_GNU_TYPE=arm-linux-gnueabihf 1191s + dpkg-architecture -qDEB_HOST_MULTIARCH 1191s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 1191s + arm-linux-gnueabihf-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1191s + arm-linux-gnueabihf-gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 1191s typelib: GLib-2.0 1191s + arm-linux-gnueabihf-gi-decompile-typelib -o GLib.gir GLib.typelib 1191s + debian/tests/libgio-2.0-dev-bin 1191s + gdbus-codegen --help 1191s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1191s [--c-namespace NAMESPACE] [--c-generate-object-manager] 1191s [--c-generate-autocleanup {none,objects,all}] 1191s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1191s [--generate-rst OUTFILES] [--pragma-once] 1191s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1191s [--glib-min-required VERSION] 1191s [--glib-max-allowed VERSION] 1191s [--symbol-decorator SYMBOL_DECORATOR] 1191s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1191s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1191s [--generate-c-code OUTFILES | --header | --body | 1191s --interface-info-header | --interface-info-body] 1191s [--output FILE | --output-directory OUTDIR] 1191s FILE [FILE ...] 1191s 1191s D-Bus code and documentation generator 1191s 1191s positional arguments: 1191s FILE D-Bus introspection XML file 1191s 1191s options: 1191s -h, --help show this help message and exit 1191s --interface-prefix PREFIX 1191s String to strip from D-Bus interface names for code 1191s and docs 1191s --c-namespace NAMESPACE 1191s The namespace to use for generated C code 1191s --c-generate-object-manager 1191s Generate a GDBusObjectManagerClient subclass when 1191s generating C code 1191s --c-generate-autocleanup {none,objects,all} 1191s Generate autocleanup support 1191s --generate-docbook OUTFILES 1191s Generate Docbook in OUTFILES-org.Project.IFace.xml 1191s --generate-md OUTFILES 1191s Generate Markdown in OUTFILES-org.Project.IFace.md 1191s --generate-rst OUTFILES 1191s Generate reStructuredText in OUTFILES- 1191s org.Project.IFace.rst 1191s --pragma-once Use "pragma once" as the inclusion guard 1191s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1191s Add annotation (may be used several times) 1191s --glib-min-required VERSION 1191s Minimum version of GLib to be supported by the 1191s outputted code (default: 2.30) 1191s --glib-max-allowed VERSION 1191s Maximum version of GLib to be used by the outputted 1191s code (default: current GLib version) 1191s --symbol-decorator SYMBOL_DECORATOR 1191s Macro used to decorate a symbol in the outputted 1191s header, possibly to export symbols 1191s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1191s Additional header required for decorator specified by 1191s --symbol-decorator 1191s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1191s Additional define required for decorator specified by 1191s --symbol-decorator 1191s --generate-c-code OUTFILES 1191s Generate C code in OUTFILES.[ch] 1191s --header Generate C headers 1191s --body Generate C code 1191s --interface-info-header 1191s Generate GDBusInterfaceInfo C header 1191s --interface-info-body 1191s Generate GDBusInterfaceInfo C code 1191s --output FILE Write output into the specified file 1191s --output-directory OUTDIR 1191s Location to output generated files 1191s + glib-compile-resources --version 1191s 2.82.4 1191s + glib-genmarshal --version 1191s glib-genmarshal version 2.82.4 1191s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 1191s You may redistribute copies of glib-genmarshal under the terms of 1191s the GNU General Public License which can be found in the 1191s GLib source package. Sources, examples and contact 1191s information are available at http://www.gtk.org 1191s + glib-gettextize --version 1191s + glib-mkenums --version 1191s /usr/bin/glib-gettextize (GNU glib) 2.82.4 1191s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 1191s This is free software; see the source for copying conditions. There is NO 1191s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 1191s Written by Ulrich Drepper 1192s glib-mkenums version 2.82.4 1192s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 1192s You may redistribute copies of glib-mkenums under the terms of 1192s the GNU General Public License which can be found in the 1192s GLib source package. Sources, examples and contact 1192s information are available at http://www.gtk.org 1192s + gobject-query tree 1192s GObject 1192s + gtester --version 1192s gtester version 2.82.4 1192s + gtester-report --version 1192s gtester-report (GLib utils) version 2.82.4. 1192s + cd /tmp/autopkgtest.zVLjS5/autopkgtest_tmp 1192s + dpkg-architecture -qDEB_HOST_MULTIARCH 1192s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 1192s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1192s typelib: GLib-2.0 1192s + gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 1192s + gi-decompile-typelib -o GLib.gir GLib.typelib 1192s autopkgtest [15:18:46]: test libglib2.0-dev: -----------------------] 1196s autopkgtest [15:18:50]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 1196s libglib2.0-dev PASS (superficial) 1201s autopkgtest [15:18:55]: test installed-tests: preparing testbed 1255s autopkgtest [15:19:49]: testbed dpkg architecture: armhf 1257s autopkgtest [15:19:51]: testbed apt version: 2.9.14ubuntu1 1262s autopkgtest [15:19:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1264s autopkgtest [15:19:58]: testbed release detected to be: plucky 1273s autopkgtest [15:20:07]: updating testbed package index (apt update) 1275s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1276s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 1276s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1276s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1276s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1276s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.1 kB] 1276s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [669 kB] 1276s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [60.7 kB] 1276s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [60.7 kB] 1276s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 1276s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [521 kB] 1276s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [2064 B] 1276s Get:13 http://ftpmaster.internal/ubuntu plucky/main Sources [1383 kB] 1276s Get:14 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.9 MB] 1277s Get:15 http://ftpmaster.internal/ubuntu plucky/restricted Sources [15.2 kB] 1277s Get:16 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [297 kB] 1277s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1355 kB] 1277s Get:18 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2544 B] 1277s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.9 MB] 1277s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 1281s Fetched 40.7 MB in 5s (7878 kB/s) 1283s Reading package lists... 1290s autopkgtest [15:20:24]: upgrading testbed (apt dist-upgrade and autopurge) 1292s Reading package lists... 1292s Building dependency tree... 1292s Reading state information... 1293s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1293s Starting 2 pkgProblemResolver with broken count: 0 1293s Done 1294s Entering ResolveByKeep 1294s 1295s The following packages were automatically installed and are no longer required: 1295s libassuan0 libnsl2 libpython3.12-minimal libpython3.12-stdlib python3.12 1295s python3.12-minimal 1295s Use 'apt autoremove' to remove them. 1295s The following NEW packages will be installed: 1295s libpython3.13-minimal libpython3.13-stdlib openssl-provider-legacy 1295s python3-bcrypt python3.13 python3.13-minimal 1295s The following packages will be upgraded: 1295s apport apport-core-dump-handler appstream apt apt-utils base-passwd bash 1295s bash-completion binutils binutils-arm-linux-gnueabihf binutils-common 1295s bsdextrautils bsdutils curl dirmngr dracut-install eject ethtool fdisk fwupd 1295s gcc-14-base gettext-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg 1295s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 1295s groff-base iputils-ping iputils-tracepath keyboxd libappstream5 1295s libapt-pkg6.0t64 libatomic1 libbinutils libblkid1 libbpf1 libc-bin libc6 1295s libcap-ng0 libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 1295s libdebconfclient0 libfdisk1 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 1295s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 1295s libgpg-error-l10n libgpg-error0 libgstreamer1.0-0 libjson-glib-1.0-0 1295s libjson-glib-1.0-common libmount1 libnewt0.52 libnpth0t64 libnss-systemd 1295s libnss3 libpam-systemd libpng16-16t64 libpython3-stdlib 1295s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 1295s libreadline8t64 libsframe1 libsmartcols1 libssl3t64 libstdc++6 1295s libsystemd-shared libsystemd0 libtraceevent1 libtraceevent1-plugin libudev1 1295s libunistring5 libuuid1 libwrap0 libxkbcommon0 libxml2 libyaml-0-2 locales 1295s make mount openssl pci.ids publicsuffix python-apt-common python3 1295s python3-apport python3-apt python3-attr python3-cryptography python3-gdbm 1295s python3-jinja2 python3-json-pointer python3-jsonpatch python3-minimal 1295s python3-newt python3-openssl python3-pkg-resources python3-problem-report 1295s python3-rich python3-setuptools python3-software-properties python3-wadllib 1295s python3.12 python3.12-gdbm python3.12-minimal python3.13-gdbm 1295s readline-common rsync software-properties-common systemd systemd-cryptsetup 1295s systemd-resolved systemd-sysv systemd-timesyncd tar tzdata ucf udev usb.ids 1295s util-linux uuid-runtime whiptail xauth 1295s 139 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 1295s Need to get 64.0 MB of archives. 1295s After this operation, 28.5 MB of additional disk space will be used. 1295s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 1296s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-1ubuntu2 [108 kB] 1296s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 1296s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-12ubuntu1 [7892 B] 1296s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-12ubuntu1 [52.6 kB] 1296s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-12ubuntu1 [40.6 kB] 1296s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-12ubuntu1 [711 kB] 1296s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 1296s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.0-1ubuntu2 [29.4 kB] 1296s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.0-1ubuntu2 [1756 kB] 1296s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257-2ubuntu1 [41.2 kB] 1296s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257-2ubuntu1 [307 kB] 1296s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257-2ubuntu1 [122 kB] 1296s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-1ubuntu2 [62.3 kB] 1296s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-1ubuntu2 [99.4 kB] 1296s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-1ubuntu2 [155 kB] 1296s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-1ubuntu2 [167 kB] 1296s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-1ubuntu2 [189 kB] 1296s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-1ubuntu2 [135 kB] 1296s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-1ubuntu2 [39.5 kB] 1296s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-1ubuntu2 [1195 kB] 1296s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-1ubuntu2 [62.7 kB] 1296s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-1ubuntu2 [211 kB] 1296s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-1ubuntu2 [156 kB] 1296s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 1296s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 1296s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257-2ubuntu1 [160 kB] 1296s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257-2ubuntu1 [3489 kB] 1296s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257-2ubuntu1 [1974 kB] 1296s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257-2ubuntu1 [11.8 kB] 1296s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257-2ubuntu1 [233 kB] 1296s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257-2ubuntu1 [2156 kB] 1296s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257-2ubuntu1 [190 kB] 1296s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257-2ubuntu1 [483 kB] 1296s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 1296s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 1296s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 1296s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.18 [1085 kB] 1296s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.18 [1349 kB] 1296s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.18 [216 kB] 1296s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 1296s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 1296s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 1296s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu21 [88.9 kB] 1296s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu21 [351 kB] 1296s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu21 [246 kB] 1296s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu21 [160 kB] 1296s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu21 [238 kB] 1296s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu21 [536 kB] 1296s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu21 [118 kB] 1296s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu21 [359 kB] 1297s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu21 [113 kB] 1297s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu21 [228 kB] 1297s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.1-2 [868 kB] 1297s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.1-2 [2036 kB] 1297s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 1297s Get:57 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.13.1-1~exp2 [27.6 kB] 1297s Get:58 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.13.1-1~exp2 [23.9 kB] 1297s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 1297s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2024b-4ubuntu1 [196 kB] 1297s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.1-2 [1970 kB] 1297s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.1-2 [729 kB] 1297s Get:63 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.13.1-1~exp2 [10.2 kB] 1297s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.8-3 [667 kB] 1297s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.8-3 [1939 kB] 1297s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.8-3 [2029 kB] 1297s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.8-3 [825 kB] 1297s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.3.0+ds1-2 [422 kB] 1297s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.6build1 [21.0 kB] 1297s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.6build1 [174 kB] 1297s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0-0ubuntu2 [25.3 kB] 1297s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0-0ubuntu2 [93.1 kB] 1297s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.82.4-1 [52.2 kB] 1297s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.4-1 [93.0 kB] 1297s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-3 [25.3 kB] 1297s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.82.4-1 [182 kB] 1297s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.82.4-1 [1421 kB] 1297s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-3 [108 kB] 1297s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0-0ubuntu2 [18.2 kB] 1297s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0-0ubuntu2 [82.9 kB] 1297s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 1297s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 1297s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 1297s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 1297s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 1297s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 1297s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 1297s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2build1 [599 kB] 1297s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 1297s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 1297s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.0-1ubuntu2 [1159 kB] 1297s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 1297s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0046 [41.9 kB] 1297s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 1297s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-1 [214 kB] 1297s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 1297s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.22.5-3 [40.7 kB] 1297s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 1297s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 1297s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.44-3 [169 kB] 1297s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 1297s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 1298s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 1298s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2024.11.25-1 [282 kB] 1298s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241206.1516-0.1 [135 kB] 1298s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.1-2 [29.8 kB] 1298s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.8-3 [28.9 kB] 1298s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 1298s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2024.12.04-1 [223 kB] 1298s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 1298s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.11.1-1ubuntu1 [333 kB] 1298s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 1298s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 1298s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241221-1ubuntu1 [74.8 kB] 1298s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241221-1ubuntu1 [77.7 kB] 1298s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241221-1ubuntu1 [2986 kB] 1298s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241221-1ubuntu1 [408 kB] 1298s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241221-1ubuntu1 [3090 B] 1298s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241221-1ubuntu1 [222 kB] 1298s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241221-1ubuntu1 [12.1 kB] 1298s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.11.1-1ubuntu1 [244 kB] 1298s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.11.1-1ubuntu1 [337 kB] 1298s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu5 [37.3 kB] 1298s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 1298s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 1298s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.3-3 [5028 kB] 1299s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.3-3 [121 kB] 1299s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 1299s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 1299s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu21 [66.3 kB] 1299s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 1299s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.24.10-2 [1109 kB] 1299s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.106-1ubuntu1 [1321 kB] 1299s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-34 [45.7 kB] 1299s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 1299s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 24.2.0-1 [50.2 kB] 1299s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.3-1.1 [108 kB] 1299s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 1299s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 1299s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 24.3.0-1 [45.8 kB] 1299s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 1299s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 1299s Get:143 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.108 [16.5 kB] 1299s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.108 [30.9 kB] 1299s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 1300s Preconfiguring packages ... 1300s Fetched 64.0 MB in 4s (16.8 MB/s) 1300s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1300s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 1300s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 1300s Setting up bash (5.2.37-1ubuntu1) ... 1300s 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 1300s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1300s Preparing to unpack .../bsdutils_1%3a2.40.2-1ubuntu2_armhf.deb ... 1300s Unpacking bsdutils (1:2.40.2-1ubuntu2) over (1:2.40.2-1ubuntu1) ... 1300s Setting up bsdutils (1:2.40.2-1ubuntu2) ... 1300s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1300s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 1300s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 1300s Setting up tar (1.35+dfsg-3.1) ... 1300s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1300s Preparing to unpack .../libatomic1_14.2.0-12ubuntu1_armhf.deb ... 1300s Unpacking libatomic1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 1300s Preparing to unpack .../gcc-14-base_14.2.0-12ubuntu1_armhf.deb ... 1300s Unpacking gcc-14-base:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 1300s Setting up gcc-14-base:armhf (14.2.0-12ubuntu1) ... 1300s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1300s Preparing to unpack .../libgcc-s1_14.2.0-12ubuntu1_armhf.deb ... 1300s Unpacking libgcc-s1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 1300s Setting up libgcc-s1:armhf (14.2.0-12ubuntu1) ... 1301s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1301s Preparing to unpack .../libstdc++6_14.2.0-12ubuntu1_armhf.deb ... 1301s Unpacking libstdc++6:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 1301s Setting up libstdc++6:armhf (14.2.0-12ubuntu1) ... 1301s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1301s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 1301s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1301s Setting up libc6:armhf (2.40-4ubuntu1) ... 1301s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1301s Preparing to unpack .../libssl3t64_3.4.0-1ubuntu2_armhf.deb ... 1301s Unpacking libssl3t64:armhf (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 1301s Selecting previously unselected package openssl-provider-legacy. 1301s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu2_armhf.deb ... 1301s Unpacking openssl-provider-legacy (3.4.0-1ubuntu2) ... 1301s Setting up libssl3t64:armhf (3.4.0-1ubuntu2) ... 1301s Setting up openssl-provider-legacy (3.4.0-1ubuntu2) ... 1301s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1301s Preparing to unpack .../0-systemd-timesyncd_257-2ubuntu1_armhf.deb ... 1301s Unpacking systemd-timesyncd (257-2ubuntu1) over (256.5-2ubuntu4) ... 1301s Preparing to unpack .../1-systemd-resolved_257-2ubuntu1_armhf.deb ... 1301s Unpacking systemd-resolved (257-2ubuntu1) over (256.5-2ubuntu4) ... 1302s Preparing to unpack .../2-systemd-cryptsetup_257-2ubuntu1_armhf.deb ... 1302s Unpacking systemd-cryptsetup (257-2ubuntu1) over (256.5-2ubuntu4) ... 1302s Preparing to unpack .../3-eject_2.40.2-1ubuntu2_armhf.deb ... 1302s Unpacking eject (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1302s Preparing to unpack .../4-bsdextrautils_2.40.2-1ubuntu2_armhf.deb ... 1302s Unpacking bsdextrautils (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1302s Preparing to unpack .../5-fdisk_2.40.2-1ubuntu2_armhf.deb ... 1302s Unpacking fdisk (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1302s Preparing to unpack .../6-libblkid1_2.40.2-1ubuntu2_armhf.deb ... 1302s Unpacking libblkid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1302s Setting up libblkid1:armhf (2.40.2-1ubuntu2) ... 1302s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1302s Preparing to unpack .../libmount1_2.40.2-1ubuntu2_armhf.deb ... 1302s Unpacking libmount1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1302s Setting up libmount1:armhf (2.40.2-1ubuntu2) ... 1302s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1302s Preparing to unpack .../libsmartcols1_2.40.2-1ubuntu2_armhf.deb ... 1302s Unpacking libsmartcols1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1302s Setting up libsmartcols1:armhf (2.40.2-1ubuntu2) ... 1302s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1302s Preparing to unpack .../libuuid1_2.40.2-1ubuntu2_armhf.deb ... 1302s Unpacking libuuid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1302s Setting up libuuid1:armhf (2.40.2-1ubuntu2) ... 1302s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1302s Preparing to unpack .../util-linux_2.40.2-1ubuntu2_armhf.deb ... 1302s Unpacking util-linux (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1302s Setting up util-linux (2.40.2-1ubuntu2) ... 1303s fstrim.service is a disabled or a static unit not running, not starting it. 1303s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1303s Preparing to unpack .../0-uuid-runtime_2.40.2-1ubuntu2_armhf.deb ... 1303s Unpacking uuid-runtime (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1303s Preparing to unpack .../1-libfdisk1_2.40.2-1ubuntu2_armhf.deb ... 1303s Unpacking libfdisk1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1303s Preparing to unpack .../2-mount_2.40.2-1ubuntu2_armhf.deb ... 1303s Unpacking mount (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 1303s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 1303s Unpacking readline-common (8.2-6) over (8.2-5) ... 1303s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 1303s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 1303s 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' 1303s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 1303s 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' 1303s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 1303s Preparing to unpack .../5-libnss-systemd_257-2ubuntu1_armhf.deb ... 1303s Unpacking libnss-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1303s Preparing to unpack .../6-systemd_257-2ubuntu1_armhf.deb ... 1303s Unpacking systemd (257-2ubuntu1) over (256.5-2ubuntu4) ... 1304s Preparing to unpack .../7-udev_257-2ubuntu1_armhf.deb ... 1304s Unpacking udev (257-2ubuntu1) over (256.5-2ubuntu4) ... 1304s Preparing to unpack .../8-libsystemd-shared_257-2ubuntu1_armhf.deb ... 1304s Unpacking libsystemd-shared:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1304s Setting up libsystemd-shared:armhf (257-2ubuntu1) ... 1304s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1304s Preparing to unpack .../libsystemd0_257-2ubuntu1_armhf.deb ... 1304s Unpacking libsystemd0:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1304s Setting up libsystemd0:armhf (257-2ubuntu1) ... 1304s Setting up mount (2.40.2-1ubuntu2) ... 1304s Setting up systemd (257-2ubuntu1) ... 1304s Installing new version of config file /etc/systemd/logind.conf ... 1304s Installing new version of config file /etc/systemd/sleep.conf ... 1304s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 1304s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 1305s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 1305s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1305s Preparing to unpack .../systemd-sysv_257-2ubuntu1_armhf.deb ... 1306s Unpacking systemd-sysv (257-2ubuntu1) over (256.5-2ubuntu4) ... 1306s Preparing to unpack .../libpam-systemd_257-2ubuntu1_armhf.deb ... 1306s Unpacking libpam-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1306s Preparing to unpack .../libudev1_257-2ubuntu1_armhf.deb ... 1306s Unpacking libudev1:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 1306s Setting up libudev1:armhf (257-2ubuntu1) ... 1306s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1306s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 1306s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 1306s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 1306s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1306s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 1306s Unpacking base-passwd (3.6.6) over (3.6.5) ... 1306s Setting up base-passwd (3.6.6) ... 1306s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1306s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 1306s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1306s Setting up libc-bin (2.40-4ubuntu1) ... 1306s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1307s Preparing to unpack .../libapt-pkg6.0t64_2.9.18_armhf.deb ... 1307s Unpacking libapt-pkg6.0t64:armhf (2.9.18) over (2.9.14ubuntu1) ... 1307s Setting up libapt-pkg6.0t64:armhf (2.9.18) ... 1307s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1307s Preparing to unpack .../archives/apt_2.9.18_armhf.deb ... 1307s Unpacking apt (2.9.18) over (2.9.14ubuntu1) ... 1307s Setting up apt (2.9.18) ... 1308s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1308s Preparing to unpack .../apt-utils_2.9.18_armhf.deb ... 1308s Unpacking apt-utils (2.9.18) over (2.9.14ubuntu1) ... 1308s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 1308s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 1308s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 1308s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 1308s Setting up libgpg-error0:armhf (1.51-3) ... 1308s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1308s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 1308s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 1308s Setting up libnpth0t64:armhf (1.8-2) ... 1308s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1308s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu21_armhf.deb ... 1308s Unpacking gpg-wks-client (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1308s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu21_armhf.deb ... 1308s Unpacking dirmngr (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1308s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu21_armhf.deb ... 1308s Unpacking gpgsm (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1308s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu21_armhf.deb ... 1308s Unpacking gnupg-utils (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1308s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu21_armhf.deb ... 1308s Unpacking gpg-agent (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1308s Preparing to unpack .../5-gpg_2.4.4-2ubuntu21_armhf.deb ... 1308s Unpacking gpg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1308s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu21_armhf.deb ... 1308s Unpacking gpgconf (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1308s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu21_all.deb ... 1308s Unpacking gnupg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1308s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu21_armhf.deb ... 1308s Unpacking keyboxd (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1308s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu21_armhf.deb ... 1308s Unpacking gpgv (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1309s Setting up gpgv (2.4.4-2ubuntu21) ... 1309s Selecting previously unselected package libpython3.13-minimal:armhf. 1309s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1309s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_armhf.deb ... 1309s Unpacking libpython3.13-minimal:armhf (3.13.1-2) ... 1309s Selecting previously unselected package python3.13-minimal. 1309s Preparing to unpack .../python3.13-minimal_3.13.1-2_armhf.deb ... 1309s Unpacking python3.13-minimal (3.13.1-2) ... 1309s Preparing to unpack .../python3-cryptography_43.0.0-1_armhf.deb ... 1309s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 1309s Setting up libpython3.13-minimal:armhf (3.13.1-2) ... 1309s Setting up python3.13-minimal (3.13.1-2) ... 1310s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60284 files and directories currently installed.) 1310s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_armhf.deb ... 1310s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 1310s Setting up python3-minimal (3.13.1-1~exp2) ... 1311s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60284 files and directories currently installed.) 1311s Preparing to unpack .../00-python3_3.13.1-1~exp2_armhf.deb ... 1311s Unpacking python3 (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 1311s Selecting previously unselected package python3-bcrypt. 1311s Preparing to unpack .../01-python3-bcrypt_4.2.0-2.1_armhf.deb ... 1311s Unpacking python3-bcrypt (4.2.0-2.1) ... 1311s Preparing to unpack .../02-tzdata_2024b-4ubuntu1_all.deb ... 1311s Unpacking tzdata (2024b-4ubuntu1) over (2024b-1ubuntu2) ... 1311s Selecting previously unselected package libpython3.13-stdlib:armhf. 1311s Preparing to unpack .../03-libpython3.13-stdlib_3.13.1-2_armhf.deb ... 1311s Unpacking libpython3.13-stdlib:armhf (3.13.1-2) ... 1311s Selecting previously unselected package python3.13. 1311s Preparing to unpack .../04-python3.13_3.13.1-2_armhf.deb ... 1311s Unpacking python3.13 (3.13.1-2) ... 1311s Preparing to unpack .../05-libpython3-stdlib_3.13.1-1~exp2_armhf.deb ... 1311s Unpacking libpython3-stdlib:armhf (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 1311s Preparing to unpack .../06-python3.12_3.12.8-3_armhf.deb ... 1311s Unpacking python3.12 (3.12.8-3) over (3.12.7-3) ... 1311s Preparing to unpack .../07-libpython3.12-stdlib_3.12.8-3_armhf.deb ... 1311s Unpacking libpython3.12-stdlib:armhf (3.12.8-3) over (3.12.7-3) ... 1311s Preparing to unpack .../08-python3.12-minimal_3.12.8-3_armhf.deb ... 1311s Unpacking python3.12-minimal (3.12.8-3) over (3.12.7-3) ... 1312s Preparing to unpack .../09-libpython3.12-minimal_3.12.8-3_armhf.deb ... 1312s Unpacking libpython3.12-minimal:armhf (3.12.8-3) over (3.12.7-3) ... 1312s Preparing to unpack .../10-rsync_3.3.0+ds1-2_armhf.deb ... 1312s Unpacking rsync (3.3.0+ds1-2) over (3.3.0-1) ... 1312s Preparing to unpack .../11-python-apt-common_2.9.6build1_all.deb ... 1312s Unpacking python-apt-common (2.9.6build1) over (2.9.0ubuntu2) ... 1312s Preparing to unpack .../12-python3-apt_2.9.6build1_armhf.deb ... 1312s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1312s for fn in glob1(directory, "%s.*" % fname): 1312s Unpacking python3-apt (2.9.6build1) over (2.9.0ubuntu2) ... 1312s Preparing to unpack .../13-python3-problem-report_2.31.0-0ubuntu2_all.deb ... 1312s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1312s for fn in glob1(directory, "%s.*" % fname): 1312s Unpacking python3-problem-report (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 1312s Preparing to unpack .../14-python3-apport_2.31.0-0ubuntu2_all.deb ... 1312s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1312s for fn in glob1(directory, "%s.*" % fname): 1312s Unpacking python3-apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 1312s Preparing to unpack .../15-libglib2.0-data_2.82.4-1_all.deb ... 1312s Unpacking libglib2.0-data (2.82.4-1) over (2.82.2-3) ... 1312s Preparing to unpack .../16-libglib2.0-bin_2.82.4-1_armhf.deb ... 1312s Unpacking libglib2.0-bin (2.82.4-1) over (2.82.2-3) ... 1312s Preparing to unpack .../17-gir1.2-girepository-2.0_1.82.0-3_armhf.deb ... 1312s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-3) over (1.82.0-2) ... 1312s Preparing to unpack .../18-gir1.2-glib-2.0_2.82.4-1_armhf.deb ... 1312s Unpacking gir1.2-glib-2.0:armhf (2.82.4-1) over (2.82.2-3) ... 1312s Preparing to unpack .../19-libglib2.0-0t64_2.82.4-1_armhf.deb ... 1312s Unpacking libglib2.0-0t64:armhf (2.82.4-1) over (2.82.2-3) ... 1313s Preparing to unpack .../20-libgirepository-1.0-1_1.82.0-3_armhf.deb ... 1313s Unpacking libgirepository-1.0-1:armhf (1.82.0-3) over (1.82.0-2) ... 1313s Preparing to unpack .../21-apport-core-dump-handler_2.31.0-0ubuntu2_all.deb ... 1313s Unpacking apport-core-dump-handler (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 1313s Preparing to unpack .../22-apport_2.31.0-0ubuntu2_all.deb ... 1313s Unpacking apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 1313s Preparing to unpack .../23-libcap-ng0_0.8.5-4_armhf.deb ... 1313s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 1313s Setting up libcap-ng0:armhf (0.8.5-4) ... 1313s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60703 files and directories currently installed.) 1313s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 1313s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 1313s Setting up libunistring5:armhf (1.3-1) ... 1313s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60703 files and directories currently installed.) 1313s Preparing to unpack .../00-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 1313s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 1313s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 1313s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 1313s Preparing to unpack .../02-libfribidi0_1.0.16-1_armhf.deb ... 1313s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 1313s Preparing to unpack .../03-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 1313s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1313s for fn in glob1(directory, "%s.*" % fname): 1313s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1313s Preparing to unpack .../04-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 1313s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1313s Preparing to unpack .../05-libxml2_2.12.7+dfsg+really2.9.14-0.2build1_armhf.deb ... 1313s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) over (2.12.7+dfsg-3) ... 1313s Preparing to unpack .../06-libyaml-0-2_0.2.5-2_armhf.deb ... 1313s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 1314s Preparing to unpack .../07-locales_2.40-4ubuntu1_all.deb ... 1314s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1314s Preparing to unpack .../08-openssl_3.4.0-1ubuntu2_armhf.deb ... 1314s Unpacking openssl (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 1314s Preparing to unpack .../09-python3-rich_13.9.4-1_all.deb ... 1314s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1314s for fn in glob1(directory, "%s.*" % fname): 1314s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 1314s Preparing to unpack .../10-ucf_3.0046_all.deb ... 1314s Unpacking ucf (3.0046) over (3.0043+nmu1) ... 1314s Preparing to unpack .../11-whiptail_0.52.24-4ubuntu1_armhf.deb ... 1314s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1314s Preparing to unpack .../12-bash-completion_1%3a2.16.0-1_all.deb ... 1314s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 1315s Preparing to unpack .../13-ethtool_1%3a6.11-1_armhf.deb ... 1315s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 1315s Preparing to unpack .../14-gettext-base_0.22.5-3_armhf.deb ... 1315s Unpacking gettext-base (0.22.5-3) over (0.22.5-2) ... 1315s Preparing to unpack .../15-groff-base_1.23.0-7_armhf.deb ... 1315s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 1315s Preparing to unpack .../16-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 1315s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 1315s Preparing to unpack .../17-libpng16-16t64_1.6.44-3_armhf.deb ... 1315s Unpacking libpng16-16t64:armhf (1.6.44-3) over (1.6.44-2) ... 1315s Preparing to unpack .../18-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 1315s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 1315s Preparing to unpack .../19-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 1315s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 1315s Preparing to unpack .../20-libxkbcommon0_1.7.0-2_armhf.deb ... 1315s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 1315s Preparing to unpack .../21-pci.ids_0.0~2024.11.25-1_all.deb ... 1315s Unpacking pci.ids (0.0~2024.11.25-1) over (0.0~2024.10.24-1) ... 1315s Preparing to unpack .../22-publicsuffix_20241206.1516-0.1_all.deb ... 1315s Unpacking publicsuffix (20241206.1516-0.1) over (20231001.0357-0.1) ... 1315s Preparing to unpack .../23-python3.13-gdbm_3.13.1-2_armhf.deb ... 1315s Unpacking python3.13-gdbm (3.13.1-2) over (3.13.0-2) ... 1315s Preparing to unpack .../24-python3.12-gdbm_3.12.8-3_armhf.deb ... 1315s Unpacking python3.12-gdbm (3.12.8-3) over (3.12.7-3) ... 1315s Preparing to unpack .../25-python3-gdbm_3.13.1-1_armhf.deb ... 1315s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 1315s Preparing to unpack .../26-usb.ids_2024.12.04-1_all.deb ... 1315s Unpacking usb.ids (2024.12.04-1) over (2024.07.04-1) ... 1315s Preparing to unpack .../27-xauth_1%3a1.1.2-1.1_armhf.deb ... 1315s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 1315s Preparing to unpack .../28-libcurl3t64-gnutls_8.11.1-1ubuntu1_armhf.deb ... 1315s Unpacking libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 1315s Preparing to unpack .../29-libappstream5_1.0.4-1_armhf.deb ... 1315s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 1315s Preparing to unpack .../30-appstream_1.0.4-1_armhf.deb ... 1315s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 1316s Preparing to unpack .../31-libctf0_2.43.50.20241221-1ubuntu1_armhf.deb ... 1316s Unpacking libctf0:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 1316s Preparing to unpack .../32-libctf-nobfd0_2.43.50.20241221-1ubuntu1_armhf.deb ... 1316s Unpacking libctf-nobfd0:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 1316s Preparing to unpack .../33-binutils-arm-linux-gnueabihf_2.43.50.20241221-1ubuntu1_armhf.deb ... 1316s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 1316s Preparing to unpack .../34-libbinutils_2.43.50.20241221-1ubuntu1_armhf.deb ... 1316s Unpacking libbinutils:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 1316s Preparing to unpack .../35-binutils_2.43.50.20241221-1ubuntu1_armhf.deb ... 1316s Unpacking binutils (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 1316s Preparing to unpack .../36-binutils-common_2.43.50.20241221-1ubuntu1_armhf.deb ... 1316s Unpacking binutils-common:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 1316s Preparing to unpack .../37-libsframe1_2.43.50.20241221-1ubuntu1_armhf.deb ... 1316s Unpacking libsframe1:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 1316s Preparing to unpack .../38-curl_8.11.1-1ubuntu1_armhf.deb ... 1316s Unpacking curl (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 1316s Preparing to unpack .../39-libcurl4t64_8.11.1-1ubuntu1_armhf.deb ... 1316s Unpacking libcurl4t64:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 1316s Preparing to unpack .../40-dracut-install_105-2ubuntu5_armhf.deb ... 1316s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 1316s Preparing to unpack .../41-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 1316s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 1316s Preparing to unpack .../42-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 1316s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 1316s Preparing to unpack .../43-fwupd_2.0.3-3_armhf.deb ... 1316s Unpacking fwupd (2.0.3-3) over (2.0.2-1) ... 1317s Preparing to unpack .../44-libfwupd3_2.0.3-3_armhf.deb ... 1317s Unpacking libfwupd3:armhf (2.0.3-3) over (2.0.2-1) ... 1317s Preparing to unpack .../45-libqmi-proxy_1.35.6-1_armhf.deb ... 1317s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 1317s Preparing to unpack .../46-libqmi-glib5_1.35.6-1_armhf.deb ... 1317s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 1317s Preparing to unpack .../47-gnupg-l10n_2.4.4-2ubuntu21_all.deb ... 1317s Unpacking gnupg-l10n (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 1317s Preparing to unpack .../48-libftdi1-2_1.5-8_armhf.deb ... 1317s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 1317s Preparing to unpack .../49-libgstreamer1.0-0_1.24.10-2_armhf.deb ... 1317s Unpacking libgstreamer1.0-0:armhf (1.24.10-2) over (1.24.9-1) ... 1317s Preparing to unpack .../50-libnss3_2%3a3.106-1ubuntu1_armhf.deb ... 1317s Unpacking libnss3:armhf (2:3.106-1ubuntu1) over (2:3.103-1) ... 1317s Preparing to unpack .../51-libwrap0_7.6.q-34_armhf.deb ... 1317s Unpacking libwrap0:armhf (7.6.q-34) over (7.6.q-33) ... 1317s Preparing to unpack .../52-make_4.4.1-1_armhf.deb ... 1317s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 1317s Preparing to unpack .../53-python3-attr_24.2.0-1_all.deb ... 1317s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1317s for fn in glob1(directory, "%s.*" % fname): 1317s Unpacking python3-attr (24.2.0-1) over (23.2.0-2) ... 1317s Preparing to unpack .../54-python3-jinja2_3.1.3-1.1_all.deb ... 1318s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1318s for fn in glob1(directory, "%s.*" % fname): 1318s Unpacking python3-jinja2 (3.1.3-1.1) over (3.1.3-1ubuntu1) ... 1318s Preparing to unpack .../55-python3-json-pointer_2.4-3_all.deb ... 1318s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1318s for fn in glob1(directory, "%s.*" % fname): 1318s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 1318s Preparing to unpack .../56-python3-jsonpatch_1.32-5_all.deb ... 1318s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1318s for fn in glob1(directory, "%s.*" % fname): 1318s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 1318s Preparing to unpack .../57-python3-openssl_24.3.0-1_all.deb ... 1318s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1318s for fn in glob1(directory, "%s.*" % fname): 1318s Unpacking python3-openssl (24.3.0-1) over (24.2.1-1) ... 1318s Preparing to unpack .../58-python3-pkg-resources_75.6.0-1_all.deb ... 1318s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1318s for fn in glob1(directory, "%s.*" % fname): 1318s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 1318s Preparing to unpack .../59-python3-setuptools_75.6.0-1_all.deb ... 1318s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1318s for fn in glob1(directory, "%s.*" % fname): 1318s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 1319s Preparing to unpack .../60-software-properties-common_0.108_all.deb ... 1319s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1319s for fn in glob1(directory, "%s.*" % fname): 1319s Unpacking software-properties-common (0.108) over (0.105) ... 1319s Preparing to unpack .../61-python3-software-properties_0.108_all.deb ... 1319s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1319s for fn in glob1(directory, "%s.*" % fname): 1319s Unpacking python3-software-properties (0.108) over (0.105) ... 1319s Preparing to unpack .../62-python3-wadllib_2.0.0-2_all.deb ... 1319s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1319s for fn in glob1(directory, "%s.*" % fname): 1319s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 1319s Setting up systemd-sysv (257-2ubuntu1) ... 1319s Setting up pci.ids (0.0~2024.11.25-1) ... 1319s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 1319s Setting up apt-utils (2.9.18) ... 1319s Setting up bsdextrautils (2.40.2-1ubuntu2) ... 1319s Setting up libcurl4t64:armhf (8.11.1-1ubuntu1) ... 1319s Setting up libyaml-0-2:armhf (0.2.5-2) ... 1319s Setting up python3.12-gdbm (3.12.8-3) ... 1319s Setting up libpython3.12-minimal:armhf (3.12.8-3) ... 1319s Setting up binutils-common:armhf (2.43.50.20241221-1ubuntu1) ... 1319s Setting up libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) ... 1319s Setting up libctf-nobfd0:armhf (2.43.50.20241221-1ubuntu1) ... 1319s Setting up gettext-base (0.22.5-3) ... 1319s Setting up libnss-systemd:armhf (257-2ubuntu1) ... 1319s Setting up libnss3:armhf (2:3.106-1ubuntu1) ... 1319s Setting up locales (2.40-4ubuntu1) ... 1320s Generating locales (this might take a while)... 1322s en_US.UTF-8... done 1322s Generation complete. 1322s Setting up libsframe1:armhf (2.43.50.20241221-1ubuntu1) ... 1322s Setting up tzdata (2024b-4ubuntu1) ... 1322s 1322s Current default time zone: 'Etc/UTC' 1322s Local time is now: Fri Jan 3 15:20:56 UTC 2025. 1322s Universal Time is now: Fri Jan 3 15:20:56 UTC 2025. 1322s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1322s 1322s Setting up eject (2.40.2-1ubuntu2) ... 1322s Setting up libftdi1-2:armhf (1.5-8) ... 1322s Setting up libglib2.0-data (2.82.4-1) ... 1322s Setting up systemd-cryptsetup (257-2ubuntu1) ... 1322s Setting up libwrap0:armhf (7.6.q-34) ... 1322s Setting up make (4.4.1-1) ... 1322s Setting up gnupg-l10n (2.4.4-2ubuntu21) ... 1322s Setting up bash-completion (1:2.16.0-1) ... 1322s Setting up libfribidi0:armhf (1.0.16-1) ... 1322s Setting up libpng16-16t64:armhf (1.6.44-3) ... 1322s Setting up systemd-timesyncd (257-2ubuntu1) ... 1323s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 1323s Setting up libatomic1:armhf (14.2.0-12ubuntu1) ... 1323s Setting up udev (257-2ubuntu1) ... 1324s Setting up usb.ids (2024.12.04-1) ... 1324s Setting up ucf (3.0046) ... 1324s Installing new version of config file /etc/ucf.conf ... 1324s Setting up libfdisk1:armhf (2.40.2-1ubuntu2) ... 1324s Setting up whiptail (0.52.24-4ubuntu1) ... 1324s Setting up python-apt-common (2.9.6build1) ... 1324s Setting up dracut-install (105-2ubuntu5) ... 1324s Setting up uuid-runtime (2.40.2-1ubuntu2) ... 1325s uuidd.service is a disabled or a static unit not running, not starting it. 1325s Setting up xauth (1:1.1.2-1.1) ... 1325s Setting up groff-base (1.23.0-7) ... 1325s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 1325s Setting up libpam-systemd:armhf (257-2ubuntu1) ... 1325s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 1325s Setting up curl (8.11.1-1ubuntu1) ... 1325s Setting up libbinutils:armhf (2.43.50.20241221-1ubuntu1) ... 1325s Setting up openssl (3.4.0-1ubuntu2) ... 1325s Installing new version of config file /etc/ssl/openssl.cnf ... 1325s Setting up libgpg-error-l10n (1.51-3) ... 1325s Setting up iputils-ping (3:20240905-1ubuntu1) ... 1325s Setting up readline-common (8.2-6) ... 1325s Setting up publicsuffix (20241206.1516-0.1) ... 1325s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) ... 1325s Setting up libbpf1:armhf (1:1.5.0-2) ... 1325s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 1325s Setting up rsync (3.3.0+ds1-2) ... 1326s rsync.service is a disabled or a static unit not running, not starting it. 1326s Setting up python3.13-gdbm (3.13.1-2) ... 1326s Setting up ethtool (1:6.11-1) ... 1326s Setting up gnupg-utils (2.4.4-2ubuntu21) ... 1326s Setting up systemd-resolved (257-2ubuntu1) ... 1326s Setting up libxkbcommon0:armhf (1.7.0-2) ... 1326s Setting up libctf0:armhf (2.43.50.20241221-1ubuntu1) ... 1326s Setting up python3.12-minimal (3.12.8-3) ... 1328s Setting up libglib2.0-0t64:armhf (2.82.4-1) ... 1328s No schema files found: doing nothing. 1328s Setting up gir1.2-glib-2.0:armhf (2.82.4-1) ... 1328s Setting up libreadline8t64:armhf (8.2-6) ... 1328s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 1328s Setting up gpgconf (2.4.4-2ubuntu21) ... 1328s Setting up libgirepository-1.0-1:armhf (1.82.0-3) ... 1328s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241221-1ubuntu1) ... 1328s Setting up libpython3.13-stdlib:armhf (3.13.1-2) ... 1328s Setting up gpg (2.4.4-2ubuntu21) ... 1328s Setting up libgstreamer1.0-0:armhf (1.24.10-2) ... 1328s Setcap worked! gst-ptp-helper is not suid! 1328s Setting up libpython3-stdlib:armhf (3.13.1-1~exp2) ... 1328s Setting up gpg-agent (2.4.4-2ubuntu21) ... 1328s Setting up libpython3.12-stdlib:armhf (3.12.8-3) ... 1328s Setting up python3.13 (3.13.1-2) ... 1330s Setting up python3.12 (3.12.8-3) ... 1331s Setting up gpgsm (2.4.4-2ubuntu21) ... 1331s Setting up libglib2.0-bin (2.82.4-1) ... 1331s Setting up libappstream5:armhf (1.0.4-1) ... 1331s Setting up libqmi-glib5:armhf (1.35.6-1) ... 1331s Setting up python3 (3.13.1-1~exp2) ... 1331s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1331s for fn in glob1(directory, "%s.*" % fname): 1331s Setting up binutils (2.43.50.20241221-1ubuntu1) ... 1331s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 1332s Setting up fdisk (2.40.2-1ubuntu2) ... 1332s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 1332s Setting up dirmngr (2.4.4-2ubuntu21) ... 1332s Setting up python3-jinja2 (3.1.3-1.1) ... 1332s Setting up appstream (1.0.4-1) ... 1332s ✔ Metadata cache was updated successfully. 1332s Setting up gir1.2-girepository-2.0:armhf (1.82.0-3) ... 1332s Setting up python3-wadllib (2.0.0-2) ... 1333s Setting up keyboxd (2.4.4-2ubuntu21) ... 1333s Setting up python3-json-pointer (2.4-3) ... 1333s Setting up gnupg (2.4.4-2ubuntu21) ... 1333s Setting up python3-pkg-resources (75.6.0-1) ... 1333s Setting up python3-attr (24.2.0-1) ... 1334s Setting up python3-setuptools (75.6.0-1) ... 1336s Setting up gpg-wks-client (2.4.4-2ubuntu21) ... 1336s Setting up python3-rich (13.9.4-1) ... 1337s Setting up python3-gdbm:armhf (3.13.1-1) ... 1337s Setting up python3-problem-report (2.31.0-0ubuntu2) ... 1337s Setting up python3-apt (2.9.6build1) ... 1337s Setting up python3-jsonpatch (1.32-5) ... 1338s Setting up python3-bcrypt (4.2.0-2.1) ... 1338s Setting up libqmi-proxy (1.35.6-1) ... 1338s Setting up libfwupd3:armhf (2.0.3-3) ... 1338s Setting up python3-apport (2.31.0-0ubuntu2) ... 1338s Setting up python3-software-properties (0.108) ... 1338s Setting up python3-cryptography (43.0.0-1) ... 1339s Setting up fwupd (2.0.3-3) ... 1339s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 1339s fwupd.service is a disabled or a static unit not running, not starting it. 1339s Setting up python3-openssl (24.3.0-1) ... 1340s Setting up software-properties-common (0.108) ... 1340s Setting up apport-core-dump-handler (2.31.0-0ubuntu2) ... 1341s Setting up apport (2.31.0-0ubuntu2) ... 1341s apport-autoreport.service is a disabled or a static unit not running, not starting it. 1341s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1341s Processing triggers for shared-mime-info (2.4-5) ... 1341s Warning: program compiled against libxml 212 using older 209 1342s Processing triggers for debianutils (5.21) ... 1342s Processing triggers for install-info (7.1.1-1) ... 1342s Processing triggers for initramfs-tools (0.142ubuntu35) ... 1342s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1342s Processing triggers for systemd (257-2ubuntu1) ... 1342s Processing triggers for man-db (2.13.0-1) ... 1347s Reading package lists... 1347s Building dependency tree... 1347s Reading state information... 1348s Starting pkgProblemResolver with broken count: 0 1348s Starting 2 pkgProblemResolver with broken count: 0 1348s Done 1349s The following packages will be REMOVED: 1349s libassuan0* libnsl2* libpython3.12-minimal* libpython3.12-stdlib* 1349s python3.12* python3.12-minimal* 1349s 0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded. 1349s After this operation, 20.0 MB disk space will be freed. 1349s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60740 files and directories currently installed.) 1349s Removing libassuan0:armhf (2.5.6-1build1) ... 1349s Removing python3.12 (3.12.8-3) ... 1350s Removing libpython3.12-stdlib:armhf (3.12.8-3) ... 1350s Removing libnsl2:armhf (1.3.0-3build3) ... 1350s Removing python3.12-minimal (3.12.8-3) ... 1350s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1350s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 1350s Removing libpython3.12-minimal:armhf (3.12.8-3) ... 1350s Processing triggers for systemd (257-2ubuntu1) ... 1351s Processing triggers for man-db (2.13.0-1) ... 1351s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1351s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60020 files and directories currently installed.) 1351s Purging configuration files for python3.12-minimal (3.12.8-3) ... 1351s Purging configuration files for libpython3.12-minimal:armhf (3.12.8-3) ... 1353s autopkgtest [15:21:27]: rebooting testbed after setup commands that affected boot 1427s Reading package lists... 1427s Building dependency tree... 1427s Reading state information... 1428s Starting pkgProblemResolver with broken count: 0 1428s Starting 2 pkgProblemResolver with broken count: 0 1428s Done 1429s The following NEW packages will be installed: 1429s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 1429s libdrm-radeon1 libfontenc1 libfreetype6 libgbm1 libgio-2.0-dev-bin 1429s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa 1429s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 1429s libllvm19 libnsl2 libpixman-1-0 libpython3.12-minimal libpython3.12-stdlib 1429s libsm6 libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 libxcb-dri2-0 1429s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 1429s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 1429s libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 1429s native-architecture python3-dbusmock python3-packaging python3.12 1429s python3.12-minimal tzdata-legacy x11-common x11-xkb-utils xserver-common 1429s xvfb 1429s 0 upgraded, 58 newly installed, 0 to remove and 0 not upgraded. 1429s Need to get 41.3 MB/46.8 MB of archives. 1429s After this operation, 183 MB of additional disk space will be used. 1429s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libnsl2 armhf 1.3.0-3build3 [36.5 kB] 1429s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-x11 armhf 1.14.10-4ubuntu5 [22.8 kB] 1429s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf desktop-file-utils armhf 0.28-1 [48.5 kB] 1429s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf native-architecture all 0.2.3 [1990 B] 1429s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-2.0-0 armhf 2.82.4-1 [96.4 kB] 1429s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf girepository-tools armhf 2.82.4-1 [108 kB] 1429s Get:7 http://ftpmaster.internal/ubuntu plucky/universe armhf gnome-desktop-testing armhf 2021.1-4 [16.2 kB] 1429s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libdrm-radeon1 armhf 2.4.123-1 [18.1 kB] 1429s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libfontenc1 armhf 1:1.1.8-1build1 [11.5 kB] 1429s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libfreetype6 armhf 2.13.3+dfsg-1 [330 kB] 1429s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libwayland-server0 armhf 1.23.0-1 [29.4 kB] 1429s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-randr0 armhf 1.17.0-2 [17.0 kB] 1429s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libglapi-mesa armhf 24.2.8-1ubuntu1 [49.5 kB] 1429s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libllvm19 armhf 1:19.1.6-1ubuntu1 [27.8 MB] 1430s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libx11-xcb1 armhf 2:1.8.10-2 [7902 B] 1430s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-dri2-0 armhf 1.17.0-2 [6868 B] 1430s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-dri3-0 armhf 1.17.0-2 [7120 B] 1430s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-present0 armhf 1.17.0-2 [5940 B] 1430s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-sync1 armhf 1.17.0-2 [8732 B] 1430s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-xfixes0 armhf 1.17.0-2 [10.0 kB] 1430s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libxshmfence1 armhf 1.3-1build5 [4464 B] 1430s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf mesa-libgallium armhf 24.2.8-1ubuntu1 [7907 kB] 1430s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libgbm1 armhf 24.2.8-1ubuntu1 [28.2 kB] 1430s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 1430s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libgio-2.0-dev-bin armhf 2.82.4-1 [129 kB] 1430s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libvulkan1 armhf 1.3.296.0-1 [114 kB] 1430s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libgl1-mesa-dri armhf 24.2.8-1ubuntu1 [30.9 kB] 1430s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-dev-bin armhf 2.82.4-1 [18.1 kB] 1430s Get:29 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-dbusmock all 0.34.0-1 [92.2 kB] 1430s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata-legacy all 2024b-4ubuntu1 [99.2 kB] 1430s Get:31 http://ftpmaster.internal/ubuntu plucky/universe armhf libglib2.0-tests armhf 2.82.4-1 [2127 kB] 1430s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-glx0 armhf 1.17.0-2 [22.6 kB] 1430s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-shm0 armhf 1.17.0-2 [5774 B] 1431s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libxfixes3 armhf 1:6.0.0-2build1 [9038 B] 1431s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libxxf86vm1 armhf 1:1.1.4-1build4 [8068 B] 1431s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libglx-mesa0 armhf 24.2.8-1ubuntu1 [131 kB] 1431s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf x11-common all 1:7.7+23ubuntu3 [21.7 kB] 1431s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libice6 armhf 2:1.1.1-1 [36.5 kB] 1431s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libpixman-1-0 armhf 0.44.0-3 [183 kB] 1431s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libsm6 armhf 2:1.2.4-1 [15.1 kB] 1431s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libxt6t64 armhf 1:1.2.1-1.2build1 [145 kB] 1431s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libxmu6 armhf 2:1.1.3-3build2 [40.4 kB] 1431s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libxpm4 armhf 1:3.5.17-1build2 [30.1 kB] 1431s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libxaw7 armhf 2:1.0.16-1 [154 kB] 1431s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf libxfont2 armhf 1:2.0.6-1build1 [80.3 kB] 1431s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbfile1 armhf 1:1.1.0-1build4 [60.0 kB] 1431s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf libxrender1 armhf 1:0.9.10-1.1build1 [16.0 kB] 1431s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf libxrandr2 armhf 2:1.5.4-1 [15.8 kB] 1431s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf x11-xkb-utils armhf 7.7+9 [159 kB] 1431s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 1431s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf libglvnd0 armhf 1.7.0-1build1 [83.7 kB] 1431s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf libglx0 armhf 1.7.0-1build1 [39.3 kB] 1431s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf libgl1 armhf 1.7.0-1build1 [105 kB] 1431s Get:54 http://ftpmaster.internal/ubuntu plucky/universe armhf xvfb armhf 2:21.1.14-2ubuntu1 [730 kB] 1431s Fetched 41.3 MB in 2s (21.4 MB/s) 1431s Selecting previously unselected package libpython3.12-minimal:armhf. 1431s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60018 files and directories currently installed.) 1431s Preparing to unpack .../00-libpython3.12-minimal_3.12.8-3_armhf.deb ... 1431s Unpacking libpython3.12-minimal:armhf (3.12.8-3) ... 1431s Selecting previously unselected package python3.12-minimal. 1431s Preparing to unpack .../01-python3.12-minimal_3.12.8-3_armhf.deb ... 1431s Unpacking python3.12-minimal (3.12.8-3) ... 1432s Selecting previously unselected package libnsl2:armhf. 1432s Preparing to unpack .../02-libnsl2_1.3.0-3build3_armhf.deb ... 1432s Unpacking libnsl2:armhf (1.3.0-3build3) ... 1432s Selecting previously unselected package libpython3.12-stdlib:armhf. 1432s Preparing to unpack .../03-libpython3.12-stdlib_3.12.8-3_armhf.deb ... 1432s Unpacking libpython3.12-stdlib:armhf (3.12.8-3) ... 1432s Selecting previously unselected package python3.12. 1432s Preparing to unpack .../04-python3.12_3.12.8-3_armhf.deb ... 1432s Unpacking python3.12 (3.12.8-3) ... 1432s Selecting previously unselected package dbus-x11. 1432s Preparing to unpack .../05-dbus-x11_1.14.10-4ubuntu5_armhf.deb ... 1432s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 1432s Selecting previously unselected package desktop-file-utils. 1432s Preparing to unpack .../06-desktop-file-utils_0.28-1_armhf.deb ... 1432s Unpacking desktop-file-utils (0.28-1) ... 1432s Selecting previously unselected package native-architecture. 1432s Preparing to unpack .../07-native-architecture_0.2.3_all.deb ... 1432s Unpacking native-architecture (0.2.3) ... 1432s Selecting previously unselected package libgirepository-2.0-0:armhf. 1432s Preparing to unpack .../08-libgirepository-2.0-0_2.82.4-1_armhf.deb ... 1432s Unpacking libgirepository-2.0-0:armhf (2.82.4-1) ... 1432s Selecting previously unselected package girepository-tools:armhf. 1432s Preparing to unpack .../09-girepository-tools_2.82.4-1_armhf.deb ... 1432s Unpacking girepository-tools:armhf (2.82.4-1) ... 1432s Selecting previously unselected package gnome-desktop-testing. 1432s Preparing to unpack .../10-gnome-desktop-testing_2021.1-4_armhf.deb ... 1432s Unpacking gnome-desktop-testing (2021.1-4) ... 1432s Selecting previously unselected package libdrm-radeon1:armhf. 1432s Preparing to unpack .../11-libdrm-radeon1_2.4.123-1_armhf.deb ... 1432s Unpacking libdrm-radeon1:armhf (2.4.123-1) ... 1432s Selecting previously unselected package libfontenc1:armhf. 1432s Preparing to unpack .../12-libfontenc1_1%3a1.1.8-1build1_armhf.deb ... 1432s Unpacking libfontenc1:armhf (1:1.1.8-1build1) ... 1432s Selecting previously unselected package libfreetype6:armhf. 1432s Preparing to unpack .../13-libfreetype6_2.13.3+dfsg-1_armhf.deb ... 1432s Unpacking libfreetype6:armhf (2.13.3+dfsg-1) ... 1432s Selecting previously unselected package libwayland-server0:armhf. 1432s Preparing to unpack .../14-libwayland-server0_1.23.0-1_armhf.deb ... 1432s Unpacking libwayland-server0:armhf (1.23.0-1) ... 1432s Selecting previously unselected package libxcb-randr0:armhf. 1432s Preparing to unpack .../15-libxcb-randr0_1.17.0-2_armhf.deb ... 1432s Unpacking libxcb-randr0:armhf (1.17.0-2) ... 1432s Selecting previously unselected package libglapi-mesa:armhf. 1432s Preparing to unpack .../16-libglapi-mesa_24.2.8-1ubuntu1_armhf.deb ... 1432s Unpacking libglapi-mesa:armhf (24.2.8-1ubuntu1) ... 1432s Selecting previously unselected package libllvm19:armhf. 1432s Preparing to unpack .../17-libllvm19_1%3a19.1.6-1ubuntu1_armhf.deb ... 1432s Unpacking libllvm19:armhf (1:19.1.6-1ubuntu1) ... 1433s Selecting previously unselected package libx11-xcb1:armhf. 1433s Preparing to unpack .../18-libx11-xcb1_2%3a1.8.10-2_armhf.deb ... 1433s Unpacking libx11-xcb1:armhf (2:1.8.10-2) ... 1433s Selecting previously unselected package libxcb-dri2-0:armhf. 1433s Preparing to unpack .../19-libxcb-dri2-0_1.17.0-2_armhf.deb ... 1433s Unpacking libxcb-dri2-0:armhf (1.17.0-2) ... 1433s Selecting previously unselected package libxcb-dri3-0:armhf. 1433s Preparing to unpack .../20-libxcb-dri3-0_1.17.0-2_armhf.deb ... 1433s Unpacking libxcb-dri3-0:armhf (1.17.0-2) ... 1433s Selecting previously unselected package libxcb-present0:armhf. 1433s Preparing to unpack .../21-libxcb-present0_1.17.0-2_armhf.deb ... 1433s Unpacking libxcb-present0:armhf (1.17.0-2) ... 1434s Selecting previously unselected package libxcb-sync1:armhf. 1434s Preparing to unpack .../22-libxcb-sync1_1.17.0-2_armhf.deb ... 1434s Unpacking libxcb-sync1:armhf (1.17.0-2) ... 1434s Selecting previously unselected package libxcb-xfixes0:armhf. 1434s Preparing to unpack .../23-libxcb-xfixes0_1.17.0-2_armhf.deb ... 1434s Unpacking libxcb-xfixes0:armhf (1.17.0-2) ... 1434s Selecting previously unselected package libxshmfence1:armhf. 1434s Preparing to unpack .../24-libxshmfence1_1.3-1build5_armhf.deb ... 1434s Unpacking libxshmfence1:armhf (1.3-1build5) ... 1434s Selecting previously unselected package mesa-libgallium:armhf. 1434s Preparing to unpack .../25-mesa-libgallium_24.2.8-1ubuntu1_armhf.deb ... 1434s Unpacking mesa-libgallium:armhf (24.2.8-1ubuntu1) ... 1434s Selecting previously unselected package libgbm1:armhf. 1434s Preparing to unpack .../26-libgbm1_24.2.8-1ubuntu1_armhf.deb ... 1434s Unpacking libgbm1:armhf (24.2.8-1ubuntu1) ... 1434s Selecting previously unselected package python3-packaging. 1434s Preparing to unpack .../27-python3-packaging_24.2-1_all.deb ... 1434s Unpacking python3-packaging (24.2-1) ... 1434s Selecting previously unselected package libgio-2.0-dev-bin. 1434s Preparing to unpack .../28-libgio-2.0-dev-bin_2.82.4-1_armhf.deb ... 1434s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 1434s Selecting previously unselected package libvulkan1:armhf. 1434s Preparing to unpack .../29-libvulkan1_1.3.296.0-1_armhf.deb ... 1434s Unpacking libvulkan1:armhf (1.3.296.0-1) ... 1434s Selecting previously unselected package libgl1-mesa-dri:armhf. 1434s Preparing to unpack .../30-libgl1-mesa-dri_24.2.8-1ubuntu1_armhf.deb ... 1434s Unpacking libgl1-mesa-dri:armhf (24.2.8-1ubuntu1) ... 1434s Selecting previously unselected package libglib2.0-dev-bin. 1434s Preparing to unpack .../31-libglib2.0-dev-bin_2.82.4-1_armhf.deb ... 1434s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 1434s Selecting previously unselected package python3-dbusmock. 1434s Preparing to unpack .../32-python3-dbusmock_0.34.0-1_all.deb ... 1434s Unpacking python3-dbusmock (0.34.0-1) ... 1434s Selecting previously unselected package tzdata-legacy. 1434s Preparing to unpack .../33-tzdata-legacy_2024b-4ubuntu1_all.deb ... 1434s Unpacking tzdata-legacy (2024b-4ubuntu1) ... 1435s Selecting previously unselected package libglib2.0-tests. 1435s Preparing to unpack .../34-libglib2.0-tests_2.82.4-1_armhf.deb ... 1435s Unpacking libglib2.0-tests (2.82.4-1) ... 1435s Selecting previously unselected package libxcb-glx0:armhf. 1435s Preparing to unpack .../35-libxcb-glx0_1.17.0-2_armhf.deb ... 1435s Unpacking libxcb-glx0:armhf (1.17.0-2) ... 1435s Selecting previously unselected package libxcb-shm0:armhf. 1435s Preparing to unpack .../36-libxcb-shm0_1.17.0-2_armhf.deb ... 1435s Unpacking libxcb-shm0:armhf (1.17.0-2) ... 1435s Selecting previously unselected package libxfixes3:armhf. 1435s Preparing to unpack .../37-libxfixes3_1%3a6.0.0-2build1_armhf.deb ... 1435s Unpacking libxfixes3:armhf (1:6.0.0-2build1) ... 1435s Selecting previously unselected package libxxf86vm1:armhf. 1435s Preparing to unpack .../38-libxxf86vm1_1%3a1.1.4-1build4_armhf.deb ... 1435s Unpacking libxxf86vm1:armhf (1:1.1.4-1build4) ... 1435s Selecting previously unselected package libglx-mesa0:armhf. 1435s Preparing to unpack .../39-libglx-mesa0_24.2.8-1ubuntu1_armhf.deb ... 1435s Unpacking libglx-mesa0:armhf (24.2.8-1ubuntu1) ... 1435s Selecting previously unselected package x11-common. 1435s Preparing to unpack .../40-x11-common_1%3a7.7+23ubuntu3_all.deb ... 1435s Unpacking x11-common (1:7.7+23ubuntu3) ... 1435s Selecting previously unselected package libice6:armhf. 1435s Preparing to unpack .../41-libice6_2%3a1.1.1-1_armhf.deb ... 1435s Unpacking libice6:armhf (2:1.1.1-1) ... 1435s Selecting previously unselected package libpixman-1-0:armhf. 1435s Preparing to unpack .../42-libpixman-1-0_0.44.0-3_armhf.deb ... 1435s Unpacking libpixman-1-0:armhf (0.44.0-3) ... 1435s Selecting previously unselected package libsm6:armhf. 1435s Preparing to unpack .../43-libsm6_2%3a1.2.4-1_armhf.deb ... 1435s Unpacking libsm6:armhf (2:1.2.4-1) ... 1435s Selecting previously unselected package libxt6t64:armhf. 1435s Preparing to unpack .../44-libxt6t64_1%3a1.2.1-1.2build1_armhf.deb ... 1435s Unpacking libxt6t64:armhf (1:1.2.1-1.2build1) ... 1435s Selecting previously unselected package libxmu6:armhf. 1435s Preparing to unpack .../45-libxmu6_2%3a1.1.3-3build2_armhf.deb ... 1435s Unpacking libxmu6:armhf (2:1.1.3-3build2) ... 1435s Selecting previously unselected package libxpm4:armhf. 1435s Preparing to unpack .../46-libxpm4_1%3a3.5.17-1build2_armhf.deb ... 1435s Unpacking libxpm4:armhf (1:3.5.17-1build2) ... 1435s Selecting previously unselected package libxaw7:armhf. 1435s Preparing to unpack .../47-libxaw7_2%3a1.0.16-1_armhf.deb ... 1435s Unpacking libxaw7:armhf (2:1.0.16-1) ... 1435s Selecting previously unselected package libxfont2:armhf. 1436s Preparing to unpack .../48-libxfont2_1%3a2.0.6-1build1_armhf.deb ... 1436s Unpacking libxfont2:armhf (1:2.0.6-1build1) ... 1436s Selecting previously unselected package libxkbfile1:armhf. 1436s Preparing to unpack .../49-libxkbfile1_1%3a1.1.0-1build4_armhf.deb ... 1436s Unpacking libxkbfile1:armhf (1:1.1.0-1build4) ... 1436s Selecting previously unselected package libxrender1:armhf. 1436s Preparing to unpack .../50-libxrender1_1%3a0.9.10-1.1build1_armhf.deb ... 1436s Unpacking libxrender1:armhf (1:0.9.10-1.1build1) ... 1436s Selecting previously unselected package libxrandr2:armhf. 1436s Preparing to unpack .../51-libxrandr2_2%3a1.5.4-1_armhf.deb ... 1436s Unpacking libxrandr2:armhf (2:1.5.4-1) ... 1436s Selecting previously unselected package x11-xkb-utils. 1436s Preparing to unpack .../52-x11-xkb-utils_7.7+9_armhf.deb ... 1436s Unpacking x11-xkb-utils (7.7+9) ... 1436s Selecting previously unselected package xserver-common. 1436s Preparing to unpack .../53-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 1436s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 1436s Selecting previously unselected package libglvnd0:armhf. 1436s Preparing to unpack .../54-libglvnd0_1.7.0-1build1_armhf.deb ... 1436s Unpacking libglvnd0:armhf (1.7.0-1build1) ... 1436s Selecting previously unselected package libglx0:armhf. 1436s Preparing to unpack .../55-libglx0_1.7.0-1build1_armhf.deb ... 1436s Unpacking libglx0:armhf (1.7.0-1build1) ... 1436s Selecting previously unselected package libgl1:armhf. 1436s Preparing to unpack .../56-libgl1_1.7.0-1build1_armhf.deb ... 1436s Unpacking libgl1:armhf (1.7.0-1build1) ... 1436s Selecting previously unselected package xvfb. 1436s Preparing to unpack .../57-xvfb_2%3a21.1.14-2ubuntu1_armhf.deb ... 1436s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 1436s Setting up gnome-desktop-testing (2021.1-4) ... 1436s Setting up libxcb-dri3-0:armhf (1.17.0-2) ... 1436s Setting up libpixman-1-0:armhf (0.44.0-3) ... 1436s Setting up libllvm19:armhf (1:19.1.6-1ubuntu1) ... 1436s Setting up libwayland-server0:armhf (1.23.0-1) ... 1436s Setting up libx11-xcb1:armhf (2:1.8.10-2) ... 1436s Setting up native-architecture (0.2.3) ... 1436s Setting up libxcb-xfixes0:armhf (1.17.0-2) ... 1436s Setting up desktop-file-utils (0.28-1) ... 1436s Setting up libxpm4:armhf (1:3.5.17-1build2) ... 1436s Setting up libxrender1:armhf (1:0.9.10-1.1build1) ... 1436s Setting up libgirepository-2.0-0:armhf (2.82.4-1) ... 1436s Setting up libdrm-radeon1:armhf (2.4.123-1) ... 1436s Setting up libglvnd0:armhf (1.7.0-1build1) ... 1436s Setting up libxcb-glx0:armhf (1.17.0-2) ... 1436s Setting up libpython3.12-minimal:armhf (3.12.8-3) ... 1436s Setting up x11-common (1:7.7+23ubuntu3) ... 1436s Setting up libxcb-shm0:armhf (1.17.0-2) ... 1436s Setting up python3-dbusmock (0.34.0-1) ... 1437s Setting up tzdata-legacy (2024b-4ubuntu1) ... 1437s Setting up libxxf86vm1:armhf (1:1.1.4-1build4) ... 1437s Setting up libxcb-present0:armhf (1.17.0-2) ... 1437s Setting up libfontenc1:armhf (1:1.1.8-1build1) ... 1437s Setting up python3-packaging (24.2-1) ... 1437s Setting up libfreetype6:armhf (2.13.3+dfsg-1) ... 1437s Setting up libxfixes3:armhf (1:6.0.0-2build1) ... 1437s Setting up libxcb-sync1:armhf (1.17.0-2) ... 1437s Setting up libxrandr2:armhf (2:1.5.4-1) ... 1437s Setting up libglapi-mesa:armhf (24.2.8-1ubuntu1) ... 1437s Setting up libvulkan1:armhf (1.3.296.0-1) ... 1437s Setting up libxcb-dri2-0:armhf (1.17.0-2) ... 1437s Setting up libxshmfence1:armhf (1.3-1build5) ... 1437s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 1437s Setting up libxcb-randr0:armhf (1.17.0-2) ... 1437s Setting up libnsl2:armhf (1.3.0-3build3) ... 1437s Setting up libxkbfile1:armhf (1:1.1.0-1build4) ... 1437s Setting up libxfont2:armhf (1:2.0.6-1build1) ... 1437s Setting up python3.12-minimal (3.12.8-3) ... 1438s Setting up libice6:armhf (2:1.1.1-1) ... 1438s Setting up mesa-libgallium:armhf (24.2.8-1ubuntu1) ... 1438s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 1439s Setting up girepository-tools:armhf (2.82.4-1) ... 1439s Setting up libpython3.12-stdlib:armhf (3.12.8-3) ... 1439s Setting up libgbm1:armhf (24.2.8-1ubuntu1) ... 1439s Setting up python3.12 (3.12.8-3) ... 1440s Setting up libgl1-mesa-dri:armhf (24.2.8-1ubuntu1) ... 1440s Setting up libsm6:armhf (2:1.2.4-1) ... 1440s Setting up libglib2.0-dev-bin (2.82.4-1) ... 1440s Setting up libglx-mesa0:armhf (24.2.8-1ubuntu1) ... 1440s Setting up libglx0:armhf (1.7.0-1build1) ... 1440s Setting up libgl1:armhf (1.7.0-1build1) ... 1440s Setting up libxt6t64:armhf (1:1.2.1-1.2build1) ... 1440s Setting up libglib2.0-tests (2.82.4-1) ... 1440s Setting up libxmu6:armhf (2:1.1.3-3build2) ... 1440s Setting up libxaw7:armhf (2:1.0.16-1) ... 1440s Setting up x11-xkb-utils (7.7+9) ... 1440s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 1440s Setting up xvfb (2:21.1.14-2ubuntu1) ... 1440s Processing triggers for systemd (257-2ubuntu1) ... 1440s Processing triggers for man-db (2.13.0-1) ... 1441s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1458s autopkgtest [15:23:12]: test installed-tests: [----------------------- 1461s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 1461s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1461s group entry: ubuntu:x:1000: 1461s Environment: 1461s ADTTMP=/tmp/autopkgtest.zVLjS5/autopkgtest_tmp 1461s ADT_ARTIFACTS=/tmp/autopkgtest.zVLjS5/installed-tests-artifacts 1461s ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2 1461s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.zVLjS5/installed-tests-artifacts 1461s AUTOPKGTEST_TESTBED_ARCH=armhf 1461s AUTOPKGTEST_TEST_ARCH=armhf 1461s AUTOPKGTEST_TMP=/tmp/autopkgtest.zVLjS5/autopkgtest_tmp 1461s DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus 1461s DEBIAN_FRONTEND=noninteractive 1461s DEB_BUILD_OPTIONS=parallel=8 1461s GIO_USE_VFS=local 1461s GIO_USE_VOLUME_MONITOR=unix 1461s HOME=/home/ubuntu 1461s LANG=C.UTF-8 1461s LOGNAME=ubuntu 1461s MAIL=/var/mail/ubuntu 1461s OLDPWD=/root 1461s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1461s PWD=/tmp/autopkgtest.zVLjS5/build.dX0/src 1461s SHELL=/bin/bash 1461s SHLVL=1 1461s USER=ubuntu 1461s XDG_RUNTIME_DIR=/tmp/autopkgtest.zVLjS5/autopkgtest_tmp 1461s XDG_SESSION_CLASS=background 1461s XDG_SESSION_ID=c1 1461s XDG_SESSION_TYPE=unspecified 1461s http_proxy=http://squid.internal:3128 1461s https_proxy=http://squid.internal:3128 1461s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 1461s run-with-locales: de_DE=ISO-8859-1... 1461s Character set: ISO-8859-1 1461s Source file: de_DE 1461s Output: /tmp/tmp.Sf6SjRb9Yj/de_DE 1462s run-with-locales: de_DE.utf8... 1462s Character set: UTF-8 1462s Source file: de_DE 1462s Output: /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8 1464s run-with-locales: de_DE@euro.utf8... 1464s Character set: UTF-8 1464s Source file: de_DE@euro 1464s Output: /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8 1466s run-with-locales: el_GR.utf8... 1466s Character set: UTF-8 1466s Source file: el_GR 1466s Output: /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8 1468s run-with-locales: en_GB=ISO-8859-1... 1468s Character set: ISO-8859-1 1468s Source file: en_GB 1468s Output: /tmp/tmp.Sf6SjRb9Yj/en_GB 1469s run-with-locales: en_GB.utf8... 1469s Character set: UTF-8 1469s Source file: en_GB 1469s Output: /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8 1471s run-with-locales: en_US=ISO-8859-1... 1471s Character set: ISO-8859-1 1471s Source file: en_US 1471s Output: /tmp/tmp.Sf6SjRb9Yj/en_US 1471s run-with-locales: en_US.utf8... 1471s Character set: UTF-8 1471s Source file: en_US 1471s Output: /tmp/tmp.Sf6SjRb9Yj/en_US.utf8 1475s run-with-locales: es_ES.utf8... 1475s Character set: UTF-8 1475s Source file: es_ES 1475s Output: /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8 1478s run-with-locales: fa_IR=UTF-8... 1478s Character set: UTF-8 1478s Source file: fa_IR 1478s Output: /tmp/tmp.Sf6SjRb9Yj/fa_IR 1480s run-with-locales: fa_IR.utf8... 1480s Character set: UTF-8 1480s Source file: fa_IR 1480s Output: /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8 1482s run-with-locales: fr_FR.utf8... 1482s Character set: UTF-8 1482s Source file: fr_FR 1482s Output: /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8 1484s run-with-locales: hr_HR.utf8... 1484s Character set: UTF-8 1484s Source file: hr_HR 1484s Output: /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8 1486s run-with-locales: ja_JP.utf8... 1486s Character set: UTF-8 1486s Source file: ja_JP 1486s Output: /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8 1487s run-with-locales: ja_JP.EUC-JP... 1487s Character set: EUC-JP 1487s Source file: ja_JP 1487s Output: /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp 1487s run-with-locales: lt_LT.utf8... 1487s Character set: UTF-8 1487s Source file: lt_LT 1487s Output: /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8 1490s run-with-locales: pl_PL=ISO-8859-2... 1490s Character set: ISO-8859-2 1490s Source file: pl_PL 1490s Output: /tmp/tmp.Sf6SjRb9Yj/pl_PL 1490s run-with-locales: pl_PL.ISO-8859-2... 1490s Character set: ISO-8859-2 1490s Source file: pl_PL 1490s Output: /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592 1491s run-with-locales: pl_PL.utf8... 1491s Character set: UTF-8 1491s Source file: pl_PL 1491s Output: /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8 1493s run-with-locales: ru_RU=ISO-8859-5... 1493s Character set: ISO-8859-5 1493s Source file: ru_RU 1493s Output: /tmp/tmp.Sf6SjRb9Yj/ru_RU 1494s run-with-locales: ru_RU.utf8... 1494s Character set: UTF-8 1494s Source file: ru_RU 1494s Output: /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8 1496s run-with-locales: sr_RS=UTF-8... 1496s Character set: UTF-8 1496s Source file: sr_RS 1496s Output: /tmp/tmp.Sf6SjRb9Yj/sr_RS 1498s run-with-locales: sr_RS@latin=UTF-8... 1498s Character set: UTF-8 1498s Source file: sr_RS@latin 1498s Output: /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin 1500s run-with-locales: sv_SE=ISO-8859-1... 1500s Character set: ISO-8859-1 1500s Source file: sv_SE 1500s Output: /tmp/tmp.Sf6SjRb9Yj/sv_SE 1501s run-with-locales: sv_SE.utf8... 1501s Character set: UTF-8 1501s Source file: sv_SE 1501s Output: /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8 1503s run-with-locales: tr_TR=ISO-8859-9... 1503s Character set: ISO-8859-9 1503s Source file: tr_TR 1503s Output: /tmp/tmp.Sf6SjRb9Yj/tr_TR 1503s run-with-locales: tr_TR.utf8... 1503s Character set: UTF-8 1503s Source file: tr_TR 1503s Output: /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8 1505s run-with-locales: tt_RU=UTF-8... 1505s Character set: UTF-8 1505s Source file: tt_RU 1505s Output: /tmp/tmp.Sf6SjRb9Yj/tt_RU 1507s run-with-locales: tt_RU.utf8... 1507s Character set: UTF-8 1507s Source file: tt_RU 1507s Output: /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8 1509s run-with-locales: tt_RU@iqtelif=UTF-8... 1509s Character set: UTF-8 1509s Source file: tt_RU@iqtelif 1509s Output: /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif 1511s /tmp/tmp.Sf6SjRb9Yj 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/de_DE@euro.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/el_GR.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/en_GB.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/en_US 1511s /tmp/tmp.Sf6SjRb9Yj/en_US/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/en_US/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/en_US/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/en_US/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/en_US/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/en_US/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/en_US/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/en_US/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/en_US/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/en_US/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/en_US/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/en_US/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/en_US.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/en_US.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/en_US.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/en_US.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/en_US.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/en_US.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/en_US.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/en_US.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/en_US.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/en_US.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/en_US.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/en_US.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/en_US.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/es_ES.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/fa_IR.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/fr_FR.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/hr_HR.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/ja_JP.eucjp/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/lt_LT.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.iso88592/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/pl_PL.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/ru_RU.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/sr_RS@latin/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/sv_SE.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/tr_TR.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU.utf8/LC_IDENTIFICATION 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif/LC_CTYPE 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif/LC_NUMERIC 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif/LC_TIME 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif/LC_COLLATE 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif/LC_MONETARY 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif/LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif/LC_PAPER 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif/LC_NAME 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif/LC_ADDRESS 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif/LC_TELEPHONE 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif/LC_MEASUREMENT 1511s /tmp/tmp.Sf6SjRb9Yj/tt_RU@iqtelif/LC_IDENTIFICATION 1511s 1..319 1511s # Running test: glib/network-monitor.test 1511s TAP version 14 1511s # random seed: R02S85022a64d39ba277ff333dd68d701475 1511s 1..4 1511s # Start of network-monitor tests 1511s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1511s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1511s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1511s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1511s ok 1 /network-monitor/default 1511s ok 2 /network-monitor/remove_default 1511s ok 3 /network-monitor/add_networks 1511s ok 4 /network-monitor/remove_networks 1511s # End of network-monitor tests 1511s ok - glib/network-monitor.test 1511s # Running test: glib/overflow-fallback.test 1511s TAP version 14 1511s # random seed: R02S25c1ed0207f3c8f7c619c71b65a32de9 1511s 1..6 1511s # Start of glib tests 1511s # Start of checked-math tests 1511s ok 1 /glib/checked-math/guint-add 1511s ok 2 /glib/checked-math/guint-mul 1511s ok 3 /glib/checked-math/guint64-add 1511s ok 4 /glib/checked-math/guint64-mul 1511s ok 5 /glib/checked-math/gsize-add 1511s ok 6 /glib/checked-math/gsize-mul 1511s # End of checked-math tests 1511s # End of glib tests 1511s ok - glib/overflow-fallback.test 1511s # Running test: glib/portal-support-flatpak-network-only.test 1511s TAP version 14 1511s # random seed: R02S15613c0b6ea9b3f4540ca7a3d405bcfc 1511s 1..1 1511s # Start of portal-support tests 1511s # Start of flatpak tests 1511s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_1ORQZ2/portal-support/flatpak/network/.dirs/home 1511s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_1ORQZ2/portal-support/flatpak/network/.dirs/cache 1511s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_1ORQZ2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_1ORQZ2/portal-support/flatpak/network/.dirs/system-config2 1511s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_1ORQZ2/portal-support/flatpak/network/.dirs/config 1511s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_1ORQZ2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_1ORQZ2/portal-support/flatpak/network/.dirs/system-data2 1511s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_1ORQZ2/portal-support/flatpak/network/.dirs/data 1511s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_1ORQZ2/portal-support/flatpak/network/.dirs/state 1511s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_1ORQZ2/portal-support/flatpak/network/.dirs/runtime 1511s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_1ORQZ2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1511s ok 1 /portal-support/flatpak/network 1511s # End of flatpak tests 1511s # End of portal-support tests 1511s ok - glib/portal-support-flatpak-network-only.test 1511s # Running test: glib/closure-refcount.test 1511s TAP version 14 1511s # random seed: R02S63d3a7fdad045199f547e42032629e56 1511s 1..1 1511s # Start of closure tests 1511s # Init 0x116268e8 1512s # Yielding from thread2 1512s # Yielding from thread1 1512s # Yielding from thread2 1512s # Yielding from thread2 1512s # Yielding from thread2 1512s # Yielding from thread1 1512s # Yielding from main thread 1512s # Yielding from thread2 1512s # Yielding from thread1 1512s # Yielding from thread2 1513s # Yielding from thread2 1513s # Yielding from thread2 1513s # Yielding from thread2 1513s # Yielding from thread2 1513s # Yielding from main thread 1513s # Yielding from thread2 1513s # Yielding from thread1 1513s # Yielding from thread2 1514s # Yielding from thread1 1514s # Yielding from thread2 1514s # Yielding from thread1 1514s # Yielding from main thread 1514s # Yielding from thread2 1514s # Yielding from thread2 1514s # Yielding from thread2 1514s # Yielding from thread2 1514s # Yielding from thread1 1514s # Yielding from thread2 1515s # Yielding from thread2 1515s # Yielding from thread2 1515s # Yielding from main thread 1515s # Yielding from thread1 1515s # Yielding from thread2 1515s # Yielding from thread1 1515s # Yielding from thread2 1515s # Yielding from thread1 1515s # Yielding from main thread 1515s # Yielding from thread2 1515s # Yielding from thread1 1515s # Yielding from thread2 1516s # Yielding from thread1 1516s # Yielding from thread2 1516s # Yielding from main thread 1516s # Yielding from thread1 1516s # Yielding from thread2 1516s # Yielding from thread1 1516s # Yielding from thread2 1516s # Yielding from thread2 1516s # Yielding from thread1 1516s # Yielding from main thread 1516s # Yielding from thread2 1516s # Yielding from thread2 1517s # Yielding from thread2 1517s # Executing: glib/closure-refcount.test 1517s # Yielding from thread2 1517s # Yielding from thread2 1517s # Yielding from thread2 1517s # Yielding from thread1 1517s # Yielding from main thread 1517s # Yielding from thread2 1517s # Yielding from thread1 1517s # Yielding from thread2 1518s # Yielding from thread2 1518s # Yielding from thread2 1518s # Yielding from thread2 1518s # Yielding from thread2 1518s # Yielding from thread2 1518s # Yielding from thread2 1518s # Yielding from main thread 1518s # Yielding from thread2 1519s # Yielding from thread2 1519s # Yielding from thread2 1519s # Yielding from thread2 1519s # Yielding from thread2 1519s # Yielding from thread2 1519s # Yielding from thread2 1519s # Yielding from thread2 1520s # Yielding from thread1 1520s # Yielding from thread2 1520s # Stopping 1520s # Stopped 1520s ok 1 /closure/refcount 1520s # slow test /closure/refcount executed in 8.20 secs 1520s # End of closure tests 1520s ok - glib/closure-refcount.test 1520s # Running test: glib/macros.test 1520s TAP version 14 1520s # random seed: R02S87f1c3b40d466506004f28fc968e1a52 1520s 1..3 1520s # Start of alignof tests 1520s ok 1 /alignof/fallback 1520s # End of alignof tests 1520s # Start of assert tests 1520s ok 2 /assert/static 1520s # End of assert tests 1520s # Start of struct tests 1520s ok 3 /struct/sizeof_member 1520s # End of struct tests 1520s ok - glib/macros.test 1520s # Running test: glib/properties-refcount2.test 1520s TAP version 14 1520s # random seed: R02S2d1bfe1f256a0461573037c0ced5c026 1520s 1..1 1520s # Start of gobject tests 1520s # Start of refcount tests 1520s # init 0x48b0238 1520s # 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1520s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # . 1521s # dispose 0x48b0238! 1521s # 1521s ok 1 /gobject/refcount/properties-2 1521s # slow test /gobject/refcount/properties-2 executed in 1.60 secs 1521s # End of refcount tests 1521s # End of gobject tests 1521s ok - glib/properties-refcount2.test 1521s # Running test: glib/file-thumbnail.test 1521s TAP version 14 1521s # random seed: R02Sf8336dc4ee036f13478cbb75a62c4e5c 1521s 1..7 1521s # Start of file-thumbnail tests 1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/fail/.dirs/home 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/fail/.dirs/cache 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_D60MZ2/file-thumbnail/fail/.dirs/system-config2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/fail/.dirs/config 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_D60MZ2/file-thumbnail/fail/.dirs/system-data2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/fail/.dirs/data 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/fail/.dirs/state 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/fail/.dirs/runtime 1521s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1521s # Created test thumbnail at /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1521s ok 1 /file-thumbnail/fail 1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/home 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/cache 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/system-config2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/config 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/system-data2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/data 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/state 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/runtime 1521s # Created test thumbnail at /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1521s # Created test thumbnail at /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1521s # Created test thumbnail at /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1521s # Created test thumbnail at /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1521s # Created test thumbnail at /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1521s ok 2 /file-thumbnail/size-priority 1521s # Start of valid tests 1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/normal/.dirs/home 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/normal/.dirs/cache 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/normal/.dirs/system-config2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/normal/.dirs/config 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/normal/.dirs/system-data2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/normal/.dirs/data 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/normal/.dirs/state 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/normal/.dirs/runtime 1521s # Created test thumbnail at /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1521s ok 3 /file-thumbnail/valid/normal 1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/large/.dirs/home 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/large/.dirs/cache 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/large/.dirs/system-config2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/large/.dirs/config 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/large/.dirs/system-data2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/large/.dirs/data 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/large/.dirs/state 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/large/.dirs/runtime 1521s # Created test thumbnail at /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1521s ok 4 /file-thumbnail/valid/large 1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/x-large/.dirs/home 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/x-large/.dirs/cache 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/x-large/.dirs/system-config2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/x-large/.dirs/config 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/x-large/.dirs/system-data2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/x-large/.dirs/data 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/x-large/.dirs/state 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/x-large/.dirs/runtime 1521s # Created test thumbnail at /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1521s ok 5 /file-thumbnail/valid/x-large 1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/xx-large/.dirs/home 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/xx-large/.dirs/cache 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/xx-large/.dirs/system-config2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/xx-large/.dirs/config 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/xx-large/.dirs/system-data2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/xx-large/.dirs/data 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/xx-large/.dirs/state 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/xx-large/.dirs/runtime 1521s # Created test thumbnail at /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1521s ok 6 /file-thumbnail/valid/xx-large 1521s # End of valid tests 1521s # Start of unknown tests 1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/unknown/super-large/.dirs/home 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/unknown/super-large/.dirs/cache 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_D60MZ2/file-thumbnail/unknown/super-large/.dirs/system-config2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/unknown/super-large/.dirs/config 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_D60MZ2/file-thumbnail/unknown/super-large/.dirs/system-data2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/unknown/super-large/.dirs/data 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/unknown/super-large/.dirs/state 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/unknown/super-large/.dirs/runtime 1521s # Created test thumbnail at /tmp/test_file-thumbnail_D60MZ2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1521s ok 7 /file-thumbnail/unknown/super-large 1521s # End of unknown tests 1521s # End of file-thumbnail tests 1521s ok - glib/file-thumbnail.test 1521s # Running test: glib/repository-search-paths.test 1521s TAP version 14 1521s # random seed: R02S4170772c97035cb3b026caae37731bac 1521s 1..4 1521s # Start of repository tests 1521s # Start of search-paths tests 1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/default/.dirs/home 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/default/.dirs/cache 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/default/.dirs/system-config2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/default/.dirs/config 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/default/.dirs/system-data2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/default/.dirs/data 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/default/.dirs/state 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/default/.dirs/runtime 1521s ok 1 /repository/search-paths/default 1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/prepend/.dirs/home 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/prepend/.dirs/cache 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/prepend/.dirs/system-config2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/prepend/.dirs/config 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/prepend/.dirs/system-data2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/prepend/.dirs/data 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/prepend/.dirs/state 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_HZHNZ2/repository/search-paths/prepend/.dirs/runtime 1521s ok 2 /repository/search-paths/prepend 1521s # End of search-paths tests 1521s # Start of library-paths tests 1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/default/.dirs/home 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/default/.dirs/cache 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/default/.dirs/system-config2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/default/.dirs/config 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/default/.dirs/system-data2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/default/.dirs/data 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/default/.dirs/state 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/default/.dirs/runtime 1521s ok 3 /repository/library-paths/default 1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/prepend/.dirs/home 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/prepend/.dirs/cache 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/prepend/.dirs/system-config2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/prepend/.dirs/config 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/prepend/.dirs/system-data2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/prepend/.dirs/data 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/prepend/.dirs/state 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_HZHNZ2/repository/library-paths/prepend/.dirs/runtime 1521s ok 4 /repository/library-paths/prepend 1521s # End of library-paths tests 1521s # End of repository tests 1521s ok - glib/repository-search-paths.test 1521s # Running test: glib/object.test 1521s TAP version 14 1521s # random seed: R02S0695e47d8d066092fe9fadbd56c1c809 1521s 1..2 1521s # Start of object tests 1521s # Start of constructor tests 1521s ok 1 /object/constructor/singleton 1521s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1521s # End of constructor tests 1521s # End of object tests 1521s ok - glib/object.test 1521s # Running test: glib/node.test 1521s TAP version 14 1521s # random seed: R02S510c7478e07980ee9f4331778e2ecb40 1521s 1..6 1521s # Start of node tests 1521s ok 1 /node/allocation 1521s ok 2 /node/construction 1521s ok 3 /node/traversal 1521s ok 4 /node/misc 1521s ok 5 /node/unlink 1521s ok 6 /node/copy 1521s # End of node tests 1521s ok - glib/node.test 1521s # Running test: glib/object-info.test 1521s TAP version 14 1521s # random seed: R02S33a7a91f21d61443edaf5ed3a0d990cc 1521s 1..2 1521s # Start of object-info tests 1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_122NZ2/object-info/find-method-using-interfaces/.dirs/home 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_122NZ2/object-info/find-method-using-interfaces/.dirs/cache 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_122NZ2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_122NZ2/object-info/find-method-using-interfaces/.dirs/system-config2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_122NZ2/object-info/find-method-using-interfaces/.dirs/config 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_122NZ2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_122NZ2/object-info/find-method-using-interfaces/.dirs/system-data2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_122NZ2/object-info/find-method-using-interfaces/.dirs/data 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_122NZ2/object-info/find-method-using-interfaces/.dirs/state 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_122NZ2/object-info/find-method-using-interfaces/.dirs/runtime 1521s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1521s ok 1 /object-info/find-method-using-interfaces 1521s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_122NZ2/object-info/find-vfunc-using-interfaces/.dirs/home 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_122NZ2/object-info/find-vfunc-using-interfaces/.dirs/cache 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_122NZ2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_122NZ2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_122NZ2/object-info/find-vfunc-using-interfaces/.dirs/config 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_122NZ2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_122NZ2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_122NZ2/object-info/find-vfunc-using-interfaces/.dirs/data 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_122NZ2/object-info/find-vfunc-using-interfaces/.dirs/state 1521s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_122NZ2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1521s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1521s ok 2 /object-info/find-vfunc-using-interfaces 1521s # End of object-info tests 1521s ok - glib/object-info.test 1521s # Running test: glib/module-test-library.test 1521s TAP version 14 1521s # random seed: R02S6e72791071b117ffbe5e8717fc823df1 1521s 1..3 1521s # Start of module tests 1521s ok 1 /module/basics 1521s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1521s ok 2 /module/invalid-libtool-archive 1521s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1521s ok 3 /module/local-binding 1521s # End of module tests 1521s ok - glib/module-test-library.test 1521s # Running test: glib/signals-refcount4.test 1521s TAP version 14 1521s # random seed: R02Sb20d306537f79e13f45f25b595d888c0 1521s 1..1 1521s # Start of gobject tests 1521s # Start of refcount tests 1521s # init 0x68c7a58 1521s # 1521s # init 0x68c7bb0 1521s # 1522s # Executing: glib/signals-refcount4.test 1526s # dispose 0x68c7a58! 1526s # 1526s # dispose 0x68c7bb0! 1526s # 1526s ok 1 /gobject/refcount/signals 1526s # slow test /gobject/refcount/signals executed in 5.00 secs 1526s # End of refcount tests 1526s # End of gobject tests 1526s ok - glib/signals-refcount4.test 1526s # Running test: glib/rcbox.test 1526s TAP version 14 1526s # random seed: R02S65783aa6cb5be2a0f116cfd58a810ca2 1526s 1..8 1526s # Start of rcbox tests 1526s ok 1 /rcbox/new 1526s # global_point = 0xfe2a0b8 1526s ok 2 /rcbox/release-full 1526s # global_point_a = 0xfe2a0b8 1526s # global_point_b = 0xfe31fb8 1526s ok 3 /rcbox/dup 1526s ok 4 /rcbox/alignment 1526s # End of rcbox tests 1526s # Start of atomic-rcbox tests 1526s ok 5 /atomic-rcbox/new 1526s # global_point = 0xfe2a1e8 1526s ok 6 /atomic-rcbox/release-full 1526s # global_point_a = 0xfe2a1e8 1526s # global_point_b = 0xfe2a1c8 1526s ok 7 /atomic-rcbox/dup 1526s ok 8 /atomic-rcbox/alignment 1526s # End of atomic-rcbox tests 1526s ok - glib/rcbox.test 1526s # Running test: glib/singleton.test 1526s TAP version 14 1526s # random seed: R02S8bd4b14d9eebe921bf71fb662ee24d47 1526s 1..2 1526s # Start of gobject tests 1526s # Start of singleton tests 1526s ok 1 /gobject/singleton/construction 1526s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1526s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1526s ok 2 /gobject/singleton/construct-property 1526s # End of singleton tests 1526s # End of gobject tests 1526s ok - glib/singleton.test 1526s # Running test: glib/tls-database.test 1526s TAP version 14 1526s # random seed: R02S0d86160c9a84b50de45c1477d3dc9c39 1526s 1..1 1526s # Start of tls-backend tests 1526s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1526s ok 1 /tls-backend/set-default-database 1526s # End of tls-backend tests 1526s ok - glib/tls-database.test 1526s # Running test: glib/unicode-encoding.test 1526s TAP version 14 1526s # random seed: R02Se63a2cb13e4da3fa911affbbab13f0ba 1526s 1..1 1526s # Start of unicode tests 1526s ok 1 /unicode/encoding 1526s # End of unicode tests 1526s ok - glib/unicode-encoding.test 1526s # Running test: glib/module-test-plugin.test 1526s TAP version 14 1526s # random seed: R02S4615a09811ba474fe0150f245ef4c21a 1526s 1..3 1526s # Start of module tests 1526s ok 1 /module/basics 1526s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1526s ok 2 /module/invalid-libtool-archive 1526s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1526s ok 3 /module/local-binding 1526s # End of module tests 1526s ok - glib/module-test-plugin.test 1526s # Running test: glib/environment.test 1526s TAP version 14 1526s # random seed: R02S343a7aceb072a7cf54ce820b587aca0b 1526s 1..6 1526s # Start of environ tests 1526s # /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. 1526s ok 1 /environ/listenv 1526s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1526s ok 2 /environ/getenv 1526s ok 3 /environ/setenv 1526s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1526s ok 4 /environ/array 1526s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1526s ok 5 /environ/null 1526s # /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. 1526s ok 6 /environ/case 1526s # End of environ tests 1526s ok - glib/environment.test 1526s # Running test: glib/cache.test 1526s TAP version 14 1526s # random seed: R02S2072cfbb5c18345cf8d10c9b4ba0aa02 1526s 1..1 1526s # Start of cache tests 1526s ok 1 /cache/basic 1526s # End of cache tests 1526s ok - glib/cache.test 1526s # Running test: glib/inet-address.test 1526s TAP version 14 1526s # random seed: R02S9398605012e352e5792d68c075f6da54 1526s 1..11 1526s # Start of inet-address tests 1526s ok 1 /inet-address/parse 1526s ok 2 /inet-address/any 1526s ok 3 /inet-address/loopback 1526s ok 4 /inet-address/bytes 1526s ok 5 /inet-address/property 1526s # End of inet-address tests 1526s # Start of socket-address tests 1526s ok 6 /socket-address/basic 1526s ok 7 /socket-address/to-string 1526s # End of socket-address tests 1526s # Start of address-mask tests 1526s ok 8 /address-mask/parse 1526s ok 9 /address-mask/property 1526s ok 10 /address-mask/equal 1526s ok 11 /address-mask/match 1526s # End of address-mask tests 1526s ok - glib/inet-address.test 1526s # Running test: glib/closure.test 1526s TAP version 14 1526s # random seed: R02S28ad6ab5e3049e72e322eeff98ea45ec 1526s 1..6 1526s # Start of closure tests 1526s ok 1 /closure/idle 1526s ok 2 /closure/timeout 1526s ok 3 /closure/iochannel 1526s ok 4 /closure/child 1526s ok 5 /closure/fd 1526s ok 6 /closure/signal 1526s # End of closure tests 1526s ok - glib/closure.test 1526s # Running test: glib/queue.test 1526s TAP version 14 1526s # random seed: R02Sca1e4e8f256f1a0a190fe976f55fde90 1526s 1..12 1526s # Start of queue tests 1526s ok 1 /queue/basic 1526s ok 2 /queue/copy 1526s ok 3 /queue/off-by-one 1526s ok 4 /queue/find-custom 1526s ok 5 /queue/static 1526s ok 6 /queue/clear 1526s ok 7 /queue/free-full 1526s ok 8 /queue/clear-full 1526s ok 9 /queue/insert-sibling-link 1526s ok 10 /queue/push-nth-link 1526s # Start of clear-full tests 1526s ok 11 /queue/clear-full/noop 1526s # End of clear-full tests 1526s # Start of random tests 1527s ok 12 /queue/random/seed:227028382 1527s # End of random tests 1527s # End of queue tests 1527s ok - glib/queue.test 1527s # Running test: glib/socket-listener.test 1527s TAP version 14 1527s # random seed: R02Sf2273bbfa9cac24593920d216f789b35 1527s 1..1 1527s # Start of socket-listener tests 1527s ok 1 /socket-listener/event-signal 1527s # End of socket-listener tests 1527s ok - glib/socket-listener.test 1527s # Running test: glib/642026.test 1527s TAP version 14 1527s # random seed: R02S6df76c4efe11a42d84457bee32f35233 1527s 1..1 1527s # Start of glib tests 1527s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1527s ok 1 /glib/642026 1527s # End of glib tests 1527s ok - glib/642026.test 1527s # Running test: glib/gdbus-message.test 1527s TAP version 14 1527s # random seed: R02S97803fb03ec58e64e491a72d34e00d06 1527s 1..3 1527s # Start of gdbus tests 1527s # Start of message tests 1527s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/lock/.dirs/home 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/lock/.dirs/cache 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_24AWZ2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_24AWZ2/gdbus/message/lock/.dirs/system-config2 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/lock/.dirs/config 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_24AWZ2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_24AWZ2/gdbus/message/lock/.dirs/system-data2 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/lock/.dirs/data 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/lock/.dirs/state 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_24AWZ2/gdbus/message/lock/.dirs/runtime 1527s ok 1 /gdbus/message/lock 1527s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/copy/.dirs/home 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/copy/.dirs/cache 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_24AWZ2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_24AWZ2/gdbus/message/copy/.dirs/system-config2 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/copy/.dirs/config 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_24AWZ2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_24AWZ2/gdbus/message/copy/.dirs/system-data2 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/copy/.dirs/data 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/copy/.dirs/state 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_24AWZ2/gdbus/message/copy/.dirs/runtime 1527s ok 2 /gdbus/message/copy 1527s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/bytes-needed/.dirs/home 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/bytes-needed/.dirs/cache 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_24AWZ2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_24AWZ2/gdbus/message/bytes-needed/.dirs/system-config2 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/bytes-needed/.dirs/config 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_24AWZ2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_24AWZ2/gdbus/message/bytes-needed/.dirs/system-data2 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/bytes-needed/.dirs/data 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_24AWZ2/gdbus/message/bytes-needed/.dirs/state 1527s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_24AWZ2/gdbus/message/bytes-needed/.dirs/runtime 1527s # Vector: 0 1527s # Vector: 1 1527s # Vector: 2 1527s # Vector: 3 1527s # Vector: 4 1527s # Vector: 5 1527s ok 3 /gdbus/message/bytes-needed 1527s # End of message tests 1527s # End of gdbus tests 1527s ok - glib/gdbus-message.test 1527s # Running test: glib/utf8-pointer.test 1527s TAP version 14 1527s # random seed: R02Sf8e78a1e499e1960649f8f90b40195a9 1527s 1..3 1527s # Start of utf8 tests 1527s # Executing: glib/utf8-pointer.test 1528s ok 1 /utf8/offsets 1528s # slow test /utf8/offsets executed in 1.00 secs 1528s ok 2 /utf8/lengths 1528s ok 3 /utf8/find 1528s # End of utf8 tests 1528s ok - glib/utf8-pointer.test 1528s # Running test: glib/atomic-c-11.test 1528s TAP version 14 1528s # random seed: R02Sd9bfeee1c8c83db6de74dd70bca821c7 1528s 1..2 1528s # Start of atomic tests 1528s ok 1 /atomic/types 1528s ok 2 /atomic/threaded 1528s # End of atomic tests 1528s ok - glib/atomic-c-11.test 1528s # Running test: glib/search-utils.test 1528s TAP version 14 1528s # random seed: R02S6e232025b929e257c9b06b289ed7d947 1528s # GLib-DEBUG: Current user locale: C.UTF-8 1528s 1..6 1528s # Start of search tests 1528s # GLib-DEBUG: Started 1528s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1528s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1528s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1528s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1528s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1528s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1528s ok 1 /search/basic 1528s # GLib-DEBUG: Started 1528s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1528s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1528s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1528s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1528s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1528s ok 2 /search/composed 1528s # GLib-DEBUG: Started 1528s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1528s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1528s ok 3 /search/decomposed 1528s # GLib-DEBUG: Started 1528s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1528s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1528s ok 4 /search/turkish 1528s # GLib-DEBUG: Started 1528s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1528s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1528s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1528s ok 5 /search/c_locale_unicode 1528s # GLib-DEBUG: Started 1528s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1528s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1528s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1528s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1528s ok 6 /search/multi_words 1528s # End of search tests 1528s ok - glib/search-utils.test 1528s # Running test: glib/completion.test 1528s TAP version 14 1528s # random seed: R02S27d4cd44b1ccf976654a6edd0f8dbd15 1528s 1..1 1528s # Start of completion tests 1528s ok 1 /completion/test-completion 1528s # End of completion tests 1528s ok - glib/completion.test 1528s # Running test: glib/onceinit.test 1528s TAP version 14 1528s # random seed: R02S9fafc640df00e85ff69e44ed459f37cf 1528s 1..1 1528s # Start of thread tests 1528s ok 1 /thread/onceinit 1528s # End of thread tests 1528s ok - glib/onceinit.test 1528s # Running test: glib/proxy-test.test 1528s TAP version 14 1528s # random seed: R02S31605f54783c10308c8b1ce658d5bd6b 1528s 1..11 1528s # Start of proxy tests 1528s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1528s ok 1 /proxy/direct_sync 1528s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1528s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x9849820 and GSocketClientAsyncConnectData 0x98470e8 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1528s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x984a0c0 for GSocketClientAsyncConnectData 0x98470e8 1528s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1528s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1528s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1528s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1528s ok 2 /proxy/direct_async 1528s ok 3 /proxy/single_sync 1528s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1528s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x984a000 and GSocketClientAsyncConnectData 0x9849fb8 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1528s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x984b1a8 for GSocketClientAsyncConnectData 0x9849fb8 1528s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1528s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1528s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1528s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1528s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1528s ok 4 /proxy/single_async 1528s ok 5 /proxy/multiple_sync 1528s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1528s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x9845080 and GSocketClientAsyncConnectData 0x984ad88 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1528s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x984b678 for GSocketClientAsyncConnectData 0x984ad88 1528s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1528s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1528s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1528s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1528s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x9845130 for GSocketClientAsyncConnectData 0x984ad88 1528s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1528s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1528s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1528s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1528s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1528s ok 6 /proxy/multiple_async 1528s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1528s ok 7 /proxy/invalid-uris-sync 1528s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1528s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1528s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x9845080 and GSocketClientAsyncConnectData 0x984b118 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1528s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1528s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1528s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x984aca0 and GSocketClientAsyncConnectData 0x984b118 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1528s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1528s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1528s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x9849bb0 and GSocketClientAsyncConnectData 0x984b118 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1528s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x984b730 for GSocketClientAsyncConnectData 0x984b118 1528s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1528s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1528s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1528s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1528s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1528s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x984aca0 and GSocketClientAsyncConnectData 0x9849fe8 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1528s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x984b868 for GSocketClientAsyncConnectData 0x9849fe8 1528s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1528s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1528s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1528s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1528s ok 8 /proxy/invalid-uris-async 1528s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1528s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x984b1d0 and GSocketClientAsyncConnectData 0x984aea8 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1528s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1528s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1528s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1528s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x984b400 and GSocketClientAsyncConnectData 0x9849fe8 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1528s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x984b660 for GSocketClientAsyncConnectData 0x9849fe8 1528s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1528s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1528s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1528s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1528s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1528s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1528s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x984b400 and GSocketClientAsyncConnectData 0x984aea8 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1528s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x984b218 for GSocketClientAsyncConnectData 0x984aea8 1528s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1528s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1528s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1528s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1528s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1528s ok 9 /proxy/dns 1528s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1528s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x984b400 and GSocketClientAsyncConnectData 0x9849c88 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1528s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x984b610 for GSocketClientAsyncConnectData 0x9849c88 1528s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1528s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1528s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1528s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1528s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1528s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1528s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x984b400 and GSocketClientAsyncConnectData 0x984aa90 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1528s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x984b610 for GSocketClientAsyncConnectData 0x984aa90 1528s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1528s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1528s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1528s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1528s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1528s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1528s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x984b400 and GSocketClientAsyncConnectData 0x984ac98 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1528s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x984b610 for GSocketClientAsyncConnectData 0x984ac98 1528s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1528s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1528s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1528s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1528s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1528s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1528s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1528s ok 10 /proxy/override 1528s ok 11 /proxy/enumerator-ports 1528s # End of proxy tests 1528s ok - glib/proxy-test.test 1528s # Running test: glib/io-channel-basic.test 1528s TAP version 14 1528s # random seed: R02Sf6c1af6415eca221f888977b0b7954e7 1528s 1..1 1528s # Start of gio tests 1528s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1528s # random seed: R02Sa4444bd99c6d802c62f5e8a69f616640 1528s # GLib-DEBUG: io-channel-basic: child writing 8+3840 bytes to 6 1528s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1528s # GLib-DEBUG: io-channel-basic: ...from 5: 3840 bytes 1528s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1528s # GLib-DEBUG: io-channel-basic: child writing 8+2542 bytes to 6 1528s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1528s # GLib-DEBUG: io-channel-basic: ...from 5: 2542 bytes 1528s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1529s # GLib-DEBUG: io-channel-basic: child writing 8+2803 bytes to 6 1529s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1529s # GLib-DEBUG: io-channel-basic: ...from 5: 2803 bytes 1529s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1529s # GLib-DEBUG: io-channel-basic: child writing 8+578 bytes to 6 1529s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1529s # GLib-DEBUG: io-channel-basic: ...from 5: 578 bytes 1529s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1529s # GLib-DEBUG: io-channel-basic: child writing 8+4452 bytes to 6 1529s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1529s # GLib-DEBUG: io-channel-basic: ...from 5: 4452 bytes 1529s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1529s # GLib-DEBUG: io-channel-basic: child writing 8+3334 bytes to 6 1529s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1529s # GLib-DEBUG: io-channel-basic: ...from 5: 3334 bytes 1529s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1530s # GLib-DEBUG: io-channel-basic: child writing 8+3868 bytes to 6 1530s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1530s # GLib-DEBUG: io-channel-basic: ...from 5: 3868 bytes 1530s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1530s # GLib-DEBUG: io-channel-basic: child writing 8+3115 bytes to 6 1530s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1530s # GLib-DEBUG: io-channel-basic: ...from 5: 3115 bytes 1530s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1530s # GLib-DEBUG: io-channel-basic: child writing 8+774 bytes to 6 1530s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1530s # GLib-DEBUG: io-channel-basic: ...from 5: 774 bytes 1530s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1531s # GLib-DEBUG: io-channel-basic: child writing 8+1277 bytes to 6 1531s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1531s # GLib-DEBUG: io-channel-basic: ...from 5: 1277 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1531s # GLib-DEBUG: io-channel-basic: child writing 8+1559 bytes to 6 1531s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1531s # GLib-DEBUG: io-channel-basic: ...from 5: 1559 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1531s # GLib-DEBUG: io-channel-basic: child writing 8+4314 bytes to 6 1531s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1531s # GLib-DEBUG: io-channel-basic: ...from 5: 4314 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1531s # GLib-DEBUG: io-channel-basic: child writing 8+4188 bytes to 6 1531s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1531s # GLib-DEBUG: io-channel-basic: ...from 5: 4188 bytes 1531s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1532s # GLib-DEBUG: io-channel-basic: child writing 8+4428 bytes to 6 1532s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 5: 4428 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1532s # Executing: glib/io-channel-basic.test 1532s # GLib-DEBUG: io-channel-basic: child writing 8+4511 bytes to 6 1532s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 5: 4511 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1532s # GLib-DEBUG: io-channel-basic: child writing 8+4129 bytes to 6 1532s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 5: 4129 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1532s # GLib-DEBUG: io-channel-basic: child writing 8+2500 bytes to 6 1532s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1532s # GLib-DEBUG: io-channel-basic: ...from 5: 2500 bytes 1532s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1533s # GLib-DEBUG: io-channel-basic: child writing 8+4813 bytes to 6 1533s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 5: 4813 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1533s # GLib-DEBUG: io-channel-basic: child writing 8+352 bytes to 6 1533s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 5: 352 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1533s # GLib-DEBUG: io-channel-basic: child writing 8+1657 bytes to 6 1533s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 5: 1657 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1533s # GLib-DEBUG: io-channel-basic: child writing 8+440 bytes to 6 1533s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1533s # GLib-DEBUG: io-channel-basic: ...from 5: 440 bytes 1533s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1534s # GLib-DEBUG: io-channel-basic: child writing 8+4606 bytes to 6 1534s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1534s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1534s # GLib-DEBUG: io-channel-basic: ...from 5: 4606 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1534s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1534s # random seed: R02S821a9055dee6e30fd229ac80a929c703 1534s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1534s # random seed: R02Sea17f36ee23f2fafbb4339cabe9333b5 1534s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1534s # random seed: R02S5c98d1022d8c0a6d0e10c813dda65f89 1534s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1534s # random seed: R02Sa2debbbe45ca50d009098b4d715978b4 1534s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1534s # random seed: R02Scb67cce14b387ea089c8b8673d392d16 1534s # GLib-DEBUG: io-channel-basic: child writing 8+4968 bytes to 11 1534s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 10: 4968 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1534s # GLib-DEBUG: io-channel-basic: child writing 8+4439 bytes to 9 1534s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 8: 4439 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1534s # GLib-DEBUG: io-channel-basic: child writing 8+3959 bytes to 17 1534s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 16: 3959 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1534s # GLib-DEBUG: io-channel-basic: child writing 8+4280 bytes to 13 1534s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 12: 4280 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1534s # GLib-DEBUG: io-channel-basic: child writing 8+4892 bytes to 15 1534s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 14: 4892 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1534s # GLib-DEBUG: io-channel-basic: child writing 8+1399 bytes to 9 1534s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1534s # GLib-DEBUG: io-channel-basic: child writing 8+2170 bytes to 11 1534s # GLib-DEBUG: io-channel-basic: ...from 8: 1399 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1534s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 10: 2170 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1534s # GLib-DEBUG: io-channel-basic: child writing 8+442 bytes to 13 1534s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 12: 442 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1534s # GLib-DEBUG: io-channel-basic: child writing 8+4537 bytes to 17 1534s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 16: 4537 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1534s # GLib-DEBUG: io-channel-basic: child writing 8+3548 bytes to 15 1534s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 14: 3548 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1534s # GLib-DEBUG: io-channel-basic: child writing 8+2553 bytes to 9 1534s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 8: 2553 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1534s # GLib-DEBUG: io-channel-basic: child writing 8+3232 bytes to 11 1534s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 10: 3232 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1534s # GLib-DEBUG: io-channel-basic: child writing 8+4914 bytes to 17 1534s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 16: 4914 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1534s # GLib-DEBUG: io-channel-basic: child writing 8+2921 bytes to 13 1534s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 12: 2921 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1534s # GLib-DEBUG: io-channel-basic: child writing 8+97 bytes to 15 1534s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1534s # GLib-DEBUG: io-channel-basic: ...from 14: 97 bytes 1534s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+3205 bytes to 9 1535s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 8: 3205 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+4212 bytes to 11 1535s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 10: 4212 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+3277 bytes to 17 1535s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 16: 3277 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+1336 bytes to 15 1535s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 14: 1336 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+288 bytes to 13 1535s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 12: 288 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+4010 bytes to 9 1535s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 8: 4010 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+2922 bytes to 11 1535s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 10: 2922 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+4808 bytes to 13 1535s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 12: 4808 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+4521 bytes to 17 1535s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 16: 4521 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+450 bytes to 15 1535s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 14: 450 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+3458 bytes to 9 1535s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 8: 3458 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+2678 bytes to 17 1535s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 16: 2678 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+2173 bytes to 11 1535s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 10: 2173 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+214 bytes to 15 1535s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 14: 214 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+4761 bytes to 13 1535s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 12: 4761 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+853 bytes to 9 1535s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 8: 853 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+2170 bytes to 17 1535s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 16: 2170 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+2524 bytes to 15 1535s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 14: 2524 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+1062 bytes to 13 1535s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 12: 1062 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1535s # GLib-DEBUG: io-channel-basic: child writing 8+2761 bytes to 11 1535s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1535s # GLib-DEBUG: io-channel-basic: ...from 10: 2761 bytes 1535s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1536s # GLib-DEBUG: io-channel-basic: child writing 8+4118 bytes to 9 1536s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 8: 4118 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1536s # GLib-DEBUG: io-channel-basic: child writing 8+2525 bytes to 13 1536s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 12: 2525 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1536s # GLib-DEBUG: io-channel-basic: child writing 8+3671 bytes to 17 1536s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 16: 3671 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1536s # GLib-DEBUG: io-channel-basic: child writing 8+2973 bytes to 11 1536s # GLib-DEBUG: io-channel-basic: child writing 8+1346 bytes to 15 1536s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 10: 2973 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1536s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 14: 1346 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1536s # GLib-DEBUG: io-channel-basic: child writing 8+4971 bytes to 9 1536s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 8: 4971 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1536s # GLib-DEBUG: io-channel-basic: child writing 8+1703 bytes to 17 1536s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 16: 1703 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1536s # GLib-DEBUG: io-channel-basic: child writing 8+97 bytes to 13 1536s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 12: 97 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1536s # GLib-DEBUG: io-channel-basic: child writing 8+2918 bytes to 15 1536s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 14: 2918 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1536s # GLib-DEBUG: io-channel-basic: child writing 8+3158 bytes to 11 1536s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 10: 3158 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1536s # GLib-DEBUG: io-channel-basic: child writing 8+3387 bytes to 9 1536s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 8: 3387 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1536s # GLib-DEBUG: io-channel-basic: child writing 8+4863 bytes to 13 1536s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 12: 4863 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1536s # GLib-DEBUG: io-channel-basic: child writing 8+4640 bytes to 15 1536s # GLib-DEBUG: io-channel-basic: child writing 8+3926 bytes to 11 1536s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 14: 4640 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1536s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 10: 3926 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1536s # GLib-DEBUG: io-channel-basic: child writing 8+2962 bytes to 17 1536s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 16: 2962 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1536s # GLib-DEBUG: io-channel-basic: child writing 8+594 bytes to 9 1536s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1536s # GLib-DEBUG: io-channel-basic: ...from 8: 594 bytes 1536s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+789 bytes to 13 1537s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 12: 789 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+2797 bytes to 11 1537s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 10: 2797 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+3491 bytes to 15 1537s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 14: 3491 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+4584 bytes to 17 1537s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 16: 4584 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1537s # Executing: glib/io-channel-basic.test 1537s # GLib-DEBUG: io-channel-basic: child writing 8+3714 bytes to 9 1537s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 8: 3714 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+2524 bytes to 13 1537s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 12: 2524 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+1661 bytes to 11 1537s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 10: 1661 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+681 bytes to 17 1537s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 16: 681 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+2918 bytes to 15 1537s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 14: 2918 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+1344 bytes to 9 1537s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 8: 1344 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+2654 bytes to 15 1537s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 14: 2654 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+4738 bytes to 17 1537s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 16: 4738 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+2943 bytes to 13 1537s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 12: 2943 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+410 bytes to 11 1537s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 10: 410 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+1416 bytes to 9 1537s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 8: 1416 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+782 bytes to 13 1537s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 12: 782 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+2718 bytes to 15 1537s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 14: 2718 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+4842 bytes to 17 1537s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 16: 4842 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1537s # GLib-DEBUG: io-channel-basic: child writing 8+4636 bytes to 11 1537s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1537s # GLib-DEBUG: io-channel-basic: ...from 10: 4636 bytes 1537s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+2559 bytes to 9 1538s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 8: 2559 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+2182 bytes to 15 1538s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 14: 2182 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+3120 bytes to 17 1538s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 16: 3120 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+2034 bytes to 13 1538s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 12: 2034 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+1652 bytes to 11 1538s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 10: 1652 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+1625 bytes to 9 1538s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 8: 1625 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+3750 bytes to 15 1538s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 14: 3750 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+3692 bytes to 17 1538s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 16: 3692 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+2390 bytes to 11 1538s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 10: 2390 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+4053 bytes to 13 1538s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 12: 4053 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+549 bytes to 9 1538s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 8: 549 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+44 bytes to 17 1538s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 16: 44 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+2719 bytes to 11 1538s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 10: 2719 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+2944 bytes to 15 1538s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 14: 2944 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+4028 bytes to 13 1538s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 12: 4028 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+961 bytes to 9 1538s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 8: 961 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+1383 bytes to 17 1538s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 16: 1383 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+870 bytes to 11 1538s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 10: 870 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+2701 bytes to 15 1538s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 14: 2701 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1538s # GLib-DEBUG: io-channel-basic: child writing 8+2689 bytes to 13 1538s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1538s # GLib-DEBUG: io-channel-basic: ...from 12: 2689 bytes 1538s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+3769 bytes to 9 1539s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1539s # GLib-DEBUG: io-channel-basic: ...from 8: 3769 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+3180 bytes to 17 1539s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1539s # GLib-DEBUG: io-channel-basic: ...from 16: 3180 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+1596 bytes to 11 1539s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1539s # GLib-DEBUG: io-channel-basic: ...from 10: 1596 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+187 bytes to 15 1539s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1539s # GLib-DEBUG: io-channel-basic: ...from 14: 187 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+2075 bytes to 13 1539s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1539s # GLib-DEBUG: io-channel-basic: ...from 12: 2075 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+530 bytes to 9 1539s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1539s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1539s # GLib-DEBUG: io-channel-basic: ...from 8: 530 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+2970 bytes to 17 1539s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1539s # GLib-DEBUG: io-channel-basic: ...from 16: 2970 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+4961 bytes to 11 1539s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1539s # GLib-DEBUG: io-channel-basic: ...from 10: 4961 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+4668 bytes to 13 1539s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1539s # GLib-DEBUG: io-channel-basic: ...from 12: 4668 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+2633 bytes to 15 1539s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1539s # GLib-DEBUG: io-channel-basic: ...from 14: 2633 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+2549 bytes to 17 1539s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1539s # GLib-DEBUG: io-channel-basic: ...from 16: 2549 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+4866 bytes to 11 1539s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1539s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1539s # GLib-DEBUG: io-channel-basic: ...from 10: 4866 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+3872 bytes to 15 1539s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1539s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1539s # GLib-DEBUG: io-channel-basic: ...from 14: 3872 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+2694 bytes to 13 1539s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1539s # GLib-DEBUG: io-channel-basic: ...from 12: 2694 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+881 bytes to 17 1539s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1539s # GLib-DEBUG: io-channel-basic: ...from 16: 881 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1539s # GLib-DEBUG: io-channel-basic: child writing 8+2044 bytes to 13 1539s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1539s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1539s # GLib-DEBUG: io-channel-basic: ...from 12: 2044 bytes 1539s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1540s # GLib-DEBUG: io-channel-basic: child writing 8+3435 bytes to 17 1540s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1540s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1540s # GLib-DEBUG: io-channel-basic: ...from 16: 3435 bytes 1540s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1540s ok 1 /gio/io-basics 1540s # slow test /gio/io-basics executed in 11.77 secs 1540s # End of gio tests 1540s ok - glib/io-channel-basic.test 1540s # Running test: glib/gvariant.test 1540s TAP version 14 1540s # random seed: R02S62abbb1f13e8b18445fcc49c526ae8fd 1540s 1..64 1540s # Start of gvariant tests 1540s ok 1 /gvariant/type 1540s ok 2 /gvariant/typeinfo 1540s ok 3 /gvariant/string 1540s ok 4 /gvariant/utf8 1540s ok 5 /gvariant/containers 1540s ok 6 /gvariant/format-strings 1540s ok 7 /gvariant/invalid-varargs 1540s ok 8 /gvariant/varargs 1540s ok 9 /gvariant/valist 1540s ok 10 /gvariant/builder-memory 1540s ok 11 /gvariant/hashing 1540s ok 12 /gvariant/byteswap 1541s ok 13 /gvariant/parser 1541s # slow test /gvariant/parser executed in 0.77 secs 1541s ok 14 /gvariant/parse-failures 1541s ok 15 /gvariant/parse-positional 1541s ok 16 /gvariant/floating 1541s ok 17 /gvariant/bytestring 1541s ok 18 /gvariant/lookup-value 1541s ok 19 /gvariant/lookup 1541s ok 20 /gvariant/compare 1541s ok 21 /gvariant/equal 1541s ok 22 /gvariant/fixed-array 1541s ok 23 /gvariant/check-format-string 1541s ok 24 /gvariant/checksum-basic 1541s ok 25 /gvariant/checksum-nested 1541s ok 26 /gvariant/gbytes 1541s ok 27 /gvariant/print-context 1541s ok 28 /gvariant/error-quark 1541s ok 29 /gvariant/stack-builder-init 1541s ok 30 /gvariant/stack-dict-init 1541s ok 31 /gvariant/unaligned-construction 1541s # Start of type tests 1541s # Start of string-scan tests 1541s # Start of recursion tests 1541s ok 32 /gvariant/type/string-scan/recursion/tuple 1541s ok 33 /gvariant/type/string-scan/recursion/array 1541s # End of recursion tests 1541s # End of string-scan tests 1541s # End of type tests 1541s # Start of serialiser tests 1541s ok 34 /gvariant/serialiser/maybe 1541s ok 35 /gvariant/serialiser/array 1541s ok 36 /gvariant/serialiser/tuple 1541s ok 37 /gvariant/serialiser/variant 1541s ok 38 /gvariant/serialiser/strings 1542s # Executing: glib/gvariant.test 1542s ok 39 /gvariant/serialiser/byteswap 1542s # slow test /gvariant/serialiser/byteswap executed in 0.76 secs 1542s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1542s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1542s ok 40 /gvariant/serialiser/children 1542s # Start of fuzz tests 1546s ok 41 /gvariant/serialiser/fuzz/1% 1546s # slow test /gvariant/serialiser/fuzz/1% executed in 3.63 secs 1547s # Executing: glib/gvariant.test 1547s ok 42 /gvariant/serialiser/fuzz/5% 1547s # slow test /gvariant/serialiser/fuzz/5% executed in 1.22 secs 1547s ok 43 /gvariant/serialiser/fuzz/9% 1548s ok 44 /gvariant/serialiser/fuzz/13% 1549s ok 45 /gvariant/serialiser/fuzz/17% 1549s # slow test /gvariant/serialiser/fuzz/17% executed in 0.83 secs 1549s # End of fuzz tests 1549s # End of serialiser tests 1549s # Start of varargs tests 1549s # Start of subprocess tests 1549s # End of subprocess tests 1549s # End of varargs tests 1549s # Start of byteswap tests 1549s # /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. 1549s ok 46 /gvariant/byteswap/non-normal-non-aligned 1549s # End of byteswap tests 1549s # Start of parser tests 1549s ok 47 /gvariant/parser/integer-bounds 1549s ok 48 /gvariant/parser/recursion 1549s # Start of recursion tests 1549s ok 49 /gvariant/parser/recursion/typedecls 1549s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1549s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1549s # Text form 0: @mmmu 5 1549s # Text form 1: @mmmas ['hello'] 1549s # Text form 2: @mmmu just just nothing 1549s # Text form 3: @mmmas just just nothing 1549s # Text form 4: @mmmu just nothing 1549s # Text form 5: @mmmas just nothing 1549s # Text form 6: @mmmu nothing 1549s # Text form 7: @mmmas nothing 1549s ok 50 /gvariant/parser/recursion/maybes 1549s # End of recursion tests 1549s # End of parser tests 1549s # Start of parse tests 1549s # Start of subprocess tests 1549s # End of subprocess tests 1549s # End of parse tests 1549s # Start of normal-checking tests 1549s ok 51 /gvariant/normal-checking/tuples 1549s ok 52 /gvariant/normal-checking/array-offsets 1549s ok 53 /gvariant/normal-checking/array-offsets2 1549s ok 54 /gvariant/normal-checking/tuple-offsets 1549s ok 55 /gvariant/normal-checking/tuple-offsets2 1549s ok 56 /gvariant/normal-checking/tuple-offsets3 1549s ok 57 /gvariant/normal-checking/tuple-offsets4 1549s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1549s ok 58 /gvariant/normal-checking/tuple-offsets5 1549s ok 59 /gvariant/normal-checking/empty-object-path 1549s # Start of array-offsets tests 1549s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1549s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1549s # End of array-offsets tests 1549s # Start of tuple-offsets tests 1549s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1549s # End of tuple-offsets tests 1549s # End of normal-checking tests 1549s # Start of recursion-limits tests 1549s ok 63 /gvariant/recursion-limits/variant-in-variant 1549s ok 64 /gvariant/recursion-limits/array-in-variant 1549s # End of recursion-limits tests 1549s # End of gvariant tests 1549s ok - glib/gvariant.test 1549s # Running test: glib/gdbus-serialization.test 1549s TAP version 14 1549s # random seed: R02S7abaa190546ea38a1d6404969860b3bb 1549s 1..18 1549s # Start of gdbus tests 1549s # Start of message-serialize tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/basic/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/basic/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/basic/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/basic/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/basic/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/basic/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/basic/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/basic/.dirs/runtime 1549s ok 1 /gdbus/message-serialize/basic 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/complex/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/complex/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/complex/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/complex/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/complex/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/complex/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/complex/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/complex/.dirs/runtime 1549s ok 2 /gdbus/message-serialize/complex 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/invalid/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/invalid/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/invalid/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/invalid/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/invalid/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/invalid/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/invalid/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/invalid/.dirs/runtime 1549s ok 3 /gdbus/message-serialize/invalid 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/.dirs/runtime 1549s ok 4 /gdbus/message-serialize/header-checks 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/double-array/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/double-array/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/double-array/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/double-array/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/double-array/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/double-array/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/double-array/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/double-array/.dirs/runtime 1549s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1549s ok 5 /gdbus/message-serialize/double-array 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/empty-structure/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/empty-structure/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/empty-structure/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/empty-structure/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/empty-structure/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/empty-structure/.dirs/runtime 1549s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1549s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1549s ok 6 /gdbus/message-serialize/empty-structure 1549s # Start of header-checks tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/valid/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/valid/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/valid/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/valid/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1549s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1549s ok 7 /gdbus/message-serialize/header-checks/valid 1549s # End of header-checks tests 1549s # End of message-serialize tests 1549s # Start of message-parse tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1549s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1549s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/non-signature-header/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/non-signature-header/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/non-signature-header/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/non-signature-header/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/non-signature-header/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/non-signature-header/.dirs/runtime 1549s ok 9 /gdbus/message-parse/non-signature-header 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-signature-header/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-signature-header/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-signature-header/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-signature-header/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-signature-header/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1549s ok 10 /gdbus/message-parse/empty-signature-header 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/multiple-signature-header/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/multiple-signature-header/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/multiple-signature-header/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/multiple-signature-header/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1549s ok 11 /gdbus/message-parse/multiple-signature-header 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/over-long-signature-header/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/over-long-signature-header/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/over-long-signature-header/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/over-long-signature-header/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1549s ok 12 /gdbus/message-parse/over-long-signature-header 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-header-nesting/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-header-nesting/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-header-nesting/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-header-nesting/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1549s ok 13 /gdbus/message-parse/deep-header-nesting 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-body-nesting/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-body-nesting/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-body-nesting/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-body-nesting/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1549s ok 14 /gdbus/message-parse/deep-body-nesting 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/truncated/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/truncated/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/truncated/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/truncated/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/truncated/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/truncated/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/truncated/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/truncated/.dirs/runtime 1549s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1549s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1549s ok 15 /gdbus/message-parse/truncated 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-structure/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-structure/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-structure/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-structure/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-structure/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-structure/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-structure/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/empty-structure/.dirs/runtime 1549s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1549s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1549s ok 16 /gdbus/message-parse/empty-structure 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/missing-header/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/missing-header/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/missing-header/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/missing-header/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/missing-header/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/missing-header/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/missing-header/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/missing-header/.dirs/runtime 1549s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1549s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1549s ok 17 /gdbus/message-parse/missing-header 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/invalid-header-type/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/invalid-header-type/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/invalid-header-type/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/invalid-header-type/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/invalid-header-type/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_YNGUZ2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1549s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1549s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1549s ok 18 /gdbus/message-parse/invalid-header-type 1549s # End of message-parse tests 1549s # End of gdbus tests 1549s ok - glib/gdbus-serialization.test 1549s # Running test: glib/array-test.test 1549s TAP version 14 1549s # random seed: R02S12d705c968e60d8510f890918c163766 1549s 1..113 1549s # Start of array tests 1549s ok 1 /array/ref-count 1549s ok 2 /array/steal 1549s ok 3 /array/clear-func 1549s ok 4 /array/binary-search 1549s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1549s ok 5 /array/copy-sized 1549s ok 6 /array/overflow-append-vals 1549s ok 7 /array/overflow-set-size 1549s # Start of new tests 1549s ok 8 /array/new/zero-terminated 1549s ok 9 /array/new/take 1549s ok 10 /array/new/take-zero-terminated 1549s # Start of take tests 1549s ok 11 /array/new/take/empty 1549s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1549s # End of take tests 1549s # End of new tests 1549s # Start of set-size tests 1549s ok 13 /array/set-size/non-zero-terminated-no-clear 1549s ok 14 /array/set-size/non-zero-terminated-clear 1549s ok 15 /array/set-size/zero-terminated-no-clear 1549s ok 16 /array/set-size/zero-terminated-clear 1549s # Start of sized tests 1549s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1549s ok 18 /array/set-size/sized/non-zero-terminated-clear 1549s ok 19 /array/set-size/sized/zero-terminated-no-clear 1549s ok 20 /array/set-size/sized/zero-terminated-clear 1549s # End of sized tests 1549s # End of set-size tests 1549s # Start of append-val tests 1549s ok 21 /array/append-val/non-zero-terminated-no-clear 1549s ok 22 /array/append-val/non-zero-terminated-clear 1549s ok 23 /array/append-val/zero-terminated-no-clear 1549s ok 24 /array/append-val/zero-terminated-clear 1549s # End of append-val tests 1549s # Start of prepend-val tests 1549s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1549s ok 26 /array/prepend-val/non-zero-terminated-clear 1549s ok 27 /array/prepend-val/zero-terminated-no-clear 1549s ok 28 /array/prepend-val/zero-terminated-clear 1549s # End of prepend-val tests 1549s # Start of prepend-vals tests 1549s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1549s ok 30 /array/prepend-vals/non-zero-terminated-clear 1549s ok 31 /array/prepend-vals/zero-terminated-no-clear 1549s ok 32 /array/prepend-vals/zero-terminated-clear 1549s # End of prepend-vals tests 1549s # Start of insert-vals tests 1549s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1549s ok 34 /array/insert-vals/non-zero-terminated-clear 1549s ok 35 /array/insert-vals/zero-terminated-no-clear 1549s ok 36 /array/insert-vals/zero-terminated-clear 1549s # End of insert-vals tests 1549s # Start of remove-index tests 1549s ok 37 /array/remove-index/non-zero-terminated-no-clear 1549s ok 38 /array/remove-index/non-zero-terminated-clear 1549s ok 39 /array/remove-index/zero-terminated-no-clear 1549s ok 40 /array/remove-index/zero-terminated-clear 1549s # End of remove-index tests 1549s # Start of remove-index-fast tests 1549s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1549s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1549s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1549s ok 44 /array/remove-index-fast/zero-terminated-clear 1549s # End of remove-index-fast tests 1549s # Start of remove-range tests 1549s ok 45 /array/remove-range/non-zero-terminated-no-clear 1549s ok 46 /array/remove-range/non-zero-terminated-clear 1549s ok 47 /array/remove-range/zero-terminated-no-clear 1549s ok 48 /array/remove-range/zero-terminated-clear 1549s # End of remove-range tests 1549s # Start of copy tests 1549s ok 49 /array/copy/non-zero-terminated-no-clear 1549s ok 50 /array/copy/non-zero-terminated-clear 1549s ok 51 /array/copy/zero-terminated-no-clear 1549s ok 52 /array/copy/zero-terminated-clear 1549s # End of copy tests 1549s # Start of sort tests 1549s ok 53 /array/sort/non-zero-terminated-no-clear 1549s ok 54 /array/sort/non-zero-terminated-clear 1549s ok 55 /array/sort/zero-terminated-no-clear 1549s ok 56 /array/sort/zero-terminated-clear 1549s # End of sort tests 1549s # Start of sort-with-data tests 1549s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1549s ok 58 /array/sort-with-data/non-zero-terminated-clear 1549s ok 59 /array/sort-with-data/zero-terminated-no-clear 1549s ok 60 /array/sort-with-data/zero-terminated-clear 1549s # End of sort-with-data tests 1549s # End of array tests 1549s # Start of pointerarray tests 1549s ok 61 /pointerarray/add 1549s ok 62 /pointerarray/insert 1549s ok 63 /pointerarray/new-take 1549s ok 64 /pointerarray/new-take-null-terminated 1549s ok 65 /pointerarray/new-from-array 1549s ok 66 /pointerarray/new-from-null-terminated-array 1549s ok 67 /pointerarray/free-func 1549s ok 68 /pointerarray/array_extend_and_steal 1549s ok 69 /pointerarray/sort 1549s ok 70 /pointerarray/sort-with-data 1549s ok 71 /pointerarray/sort-values 1549s ok 72 /pointerarray/sort-values-with-data 1549s ok 73 /pointerarray/remove-range 1549s ok 74 /pointerarray/steal 1549s # Start of free tests 1549s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1549s ok 75 /pointerarray/free/null-terminated 1549s # End of free tests 1549s # Start of new-take tests 1549s ok 76 /pointerarray/new-take/empty 1549s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1549s ok 78 /pointerarray/new-take/with-free-func 1549s # End of new-take tests 1549s # Start of new-take-null-terminated tests 1549s ok 79 /pointerarray/new-take-null-terminated/empty 1549s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1549s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1549s # End of new-take-null-terminated tests 1549s # Start of new-from-array tests 1549s ok 82 /pointerarray/new-from-array/empty 1549s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1549s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1549s # End of new-from-array tests 1549s # Start of new-from-null-terminated-array tests 1549s ok 85 /pointerarray/new-from-null-terminated-array/empty 1549s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1549s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1549s # End of new-from-null-terminated-array tests 1549s # Start of ref-count tests 1549s ok 88 /pointerarray/ref-count/not-null-terminated 1549s ok 89 /pointerarray/ref-count/null-terminated 1549s # End of ref-count tests 1549s # Start of array_copy tests 1549s # /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 1549s ok 90 /pointerarray/array_copy/not-null-terminated 1549s # /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 1549s ok 91 /pointerarray/array_copy/null-terminated 1549s # End of array_copy tests 1549s # Start of array_extend tests 1549s ok 92 /pointerarray/array_extend/not-null-terminated 1549s ok 93 /pointerarray/array_extend/null-terminated 1549s # End of array_extend tests 1549s # Start of sort tests 1549s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1549s ok 94 /pointerarray/sort/example 1549s # End of sort tests 1549s # Start of sort-with-data tests 1549s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1549s ok 95 /pointerarray/sort-with-data/example 1549s # End of sort-with-data tests 1549s # Start of sort-values tests 1549s ok 96 /pointerarray/sort-values/example 1549s # End of sort-values tests 1549s # Start of sort-values-with-data tests 1549s ok 97 /pointerarray/sort-values-with-data/example 1549s # End of sort-values-with-data tests 1549s # Start of find tests 1549s ok 98 /pointerarray/find/empty 1549s ok 99 /pointerarray/find/non-empty 1549s # End of find tests 1549s # Start of steal_index tests 1549s ok 100 /pointerarray/steal_index/not-null-terminated 1549s ok 101 /pointerarray/steal_index/null-terminated 1549s # End of steal_index tests 1549s # End of pointerarray tests 1549s # Start of bytearray tests 1549s ok 102 /bytearray/steal 1549s ok 103 /bytearray/append 1549s ok 104 /bytearray/prepend 1549s ok 105 /bytearray/remove 1549s ok 106 /bytearray/remove-fast 1549s ok 107 /bytearray/remove-range 1549s ok 108 /bytearray/ref-count 1549s ok 109 /bytearray/sort 1549s ok 110 /bytearray/sort-with-data 1549s ok 111 /bytearray/new-take 1549s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1549s ok 113 /bytearray/free-to-bytes 1549s # End of bytearray tests 1549s ok - glib/array-test.test 1549s # Running test: glib/pathbuf.test 1549s TAP version 14 1549s # random seed: R02S084cbd9929b3140a220069e34c7a7e58 1549s 1..3 1549s # Start of pathbuf tests 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/init/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/init/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_SLBWZ2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_SLBWZ2/pathbuf/init/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/init/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_SLBWZ2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_SLBWZ2/pathbuf/init/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/init/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/init/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_SLBWZ2/pathbuf/init/.dirs/runtime 1549s # Initializing empty path buf 1549s # Initializing with empty path 1549s # Initializing with full path 1549s # Initializing with no path 1549s # Allocating GPathBuf on the heap 1549s ok 1 /pathbuf/init 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/push-pop/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/push-pop/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_SLBWZ2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_SLBWZ2/pathbuf/push-pop/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/push-pop/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_SLBWZ2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_SLBWZ2/pathbuf/push-pop/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/push-pop/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/push-pop/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_SLBWZ2/pathbuf/push-pop/.dirs/runtime 1549s # Pushing relative path component 1549s # Pushing absolute path component 1549s # Popping a path component 1549s # Can't pop the last element of a path buffer 1549s ok 2 /pathbuf/push-pop 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/filename-extension/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/filename-extension/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_SLBWZ2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_SLBWZ2/pathbuf/filename-extension/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/filename-extension/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_SLBWZ2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_SLBWZ2/pathbuf/filename-extension/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/filename-extension/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_SLBWZ2/pathbuf/filename-extension/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_SLBWZ2/pathbuf/filename-extension/.dirs/runtime 1549s ok 3 /pathbuf/filename-extension 1549s # End of pathbuf tests 1549s ok - glib/pathbuf.test 1549s # Running test: glib/timeout.test 1549s TAP version 14 1549s # random seed: R02Sc0c8744a24d01294086c26b29edfbc6e 1549s 1..5 1549s # Start of timeout tests 1549s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1551s ok 1 /timeout/seconds 1551s # slow test /timeout/seconds executed in 2.10 secs 1552s # Executing: glib/timeout.test 1553s ok 2 /timeout/seconds-once 1553s # slow test /timeout/seconds-once executed in 2.10 secs 1553s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1555s ok 3 /timeout/weeks-overflow 1555s # slow test /timeout/weeks-overflow executed in 2.10 secs 1555s ok 4 /timeout/far-future-ready-time 1555s ok 5 /timeout/rounding # SKIP Not reliable on older ARM hardware 1555s # End of timeout tests 1555s ok - glib/timeout.test 1555s # Running test: glib/notify-init2.test 1555s TAP version 14 1555s # random seed: R02Sa445915ac1ceaeaf0fd52bce25fbfd77 1555s 1..1 1555s # Start of properties tests 1555s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1555s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1555s ok 1 /properties/notify-in-init2 1555s # End of properties tests 1555s ok - glib/notify-init2.test 1555s # Running test: glib/power-profile-monitor-portal.test 1555s TAP version 13 1555s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1556s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1556s 1..2 1556s ok - glib/power-profile-monitor-portal.test 1556s # Running test: glib/memory-input-stream.test 1556s TAP version 14 1556s # random seed: R02S4637f43308653bdf473ae1b3b76941c4 1556s 1..6 1556s # Start of memory-input-stream tests 1556s ok 1 /memory-input-stream/read-chunks 1556s ok 2 /memory-input-stream/async 1556s ok 3 /memory-input-stream/seek 1556s ok 4 /memory-input-stream/truncate 1556s ok 5 /memory-input-stream/read-bytes 1556s ok 6 /memory-input-stream/from-bytes 1556s # End of memory-input-stream tests 1556s ok - glib/memory-input-stream.test 1556s # Running test: glib/markup-subparser.test 1556s TAP version 14 1556s # random seed: R02Sd55692133ef2b8b2e7eb8b4b996b6a21 1556s 1..14 1556s # Start of glib tests 1556s # Start of markup tests 1556s # Start of subparser tests 1556s # Start of success tests 1556s ok 1 /glib/markup/subparser/success/0 1556s ok 2 /glib/markup/subparser/success/1 1556s ok 3 /glib/markup/subparser/success/2 1556s ok 4 /glib/markup/subparser/success/3 1556s ok 5 /glib/markup/subparser/success/4 1556s ok 6 /glib/markup/subparser/success/5 1556s ok 7 /glib/markup/subparser/success/6 1556s # End of success tests 1556s # Start of failure tests 1556s ok 8 /glib/markup/subparser/failure/0 1556s ok 9 /glib/markup/subparser/failure/1 1556s ok 10 /glib/markup/subparser/failure/2 1556s ok 11 /glib/markup/subparser/failure/3 1556s ok 12 /glib/markup/subparser/failure/4 1556s ok 13 /glib/markup/subparser/failure/5 1556s ok 14 /glib/markup/subparser/failure/6 1556s # End of failure tests 1556s # End of subparser tests 1556s # End of markup tests 1556s # End of glib tests 1556s ok - glib/markup-subparser.test 1556s # Running test: glib/markup-escape.test 1556s TAP version 14 1556s # random seed: R02S9028ee02e42efe328c66678bccb4ffe3 1556s 1..41 1556s # Start of markup tests 1556s ok 1 /markup/format 1556s # Start of escape-text tests 1556s ok 2 /markup/escape-text/0 1556s ok 3 /markup/escape-text/1 1556s ok 4 /markup/escape-text/2 1556s ok 5 /markup/escape-text/3 1556s ok 6 /markup/escape-text/4 1556s ok 7 /markup/escape-text/5 1556s ok 8 /markup/escape-text/6 1556s ok 9 /markup/escape-text/7 1556s ok 10 /markup/escape-text/8 1556s ok 11 /markup/escape-text/9 1556s ok 12 /markup/escape-text/10 1556s ok 13 /markup/escape-text/11 1556s ok 14 /markup/escape-text/12 1556s ok 15 /markup/escape-text/13 1556s ok 16 /markup/escape-text/14 1556s ok 17 /markup/escape-text/15 1556s ok 18 /markup/escape-text/16 1556s ok 19 /markup/escape-text/17 1556s ok 20 /markup/escape-text/18 1556s ok 21 /markup/escape-text/19 1556s ok 22 /markup/escape-text/20 1556s ok 23 /markup/escape-text/21 1556s ok 24 /markup/escape-text/22 1556s # End of escape-text tests 1556s # Start of escape-unichar tests 1556s ok 25 /markup/escape-unichar/0 1556s ok 26 /markup/escape-unichar/1 1556s ok 27 /markup/escape-unichar/2 1556s ok 28 /markup/escape-unichar/3 1556s ok 29 /markup/escape-unichar/4 1556s ok 30 /markup/escape-unichar/5 1556s ok 31 /markup/escape-unichar/6 1556s ok 32 /markup/escape-unichar/7 1556s ok 33 /markup/escape-unichar/8 1556s ok 34 /markup/escape-unichar/9 1556s ok 35 /markup/escape-unichar/10 1556s ok 36 /markup/escape-unichar/11 1556s ok 37 /markup/escape-unichar/12 1556s ok 38 /markup/escape-unichar/13 1556s ok 39 /markup/escape-unichar/14 1556s ok 40 /markup/escape-unichar/15 1556s ok 41 /markup/escape-unichar/16 1556s # End of escape-unichar tests 1556s # End of markup tests 1556s ok - glib/markup-escape.test 1556s # Running test: glib/gdbus-export.test 1556s TAP version 14 1556s # random seed: R02S273e5d5671cd0096847b5b4bcef25a96 1556s 1..6 1556s # Start of gdbus tests 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration/.dirs/runtime 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s ok 1 /gdbus/object-registration 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration-with-closures/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration-with-closures/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration-with-closures/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration-with-closures/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration-with-closures/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration-with-closures/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration-with-closures/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_KXXVZ2/gdbus/object-registration-with-closures/.dirs/runtime 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s ok 2 /gdbus/object-registration-with-closures 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/registered-interfaces/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/registered-interfaces/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_KXXVZ2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_KXXVZ2/gdbus/registered-interfaces/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/registered-interfaces/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_KXXVZ2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_KXXVZ2/gdbus/registered-interfaces/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/registered-interfaces/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/registered-interfaces/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_KXXVZ2/gdbus/registered-interfaces/.dirs/runtime 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s ok 3 /gdbus/registered-interfaces 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/async-properties/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/async-properties/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_KXXVZ2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_KXXVZ2/gdbus/async-properties/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/async-properties/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_KXXVZ2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_KXXVZ2/gdbus/async-properties/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/async-properties/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/async-properties/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_KXXVZ2/gdbus/async-properties/.dirs/runtime 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s ok 4 /gdbus/async-properties 1556s # Start of threaded-unregistration tests 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/object/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/object/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/object/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/object/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/object/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/object/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/object/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/object/.dirs/runtime 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1556s # /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 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # Executing: glib/gdbus-export.test 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (10 iterations with unregistration first, 990 with call first); skipping test 1557s # slow test /gdbus/threaded-unregistration/object executed in 1.21 secs 1557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/subtree/.dirs/home 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/subtree/.dirs/cache 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/subtree/.dirs/config 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/subtree/.dirs/data 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/subtree/.dirs/state 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_KXXVZ2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1557s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1557s # /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 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (6 iterations with unregistration first, 994 with call first); skipping test 1558s # slow test /gdbus/threaded-unregistration/subtree executed in 1.30 secs 1558s # End of threaded-unregistration tests 1558s # End of gdbus tests 1558s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1558s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1558s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1558s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1558s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1558s ok - glib/gdbus-export.test 1558s # Running test: glib/readwrite.test 1558s TAP version 14 1558s # random seed: R02S3e06578ab5dad6968713c5d1fd00c4bb 1558s 1..3 1558s # Start of readwrite tests 1558s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1558s ok 1 /readwrite/test_g_file_open_readwrite 1558s ok 2 /readwrite/test_g_file_create_readwrite 1558s ok 3 /readwrite/test_g_file_replace_readwrite 1558s # End of readwrite tests 1558s ok - glib/readwrite.test 1558s # Running test: glib/qdata.test 1558s TAP version 14 1558s # random seed: R02S9dc6118cae40d06274d6ef64b1becc33 1558s 1..2 1558s # Start of qdata tests 1559s ok 1 /qdata/threaded 1559s ok 2 /qdata/dup 1559s # End of qdata tests 1559s ok - glib/qdata.test 1559s # Running test: glib/sleepy-stream.test 1559s TAP version 14 1559s # random seed: R02Se061ae1af74d8aaae7036b3270d072a5 1559s 1..2 1559s # Start of filter-stream tests 1559s ok 1 /filter-stream/input 1559s ok 2 /filter-stream/async 1559s # End of filter-stream tests 1559s ok - glib/sleepy-stream.test 1559s # Running test: glib/power-profile-monitor-dbus.test 1559s TAP version 13 1559s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1559s 1..1 1559s ok - glib/power-profile-monitor-dbus.test 1559s # Running test: glib/signalgroup.test 1559s TAP version 14 1559s # random seed: R02Scb05104fe885efbf07e95d77de48a4d3 1559s 1..9 1559s # Start of GObject tests 1559s # Start of SignalGroup tests 1559s ok 1 /GObject/SignalGroup/invalid 1559s ok 2 /GObject/SignalGroup/simple 1559s ok 3 /GObject/SignalGroup/changing-target 1559s ok 4 /GObject/SignalGroup/blocking 1559s ok 5 /GObject/SignalGroup/weak-ref-target 1559s ok 6 /GObject/SignalGroup/connect-object 1559s ok 7 /GObject/SignalGroup/signal-parsing 1559s ok 8 /GObject/SignalGroup/properties 1559s ok 9 /GObject/SignalGroup/interface 1559s # Start of signal-parsing tests 1559s # End of signal-parsing tests 1559s # End of SignalGroup tests 1559s # End of GObject tests 1559s ok - glib/signalgroup.test 1559s # Running test: glib/flags.test 1559s TAP version 14 1559s # random seed: R02Saae917f41169fbb09a28c60fe7181ff3 1559s 1..1 1559s # Start of gobject tests 1559s # Start of flags tests 1559s ok 1 /gobject/flags/validate 1559s # End of flags tests 1559s # End of gobject tests 1559s ok - glib/flags.test 1559s # Running test: glib/gdbus-peer-object-manager.test 1559s TAP version 14 1559s # random seed: R02S05daa21a650148e3267bb2b4e9c8d70c 1559s 1..2 1559s # Start of gdbus tests 1559s # Start of peer-object-manager tests 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/normal/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/normal/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/normal/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/normal/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/normal/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/normal/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/normal/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/normal/.dirs/runtime 1559s ok 1 /gdbus/peer-object-manager/normal 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/root/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/root/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/root/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/root/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/root/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/root/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/root/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_4UPJZ2/gdbus/peer-object-manager/root/.dirs/runtime 1559s ok 2 /gdbus/peer-object-manager/root 1559s # End of peer-object-manager tests 1559s # End of gdbus tests 1559s ok - glib/gdbus-peer-object-manager.test 1559s # Running test: glib/testing.test 1559s TAP version 14 1559s # random seed: R02Sc2265dfc630eca6cf0a37bce2a26b2bf 1559s 1..1 1559s # Start of assert tests 1559s ok 1 /assert/finalize_object 1559s # Start of finalize_object tests 1559s # Start of subprocess tests 1559s # End of subprocess tests 1559s # End of finalize_object tests 1559s # End of assert tests 1559s ok - glib/testing.test 1559s # Running test: glib/pollable.test 1559s TAP version 14 1559s # random seed: R02Se80c22934274027a23ee848f09b752a0 1559s 1..6 1559s # Start of pollable tests 1559s ok 1 /pollable/converter 1559s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1559s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xad76bd0 and GSocketClientAsyncConnectData 0xad70150 1559s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1559s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1559s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xad77790 for GSocketClientAsyncConnectData 0xad70150 1559s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1559s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1559s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1559s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1559s ok 2 /pollable/socket 1559s # Start of unix tests 1559s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1559s ok 3 /pollable/unix/pipe 1559s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1559s ok 4 /pollable/unix/pty 1559s # /pollable/unix/file summary: Test that regular files are not considered pollable 1559s ok 5 /pollable/unix/file 1559s # /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 1559s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 1559s # End of unix tests 1559s # End of pollable tests 1559s ok - glib/pollable.test 1559s # Running test: glib/null-settings-backend.test 1559s TAP version 14 1559s # random seed: R02S807da8b53f784ebabf900a48a30139b8 1559s 1..1 1559s # Start of null-settings-backend tests 1559s ok 1 /null-settings-backend/extension-point-registered 1559s # End of null-settings-backend tests 1559s ok - glib/null-settings-backend.test 1559s # Running test: glib/gthash.test 1559s TAP version 14 1559s # random seed: R02S347ca1e28972d85a3ea6fed00a771508 1559s 1..1 1559s # Start of gthash tests 1559s ok 1 /gthash/build-retrieve 1559s # End of gthash tests 1559s ok - glib/gthash.test 1559s # Running test: glib/converter-stream.test 1559s TAP version 14 1559s # random seed: R02Sbdd0a76e949732b04bbd35f21a56f922 1559s 1..17 1559s # Start of converter tests 1559s ok 1 /converter/basics 1559s # End of converter tests 1559s # Start of converter-input-stream tests 1559s ok 2 /converter-input-stream/expander 1559s ok 3 /converter-input-stream/compressor 1559s # Start of truncation tests 1559s ok 4 /converter-input-stream/truncation/zlib 1560s ok 5 /converter-input-stream/truncation/gzip 1560s ok 6 /converter-input-stream/truncation/raw 1560s # End of truncation tests 1560s # Start of charset tests 1560s ok 7 /converter-input-stream/charset/utf8->latin1 1560s ok 8 /converter-input-stream/charset/latin1->utf8 1560s ok 9 /converter-input-stream/charset/fallbacks 1560s # End of charset tests 1560s # End of converter-input-stream tests 1560s # Start of converter-output-stream tests 1560s # Start of roundtrip tests 1560s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1560s ok 10 /converter-output-stream/roundtrip/zlib-0 1560s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1560s ok 11 /converter-output-stream/roundtrip/zlib-9 1560s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1560s ok 12 /converter-output-stream/roundtrip/gzip-0 1560s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1560s ok 13 /converter-output-stream/roundtrip/gzip-9 1560s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1560s ok 14 /converter-output-stream/roundtrip/raw-0 1560s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1560s ok 15 /converter-output-stream/roundtrip/raw-9 1560s # End of roundtrip tests 1560s # End of converter-output-stream tests 1560s # Start of converter-stream tests 1560s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1560s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf75ad8 and GSocketClientAsyncConnectData 0xaf6fd20 1560s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1560s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1560s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf767b0 for GSocketClientAsyncConnectData 0xaf6fd20 1560s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1560s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1560s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1560s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1560s ok 16 /converter-stream/pollable 1560s ok 17 /converter-stream/leftover 1560s # End of converter-stream tests 1560s ok - glib/converter-stream.test 1560s # Running test: glib/signal-handler.test 1560s TAP version 14 1560s # random seed: R02S6677e93a3faa577e04893721d17bbcb0 1560s 1..7 1560s # Start of signal tests 1560s # Start of handler tests 1560s # min perf: connected 1 handlers in 0.000 seconds 1560s ok 1 /signal/handler/connect-many 1560s # min perf: disconnected 1 handlers in 0.000 seconds 1560s ok 2 /signal/handler/disconnect-many-ordered 1560s # min perf: disconnected 1 handlers in 0.000 seconds 1560s ok 3 /signal/handler/disconnect-many-inverse 1560s # min perf: disconnected 1 handlers in 0.000 seconds 1560s ok 4 /signal/handler/disconnect-many-random 1560s # min perf: disconnected 1 handlers in 0.000 seconds 1560s ok 5 /signal/handler/disconnect-2-signals 1560s # min perf: disconnected 1 handlers in 0.000 seconds 1560s ok 6 /signal/handler/disconnect-2-objects 1560s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1560s ok 7 /signal/handler/block-many 1560s # End of handler tests 1560s # End of signal tests 1560s ok - glib/signal-handler.test 1560s # Running test: glib/relation.test 1560s TAP version 14 1560s # random seed: R02S504677d3efdecf14b67adfb41693366d 1560s 1..1 1560s # Start of glib tests 1560s ok 1 /glib/relation 1560s # End of glib tests 1560s ok - glib/relation.test 1560s # Running test: glib/buffered-output-stream.test 1560s TAP version 14 1560s # random seed: R02S4f31d7680908fceeb140b87a966b503c 1560s 1..5 1560s # Start of buffered-output-stream tests 1560s ok 1 /buffered-output-stream/write 1560s ok 2 /buffered-output-stream/grow 1560s ok 3 /buffered-output-stream/seek 1560s ok 4 /buffered-output-stream/truncate 1560s # End of buffered-output-stream tests 1560s # 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/gobject-private.test 1560s TAP version 14 1560s # random seed: R02Sf79be850d2194743b4bccf2ace869dcc 1560s 1..3 1560s # Start of private tests 1560s ok 1 /private/instance 1560s ok 2 /private/derived-instance 1560s ok 3 /private/mixed-derived-instance 1560s # End of private tests 1560s ok - glib/gobject-private.test 1560s # Running test: glib/async-close-output-stream.test 1560s TAP version 14 1560s # random seed: R02Scd06bfe73dfddcb58e0bf42b8afd34c7 1560s 1..3 1560s # Start of close-async tests 1560s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1560s ok 1 /close-async/without-flush 1560s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1560s ok 2 /close-async/with-flush 1560s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1560s ok 3 /close-async/with-async-flush 1560s # End of close-async tests 1560s ok - glib/async-close-output-stream.test 1560s # Running test: glib/gdbus-subscribe.test 1560s TAP version 14 1560s # random seed: R02S5e42f20b8d3a35e0cac4e0d4cddad073 1560s 1..24 1560s # Start of gdbus tests 1560s # Start of subscribe tests 1560s # Start of conn tests 1560s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/simple/.dirs/home 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/simple/.dirs/cache 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/simple/.dirs/system-config2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/simple/.dirs/config 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/simple/.dirs/system-data2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/simple/.dirs/data 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/simple/.dirs/state 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/simple/.dirs/runtime 1560s # subscriber is :1.0 1560s # service is :1.1 1560s # service 2 is :1.2 1560s # attacker is :1.3 1560s # Waiting for AddMatch to be processed 1560s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1560s # Step 0: emitting signal 1560s # Sender: service 1560s # Destination: (broadcast) 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Step 1: adding subscription 1560s # Sender: (any) 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: (any) 1560s # String argument 0: (any) 1560s # Flags: 0 1560s # Subscribing via connection 1560s # Waiting for AddMatch to be processed 1560s # Step 2: emitting signal 1560s # Sender: service 1560s # Destination: (broadcast) 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Signal received from service :1.1 1560s # Signal received from service :1.1 via connection 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Sent in step: 2 1560s # Received Finished signal from subscriber :1.0 1560s # Received Finished signal from service :1.1 1560s # Received Finished signal from service 2 :1.2 1560s # Received Finished signal from attacker :1.3 1560s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1560s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s ok 1 /gdbus/subscribe/conn/simple 1560s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1560s # subscriber is :1.0 1560s # service is :1.1 1560s # service 2 is :1.2 1560s # attacker is :1.3 1560s # Waiting for AddMatch to be processed 1560s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1560s # Step 0: adding subscription 1560s # Sender: (any) 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: (any) 1560s # String argument 0: (any) 1560s # Flags: 0 1560s # Subscribing via connection 1560s # Waiting for AddMatch to be processed 1560s # Step 1: emitting signal 1560s # Sender: service 1560s # Destination: (broadcast) 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Step 2: emitting signal 1560s # Sender: service 2 1560s # Destination: (broadcast) 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Step 3: emitting signal 1560s # Sender: service 1560s # Destination: subscriber :1.0 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Step 4: emitting signal 1560s # Sender: service 2 1560s # Destination: subscriber :1.0 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Signal received from service :1.1 1560s # Signal received from service :1.1 via connection 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Sent in step: 1 1560s # Signal received from service 2 :1.2 1560s # Signal received from service 2 :1.2 via connection 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Sent in step: 2 1560s # Signal received from service :1.1 1560s # Signal received from service :1.1 via connection 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Sent in step: 3 1560s # Signal received from service 2 :1.2 1560s # Signal received from service 2 :1.2 via connection 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Sent in step: 4 1560s # Received Finished signal from service 2 :1.2 1560s # Received Finished signal from subscriber :1.0 1560s # Received Finished signal from service :1.1 1560s # Received Finished signal from attacker :1.3 1560s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1560s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1560s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1560s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1560s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/match_twice/.dirs/home 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/match_twice/.dirs/cache 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/match_twice/.dirs/config 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/match_twice/.dirs/data 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/match_twice/.dirs/state 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/match_twice/.dirs/runtime 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1560s # subscriber is :1.0 1560s # service is :1.1 1560s # service 2 is :1.2 1560s # attacker is :1.3 1560s # Waiting for AddMatch to be processed 1560s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1560s # Step 0: adding subscription 1560s # Sender: service :1.1 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: (any) 1560s # String argument 0: (any) 1560s # Flags: 0 1560s # Subscribing via connection 1560s # Waiting for AddMatch to be processed 1560s # Step 1: adding subscription 1560s # Sender: (any) 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: (any) 1560s # Member: (any) 1560s # String argument 0: (any) 1560s # Flags: 0 1560s # Subscribing via connection 1560s # Waiting for AddMatch to be processed 1560s # Step 2: adding subscription 1560s # Sender: (any) 1560s # Path: (any) 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: (any) 1560s # String argument 0: (any) 1560s # Flags: 0 1560s # Subscribing via connection 1560s # Waiting for AddMatch to be processed 1560s # Step 3: adding subscription 1560s # Sender: service :1.1 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: (any) 1560s # String argument 0: (any) 1560s # Flags: 0 1560s # Subscribing via connection 1560s # Waiting for AddMatch to be processed 1560s # Step 4: emitting signal 1560s # Sender: service 1560s # Destination: (broadcast) 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Signal received from service :1.1 1560s # Signal received from service :1.1 via connection 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Sent in step: 4 1560s # Signal received from service :1.1 1560s # Signal received from service :1.1 via connection 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Sent in step: 4 1560s # Signal received from service :1.1 1560s # Signal received from service :1.1 via connection 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Sent in step: 4 1560s # Signal received from service :1.1 1560s # Signal received from service :1.1 via connection 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Sent in step: 4 1560s # Received Finished signal from subscriber :1.0 1560s # Received Finished signal from service :1.1 1560s # Received Finished signal from service 2 :1.2 1560s # Received Finished signal from attacker :1.3 1560s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s ok 3 /gdbus/subscribe/conn/match_twice 1560s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1560s # subscriber is :1.0 1560s # service is :1.1 1560s # service 2 is :1.2 1560s # attacker is :1.3 1560s # Waiting for AddMatch to be processed 1560s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1560s # Step 0: adding subscription 1560s # Sender: service :1.1 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: (any) 1560s # String argument 0: (any) 1560s # Flags: 0 1560s # Subscribing via connection 1560s # Waiting for AddMatch to be processed 1560s # Step 1: emitting signal 1560s # Sender: attacker 1560s # Destination: (broadcast) 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Step 2: emitting signal 1560s # Sender: attacker 1560s # Destination: subscriber :1.0 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Step 3: emitting signal 1560s # Sender: service 1560s # Destination: (broadcast) 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Signal received from service :1.1 1560s # Signal received from service :1.1 via connection 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Sent in step: 3 1560s # Received Finished signal from subscriber :1.0 1560s # Received Finished signal from service :1.1 1560s # Received Finished signal from service 2 :1.2 1560s # Received Finished signal from attacker :1.3 1560s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1560s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1560s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1560s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1560s # subscriber is :1.0 1560s # service is :1.1 1560s # service 2 is :1.2 1560s # attacker is :1.3 1560s # Waiting for AddMatch to be processed 1560s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1560s # Step 0: adding subscription 1560s # Sender: :0.this.had.better.not.exist 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: (any) 1560s # String argument 0: (any) 1560s # Flags: 0 1560s # Subscribing via connection 1560s # Waiting for AddMatch to be processed 1560s # Step 1: emitting signal 1560s # Sender: attacker 1560s # Destination: (broadcast) 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Step 2: emitting signal 1560s # Sender: attacker 1560s # Destination: subscriber :1.0 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Received Finished signal from subscriber :1.0 1560s # Received Finished signal from service :1.1 1560s # Received Finished signal from service 2 :1.2 1560s # Received Finished signal from attacker :1.3 1560s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1560s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1560s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1560s # subscriber is :1.0 1560s # service is :1.1 1560s # service 2 is :1.2 1560s # attacker is :1.3 1560s # Waiting for AddMatch to be processed 1560s # /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 1560s # Step 0: claiming bus name 1560s # Name: org.gtk.Test.AlreadyOwned 1560s # Owner: service 1560s # Step 1: adding subscription 1560s # Sender: org.gtk.Test.AlreadyOwned 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: (any) 1560s # String argument 0: (any) 1560s # Flags: 0 1560s # Subscribing via connection 1560s # Waiting for AddMatch to be processed 1560s # Step 2: adding subscription 1560s # Sender: org.gtk.Test.OwnedLater 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: (any) 1560s # String argument 0: (any) 1560s # Flags: 0 1560s # Subscribing via connection 1560s # Waiting for AddMatch to be processed 1560s # Step 3: emitting signal 1560s # Sender: attacker 1560s # Destination: (broadcast) 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Step 4: emitting signal 1560s # Sender: attacker 1560s # Destination: subscriber :1.0 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Step 5: emitting signal 1560s # Sender: service 1560s # Destination: (broadcast) 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Step 6: claiming bus name 1560s # Name: org.gtk.Test.OwnedLater 1560s # Owner: service 1560s # Step 7: emitting signal 1560s # Sender: service 1560s # Destination: (broadcast) 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Waiting for signal to reach message bus 1560s # Signal received from service :1.1 1560s # Signal received from service :1.1 via connection 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Sent in step: 5 1560s # Signal received from service :1.1 1560s # Signal received from service :1.1 via connection 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Sent in step: 7 1560s # Signal received from service :1.1 1560s # Signal received from service :1.1 via connection 1560s # Path: /org/gtk/GDBus/ExampleInterface 1560s # Interface: org.gtk.GDBus.ExampleInterface 1560s # Member: Foo 1560s # Argument 0: (not a string) 1560s # Sent in step: 7 1560s # Received Finished signal from subscriber :1.0 1560s # Received Finished signal from service :1.1 1560s # Received Finished signal from service 2 :1.2 1560s # Received Finished signal from attacker :1.3 1560s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1560s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1560s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1560s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1560s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1560s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1560s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1560s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1560s # subscriber is :1.0 1560s # service is :1.1 1560s # service 2 is :1.2 1560s # attacker is :1.3 1560s # Waiting for AddMatch to be processed 1560s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1560s # Step 0: adding subscription 1560s # Sender: org.freedesktop.DBus 1560s # Path: /org/freedesktop/DBus 1560s # Interface: org.freedesktop.DBus 1560s # Member: (any) 1560s # String argument 0: (any) 1560s # Flags: 0 1560s # Subscribing via connection 1560s # Waiting for AddMatch to be processed 1560s # Step 1: emitting signal 1560s # Sender: attacker 1560s # Destination: (broadcast) 1560s # Path: /org/freedesktop/DBus 1560s # Interface: org.freedesktop.DBus 1560s # Member: NameOwnerChanged 1560s # String argument 0: would I lie to you? 1560s # Waiting for signal to reach message bus 1560s # Step 2: emitting signal 1560s # Sender: attacker 1560s # Destination: subscriber :1.0 1560s # Path: /org/freedesktop/DBus 1560s # Interface: org.freedesktop.DBus 1560s # Member: NameOwnerChanged 1560s # Waiting for signal to reach message bus 1560s # Step 3: claiming bus name 1560s # Name: org.gtk.Test.OwnedLater 1560s # Owner: service 1560s # Signal received from message bus org.freedesktop.DBus 1560s # Signal received from (unused) org.freedesktop.DBus via connection 1560s # Path: /org/freedesktop/DBus 1560s # Interface: org.freedesktop.DBus 1560s # Member: NameOwnerChanged 1560s # Received Finished signal from subscriber :1.0 1560s # Received Finished signal from service :1.1 1560s # Received Finished signal from service 2 :1.2 1560s # Received Finished signal from attacker :1.3 1560s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1560s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1560s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1561s # Step 0: claiming bus name 1561s # Name: org.gtk.Test.AlreadyOwned 1561s # Owner: service 1561s # Step 1: adding subscription 1561s # Sender: org.gtk.Test.AlreadyOwned 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via connection 1561s # Immediately unsubscribing 1561s # Waiting for AddMatch to be processed 1561s # Step 2: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1561s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1561s # End of conn tests 1561s # Start of proxy tests 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/simple/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/simple/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/simple/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/simple/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/simple/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/simple/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/simple/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/simple/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1561s # Step 0: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 1: adding subscription 1561s # Sender: (any) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Cannot subscribe via proxy: no bus name 1561s # Waiting for AddMatch to be processed 1561s # Step 2: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 9 /gdbus/subscribe/proxy/simple 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1561s # Step 0: adding subscription 1561s # Sender: (any) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Cannot subscribe via proxy: no bus name 1561s # Waiting for AddMatch to be processed 1561s # Step 1: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 2: emitting signal 1561s # Sender: service 2 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 3: emitting signal 1561s # Sender: service 1561s # Destination: subscriber :1.0 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 4: emitting signal 1561s # Sender: service 2 1561s # Destination: subscriber :1.0 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/match_twice/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/match_twice/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/match_twice/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/match_twice/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/match_twice/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1561s # Step 0: adding subscription 1561s # Sender: service :1.1 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 1: adding subscription 1561s # Sender: (any) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: (any) 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Cannot subscribe via proxy: no bus name 1561s # Waiting for AddMatch to be processed 1561s # Step 2: adding subscription 1561s # Sender: (any) 1561s # Path: (any) 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Cannot subscribe via proxy: no bus name 1561s # Waiting for AddMatch to be processed 1561s # Step 3: adding subscription 1561s # Sender: service :1.1 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 4: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via proxy 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 4 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via proxy 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 4 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 11 /gdbus/subscribe/proxy/match_twice 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1561s # Step 0: adding subscription 1561s # Sender: service :1.1 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 1: emitting signal 1561s # Sender: attacker 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 2: emitting signal 1561s # Sender: attacker 1561s # Destination: subscriber :1.0 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 3: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via proxy 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 3 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1561s # Step 0: adding subscription 1561s # Sender: :0.this.had.better.not.exist 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 1: emitting signal 1561s # Sender: attacker 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 2: emitting signal 1561s # Sender: attacker 1561s # Destination: subscriber :1.0 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /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 1561s # Step 0: claiming bus name 1561s # Name: org.gtk.Test.AlreadyOwned 1561s # Owner: service 1561s # Step 1: adding subscription 1561s # Sender: org.gtk.Test.AlreadyOwned 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 2: adding subscription 1561s # Sender: org.gtk.Test.OwnedLater 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 3: emitting signal 1561s # Sender: attacker 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 4: emitting signal 1561s # Sender: attacker 1561s # Destination: subscriber :1.0 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 5: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 6: claiming bus name 1561s # Name: org.gtk.Test.OwnedLater 1561s # Owner: service 1561s # Step 7: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via proxy 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 5 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via proxy 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 7 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via proxy 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 7 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1561s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1561s # Step 0: adding subscription 1561s # Sender: org.freedesktop.DBus 1561s # Path: /org/freedesktop/DBus 1561s # Interface: org.freedesktop.DBus 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 1: emitting signal 1561s # Sender: attacker 1561s # Destination: (broadcast) 1561s # Path: /org/freedesktop/DBus 1561s # Interface: org.freedesktop.DBus 1561s # Member: NameOwnerChanged 1561s # String argument 0: would I lie to you? 1561s # Waiting for signal to reach message bus 1561s # Step 2: emitting signal 1561s # Sender: attacker 1561s # Destination: subscriber :1.0 1561s # Path: /org/freedesktop/DBus 1561s # Interface: org.freedesktop.DBus 1561s # Member: NameOwnerChanged 1561s # Waiting for signal to reach message bus 1561s # Step 3: claiming bus name 1561s # Name: org.gtk.Test.OwnedLater 1561s # Owner: service 1561s # Signal received from message bus org.freedesktop.DBus 1561s # Signal received from (unused) org.freedesktop.DBus via proxy 1561s # Path: /org/freedesktop/DBus 1561s # Interface: org.freedesktop.DBus 1561s # Member: NameOwnerChanged 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1561s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1561s # Step 0: claiming bus name 1561s # Name: org.gtk.Test.AlreadyOwned 1561s # Owner: service 1561s # Step 1: adding subscription 1561s # Sender: org.gtk.Test.AlreadyOwned 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 2: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via proxy 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 2 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1561s # End of proxy tests 1561s # Start of parallel tests 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/simple/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/simple/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/simple/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/simple/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/simple/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/simple/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/simple/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/simple/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1561s # Step 0: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 1: adding subscription 1561s # Sender: (any) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via connection 1561s # Cannot subscribe via proxy: no bus name 1561s # Waiting for AddMatch to be processed 1561s # Step 2: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via connection 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 2 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1561s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1561s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 17 /gdbus/subscribe/parallel/simple 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1561s # Step 0: adding subscription 1561s # Sender: (any) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via connection 1561s # Cannot subscribe via proxy: no bus name 1561s # Waiting for AddMatch to be processed 1561s # Step 1: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 2: emitting signal 1561s # Sender: service 2 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 3: emitting signal 1561s # Sender: service 1561s # Destination: subscriber :1.0 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 4: emitting signal 1561s # Sender: service 2 1561s # Destination: subscriber :1.0 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via connection 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 1 1561s # Signal received from service 2 :1.2 1561s # Signal received from service 2 :1.2 via connection 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 2 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via connection 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 3 1561s # Signal received from service 2 :1.2 1561s # Signal received from service 2 :1.2 via connection 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 4 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1561s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1561s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1561s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1561s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/match_twice/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/match_twice/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/match_twice/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/match_twice/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/match_twice/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1561s # Step 0: adding subscription 1561s # Sender: service :1.1 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via connection 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 1: adding subscription 1561s # Sender: (any) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: (any) 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via connection 1561s # Cannot subscribe via proxy: no bus name 1561s # Waiting for AddMatch to be processed 1561s # Step 2: adding subscription 1561s # Sender: (any) 1561s # Path: (any) 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via connection 1561s # Cannot subscribe via proxy: no bus name 1561s # Waiting for AddMatch to be processed 1561s # Step 3: adding subscription 1561s # Sender: service :1.1 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via connection 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 4: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via connection 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 4 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via proxy 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 4 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via connection 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 4 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via proxy 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 4 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via connection 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 4 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via connection 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 4 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1561s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 19 /gdbus/subscribe/parallel/match_twice 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1561s # Step 0: adding subscription 1561s # Sender: service :1.1 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via connection 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 1: emitting signal 1561s # Sender: attacker 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 2: emitting signal 1561s # Sender: attacker 1561s # Destination: subscriber :1.0 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 3: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via connection 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 3 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via proxy 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 3 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1561s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1561s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1561s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1561s # Step 0: adding subscription 1561s # Sender: :0.this.had.better.not.exist 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via connection 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 1: emitting signal 1561s # Sender: attacker 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 2: emitting signal 1561s # Sender: attacker 1561s # Destination: subscriber :1.0 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1561s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1561s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /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 1561s # Step 0: claiming bus name 1561s # Name: org.gtk.Test.AlreadyOwned 1561s # Owner: service 1561s # Step 1: adding subscription 1561s # Sender: org.gtk.Test.AlreadyOwned 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via connection 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 2: adding subscription 1561s # Sender: org.gtk.Test.OwnedLater 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via connection 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 3: emitting signal 1561s # Sender: attacker 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 4: emitting signal 1561s # Sender: attacker 1561s # Destination: subscriber :1.0 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 5: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Step 6: claiming bus name 1561s # Name: org.gtk.Test.OwnedLater 1561s # Owner: service 1561s # Step 7: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via connection 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 5 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via proxy 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 5 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via connection 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 7 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via proxy 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 7 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via connection 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 7 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via proxy 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 7 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1561s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1561s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1561s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1561s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1561s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1561s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1561s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1561s # Step 0: adding subscription 1561s # Sender: org.freedesktop.DBus 1561s # Path: /org/freedesktop/DBus 1561s # Interface: org.freedesktop.DBus 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via connection 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 1: emitting signal 1561s # Sender: attacker 1561s # Destination: (broadcast) 1561s # Path: /org/freedesktop/DBus 1561s # Interface: org.freedesktop.DBus 1561s # Member: NameOwnerChanged 1561s # String argument 0: would I lie to you? 1561s # Waiting for signal to reach message bus 1561s # Step 2: emitting signal 1561s # Sender: attacker 1561s # Destination: subscriber :1.0 1561s # Path: /org/freedesktop/DBus 1561s # Interface: org.freedesktop.DBus 1561s # Member: NameOwnerChanged 1561s # Waiting for signal to reach message bus 1561s # Step 3: claiming bus name 1561s # Name: org.gtk.Test.OwnedLater 1561s # Owner: service 1561s # Signal received from message bus org.freedesktop.DBus 1561s # Signal received from (unused) org.freedesktop.DBus via connection 1561s # Path: /org/freedesktop/DBus 1561s # Interface: org.freedesktop.DBus 1561s # Member: NameOwnerChanged 1561s # Signal received from message bus org.freedesktop.DBus 1561s # Signal received from (unused) org.freedesktop.DBus via proxy 1561s # Path: /org/freedesktop/DBus 1561s # Interface: org.freedesktop.DBus 1561s # Member: NameOwnerChanged 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1561s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1561s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1561s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1561s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1561s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1561s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_2ZLPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1561s # subscriber is :1.0 1561s # service is :1.1 1561s # service 2 is :1.2 1561s # attacker is :1.3 1561s # Waiting for AddMatch to be processed 1561s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1561s # Step 0: claiming bus name 1561s # Name: org.gtk.Test.AlreadyOwned 1561s # Owner: service 1561s # Step 1: adding subscription 1561s # Sender: org.gtk.Test.AlreadyOwned 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: (any) 1561s # String argument 0: (any) 1561s # Flags: 0 1561s # Subscribing via connection 1561s # Immediately unsubscribing 1561s # Subscribing via proxy 1561s # Waiting for AddMatch to be processed 1561s # Step 2: emitting signal 1561s # Sender: service 1561s # Destination: (broadcast) 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Waiting for signal to reach message bus 1561s # Signal received from service :1.1 1561s # Signal received from service :1.1 via proxy 1561s # Path: /org/gtk/GDBus/ExampleInterface 1561s # Interface: org.gtk.GDBus.ExampleInterface 1561s # Member: Foo 1561s # Argument 0: (not a string) 1561s # Sent in step: 2 1561s # Received Finished signal from subscriber :1.0 1561s # Received Finished signal from service :1.1 1561s # Received Finished signal from service 2 :1.2 1561s # Received Finished signal from attacker :1.3 1561s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1561s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1561s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1561s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1561s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1561s # End of parallel tests 1561s # End of subscribe tests 1561s # End of gdbus tests 1561s ok - glib/gdbus-subscribe.test 1561s # Running test: glib/task.test 1561s TAP version 14 1561s # random seed: R02Sfab23601b52de84ddff2bdb290cadb1c 1561s 1..36 1561s # Start of gtask tests 1561s ok 1 /gtask/basic 1561s ok 2 /gtask/error 1561s ok 3 /gtask/error-literal 1561s ok 4 /gtask/error-literal-from-variable 1561s ok 5 /gtask/return-from-same-iteration 1561s ok 6 /gtask/return-from-toplevel 1561s ok 7 /gtask/return-from-anon-thread 1561s ok 8 /gtask/return-from-wrong-thread 1561s ok 9 /gtask/no-callback 1561s ok 10 /gtask/report-error 1561s ok 11 /gtask/priority 1561s ok 12 /gtask/name 1561s ok 13 /gtask/static-name 1561s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1561s ok 14 /gtask/asynchronous-cancellation 1561s ok 15 /gtask/check-cancellable 1561s ok 16 /gtask/return-if-cancelled 1561s ok 17 /gtask/run-in-thread 1561s ok 18 /gtask/run-in-thread-sync 1561s ok 19 /gtask/run-in-thread-priority 1561s ok 20 /gtask/run-in-thread-nested 1562s ok 21 /gtask/run-in-thread-overflow 1562s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1562s # GLib-GIO-DEBUG: GTask 0xdfe8408 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1562s ok 22 /gtask/return-on-cancel 1562s # GLib-GIO-DEBUG: GTask 0xdfe8010 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1562s # GLib-GIO-DEBUG: GTask 0xe007718 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1562s # GLib-GIO-DEBUG: GTask 0xdfe8a50 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1562s ok 23 /gtask/return-on-cancel-sync 1562s ok 24 /gtask/return-on-cancel-atomic 1562s ok 25 /gtask/return-pointer 1562s ok 26 /gtask/return-value 1562s ok 27 /gtask/return-prefixed-error 1562s ok 28 /gtask/object-keepalive 1562s ok 29 /gtask/legacy-error 1562s ok 30 /gtask/finalize-without-return 1562s # Start of name tests 1562s ok 31 /gtask/name/macro-wrapper 1562s # End of name tests 1562s # Start of return tests 1562s ok 32 /gtask/return/error-first 1562s ok 33 /gtask/return/value-first 1562s # Start of in-idle tests 1562s ok 34 /gtask/return/in-idle/error-first 1562s ok 35 /gtask/return/in-idle/value-first 1562s # End of in-idle tests 1562s # End of return tests 1562s # Start of attach-source tests 1562s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1562s ok 36 /gtask/attach-source/set-name 1562s # End of attach-source tests 1562s # End of gtask tests 1562s ok - glib/task.test 1562s # Running test: glib/utils-c-17.test 1562s TAP version 14 1562s # random seed: R02Sb448d4ff858c35cf8767d3c2e751dd16 1562s 1..40 1562s # Start of utils tests 1562s ok 1 /utils/language-names 1562s ok 2 /utils/locale-variants 1562s ok 3 /utils/version 1562s ok 4 /utils/appname 1562s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1562s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1562s ok 5 /utils/prgname-thread-safety 1562s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1562s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1562s ok 6 /utils/tmpdir 1562s ok 7 /utils/basic_bits 1562s ok 8 /utils/bits 1562s ok 9 /utils/swap 1562s ok 10 /utils/find-program 1562s ok 11 /utils/find-program-for-path 1562s ok 12 /utils/debug 1562s ok 13 /utils/codeset 1562s ok 14 /utils/codeset2 1562s ok 15 /utils/console-charset 1562s ok 16 /utils/gettext 1562s ok 17 /utils/username 1562s ok 18 /utils/realname 1562s ok 19 /utils/hostname 1562s ok 20 /utils/xdgdirs 1562s ok 21 /utils/specialdir 1562s # NAME: Ubuntu 1562s ok 22 /utils/os-info 1562s ok 23 /utils/clear-pointer 1562s ok 24 /utils/clear-pointer-cast 1562s ok 25 /utils/take-pointer 1562s ok 26 /utils/clear-source 1562s ok 27 /utils/misc-mem 1562s # /utils/aligned-mem summary: Aligned memory allocator 1562s # Alignment must not be zero 1562s # Alignment must be a power of two 1562s # Alignment must be a multiple of sizeof(void*) 1562s ok 28 /utils/aligned-mem 1562s # /utils/free-sized summary: Check that g_free_sized() works 1562s ok 29 /utils/free-sized 1562s ok 30 /utils/nullify 1562s ok 31 /utils/atexit 1562s ok 32 /utils/check-setuid 1562s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1562s ok 33 /utils/int-limits 1562s ok 34 /utils/clear-list 1562s ok 35 /utils/clear-slist 1562s # Start of specialdir tests 1562s ok 36 /utils/specialdir/desktop 1562s # End of specialdir tests 1562s # Start of clear-pointer tests 1562s ok 37 /utils/clear-pointer/side-effects 1562s # End of clear-pointer tests 1562s # Start of aligned-mem tests 1562s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1562s ok 38 /utils/aligned-mem/alignment 1562s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1562s ok 39 /utils/aligned-mem/zeroed 1562s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1562s ok 40 /utils/aligned-mem/free-sized 1562s # Start of subprocess tests 1562s # End of subprocess tests 1562s # End of aligned-mem tests 1562s # End of utils tests 1562s ok - glib/utils-c-17.test 1562s # Running test: glib/gobject-query.py.test 1562s # Executing: glib/gobject-query.py.test 1562s TAP version 13 1562s ok 1 __main__.TestGobjectQuery.test_froots 1562s # gobject-query: /usr/bin/gobject-query 1562s # Running: ['/usr/bin/gobject-query', 'froots'] 1562s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1562s # Output: ├void 1562s # ├GInterface 1562s # │ └GTypePlugin 1562s # ├gchar 1562s # ├guchar 1562s # ├gboolean 1562s # ├gint 1562s # ├guint 1562s # ├glong 1562s # ├gulong 1562s # ├gint64 1562s # ├guint64 1562s # ├GEnum 1562s # ├GFlags 1562s # ├gfloat 1562s # ├gdouble 1562s # ├gchararray 1562s # ├gpointer 1562s # │ └GType 1562s # ├GBoxed 1562s # │ └GValueArray 1562s # ├GParam 1562s # │ ├GParamChar 1562s # │ ├GParamUChar 1562s # │ ├GParamBoolean 1562s # │ ├GParamInt 1562s # │ ├GParamUInt 1562s # │ ├GParamLong 1562s # │ ├GParamULong 1562s # │ ├GParamInt64 1562s # │ ├GParamUInt64 1562s # │ ├GParamUnichar 1562s # │ ├GParamEnum 1562s # │ ├GParamFlags 1562s # │ ├GParamFloat 1562s # │ ├GParamDouble 1562s # │ ├GParamString 1562s # │ ├GParamParam 1562s # │ ├GParamBoxed 1562s # │ ├GParamPointer 1562s # │ ├GParamValueArray 1562s # │ ├GParamObject 1562s # │ ├GParamOverride 1562s # │ ├GParamGType 1562s # │ └GParamVariant 1562s # ├GObject 1562s # └GVariant 1562s ok 2 __main__.TestGobjectQuery.test_help 1562s # gobject-query: /usr/bin/gobject-query 1562s # Running: ['/usr/bin/gobject-query', '--help'] 1562s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1562s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1562s # -r specify root type 1562s # -n don't descend type tree 1562s # -h show help 1562s # -b specify indent string 1562s # -i specify incremental indent string 1562s # -s specify line spacing 1562s # qualifiers: 1562s # froots iterate over fundamental roots 1562s # tree print type tree 1562s ok 3 __main__.TestGobjectQuery.test_tree 1562s # gobject-query: /usr/bin/gobject-query 1562s # Running: ['/usr/bin/gobject-query', 'tree'] 1562s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1562s # Output: GObject 1562s ok 4 __main__.TestGobjectQuery.test_version 1562s # gobject-query: /usr/bin/gobject-query 1562s # Running: ['/usr/bin/gobject-query', '--version'] 1562s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1562s # Output: 2.82.4 1562s 1..4 1562s ok - glib/gobject-query.py.test 1562s # Running test: glib/autoptr.test 1562s TAP version 14 1562s # random seed: R02Se9a762c7ec1e4604faed70543593309d 1562s 1..6 1562s # Start of autoptr tests 1562s ok 1 /autoptr/autoptr 1562s ok 2 /autoptr/autoptr_steal 1562s ok 3 /autoptr/autolist 1562s ok 4 /autoptr/autoslist 1562s ok 5 /autoptr/autoqueue 1562s ok 6 /autoptr/autoclass 1562s # End of autoptr tests 1562s ok - glib/autoptr.test 1562s # Running test: glib/defaultiface.test 1562s TAP version 14 1562s # random seed: R02S4953e564a63c83f82652db69c7a45578 1562s 1..2 1562s # Start of gobject tests 1562s ok 1 /gobject/static-iface 1562s ok 2 /gobject/dynamic-iface 1562s # End of gobject tests 1562s ok - glib/defaultiface.test 1562s # Running test: glib/cxx-03.test 1562s TAP version 14 1562s # random seed: R02S924772cb000e95d612ee8d269a9c7134 1562s 1..2 1562s # Start of gtask tests 1562s # 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. 1562s ok 1 /gtask/name 1562s # Start of name tests 1562s # 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. 1562s ok 2 /gtask/name/macro-wrapper 1562s # End of name tests 1562s # End of gtask tests 1562s ok - glib/cxx-03.test 1562s # Running test: glib/basics-gobject.test 1562s TAP version 14 1562s # random seed: R02Sd51f271a6f279d6ee6425d2926462691 1562s 1..1 1562s # Start of gobject tests 1562s # private data during initialization: 54321 == 54321 1562s # MAIN: emit test-signal: 1562s # ::test_signal default_handler called 1562s # ::test_signal default_handler called 1562s # ::test_signal default_handler called 1562s # signal return: "" 1562s # MAIN: call iface print-string on test and derived object: 1562s # Iface-FOO: "iface-string-from-test-type" from 0x988ec50 1562s # Iface-BAR: "iface-string-from-derived-type" from 0x988eb30 1562s # chaining: 1562s # Iface-FOO: "iface-string-from-derived-type" from 0x988eb30 1562s # private data after initialization: 54321 == 54321 1562s ok 1 /gobject/basics 1562s # End of gobject tests 1562s ok - glib/basics-gobject.test 1562s # Running test: glib/thread-pool.test 1562s TAP version 14 1562s # random seed: R02Sdf5f9a6b4812833f71be40e959b1c309 1562s 1..5 1562s # Start of thread_pool tests 1562s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1562s ok 1 /thread_pool/shared 1562s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1562s ok 2 /thread_pool/exclusive 1562s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1562s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1562s ok 3 /thread_pool/create_shared_after_exclusive 1562s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1562s ok 4 /thread_pool/create_full 1562s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1562s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1562s ok 5 /thread_pool/create_exclusive_after_shared 1562s # End of thread_pool tests 1562s ok - glib/thread-pool.test 1562s # Running test: glib/spawn-path-search.test 1562s TAP version 14 1562s # random seed: R02Sc9b607cabed6de09f1432668ce676b65 1562s 1..7 1562s # Start of spawn tests 1562s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1562s # 1562s # this is spawn-test-helper from glib/tests 1562s # 1562s ok 1 /spawn/do-not-search 1562s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1562s # 1562s # this is spawn-test-helper from path-test-subdir 1562s # 1562s ok 2 /spawn/search-path 1562s # /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. 1562s # 1562s # this is spawn-test-helper from path-test-subdir 1562s # 1562s ok 3 /spawn/search-path-from-envp 1562s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1562s # 1562s # this is spawn-test-helper from path-test-subdir 1562s # 1562s ok 4 /spawn/search-path-ambiguous 1562s # 1562s # this is spawn-test-helper from path-test-subdir 1562s # 1562s ok 5 /spawn/search-path-heap-allocation 1562s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1562s # 1562s # this is spawn-test-helper from glib/tests 1562s # 1562s ok 6 /spawn/search-path-fallback-in-environ 1562s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1562s # 1562s # this is spawn-test-helper from glib/tests 1562s # 1562s ok 7 /spawn/search-path-fallback-in-envp 1562s # End of spawn tests 1562s ok - glib/spawn-path-search.test 1562s # Running test: glib/gdbus-address-get-session.test 1562s TAP version 14 1562s # random seed: R02S94a7ffe21ef869a462b1c883d8d536d0 1562s 1..2 1562s # Start of gdbus tests 1562s ok 1 /gdbus/x11-autolaunch 1562s ok 2 /gdbus/xdg-runtime 1562s # End of gdbus tests 1562s ok - glib/gdbus-address-get-session.test 1562s # Running test: glib/g-file-info.test 1562s TAP version 14 1562s # random seed: R02Sd2102106e1724ebc175e227581a5f6a7 1562s 1..6 1562s # Start of g-file-info tests 1562s ok 1 /g-file-info/test_g_file_info 1562s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1562s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1562s ok 2 /g-file-info/xattrs 1562s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1562s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1562s ok 3 /g-file-info/set-modified-date-time-precision 1562s # Start of test_g_file_info tests 1562s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1562s ok 4 /g-file-info/test_g_file_info/modification-time 1562s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1562s ok 5 /g-file-info/test_g_file_info/access-time 1562s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1562s ok 6 /g-file-info/test_g_file_info/creation-time 1562s # End of test_g_file_info tests 1562s # End of g-file-info tests 1562s ok - glib/g-file-info.test 1562s # Running test: glib/buffered-input-stream.test 1562s TAP version 14 1562s # random seed: R02S5ac35a8233b13e565ae160aeb3eedeb4 1562s 1..10 1562s # Start of buffered-input-stream tests 1562s ok 1 /buffered-input-stream/peek 1562s ok 2 /buffered-input-stream/peek-buffer 1562s ok 3 /buffered-input-stream/set-buffer-size 1562s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1562s ok 4 /buffered-input-stream/read-byte 1562s ok 5 /buffered-input-stream/read 1562s ok 6 /buffered-input-stream/read-async 1562s ok 7 /buffered-input-stream/skip 1562s ok 8 /buffered-input-stream/skip-async 1562s ok 9 /buffered-input-stream/seek 1562s # End of buffered-input-stream tests 1562s # Start of filter-input-stream tests 1562s ok 10 /filter-input-stream/close 1562s # End of filter-input-stream tests 1562s ok - glib/buffered-input-stream.test 1562s # Running test: glib/gdbus-bz627724.test 1562s TAP version 14 1562s # random seed: R02S178e53d76f5c1c28f4d34bb7eeec21b9 1562s 1..1 1562s # Start of gdbus tests 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_EK90Z2/gdbus/bz627724/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_EK90Z2/gdbus/bz627724/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_EK90Z2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_EK90Z2/gdbus/bz627724/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_EK90Z2/gdbus/bz627724/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_EK90Z2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_EK90Z2/gdbus/bz627724/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_EK90Z2/gdbus/bz627724/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_EK90Z2/gdbus/bz627724/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_EK90Z2/gdbus/bz627724/.dirs/runtime 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1562s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1562s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1562s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1562s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1562s ok 1 /gdbus/bz627724 1562s # End of gdbus tests 1562s ok - glib/gdbus-bz627724.test 1562s # Running test: glib/registered-type-info.test 1562s TAP version 14 1562s # random seed: R02Sc3f9aaf99913fdc6a62c762614ac0174 1562s 1..1 1562s # Start of registered-type-info tests 1562s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_AFK1Z2/registered-type-info/boxed/.dirs/home 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_AFK1Z2/registered-type-info/boxed/.dirs/cache 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_AFK1Z2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_AFK1Z2/registered-type-info/boxed/.dirs/system-config2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_AFK1Z2/registered-type-info/boxed/.dirs/config 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_AFK1Z2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_AFK1Z2/registered-type-info/boxed/.dirs/system-data2 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_AFK1Z2/registered-type-info/boxed/.dirs/data 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_AFK1Z2/registered-type-info/boxed/.dirs/state 1562s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_AFK1Z2/registered-type-info/boxed/.dirs/runtime 1562s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1562s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1562s # Expecting CClosure to not be boxed 1562s # Expecting TypeCValue to not be boxed 1562s # Expecting InitiallyUnownedClass to not be boxed 1562s # Expecting BookmarkFile to be boxed 1562s # Expecting Closure to be boxed 1562s # Expecting Object to not be boxed 1562s ok 1 /registered-type-info/boxed 1562s # End of registered-type-info tests 1562s ok - glib/registered-type-info.test 1562s # Running test: glib/deprecated-properties.test 1562s TAP version 14 1562s # random seed: R02S28a787de692be7054b1af65c1e964b8e 1562s 1..3 1562s # Start of deprecated-properties tests 1562s ok 1 /deprecated-properties/construct 1562s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1562s ok 2 /deprecated-properties/default-construct 1562s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1562s ok 3 /deprecated-properties/set 1562s # End of deprecated-properties tests 1562s ok - glib/deprecated-properties.test 1562s # Running test: glib/thread-deprecated.test 1562s TAP version 14 1562s # random seed: R02S0710b92b2070f9aa405b7538af2030d1 1562s 1..6 1562s # Start of thread tests 1562s ok 1 /thread/mutex 1563s ok 2 /thread/static-rec-mutex 1567s # Executing: glib/thread-deprecated.test 1567s ok 3 /thread/static-private 1567s # slow test /thread/static-private executed in 4.40 secs 1572s # Executing: glib/thread-deprecated.test 1572s ok 4 /thread/static-rw-lock 1572s # slow test /thread/static-rw-lock executed in 5.00 secs 1572s ok 5 /thread/once 1577s # Executing: glib/thread-deprecated.test 1582s # Executing: glib/thread-deprecated.test 1582s ok 6 /thread/rerun-all 1582s # slow test /thread/rerun-all executed in 10.02 secs 1582s # End of thread tests 1582s ok - glib/thread-deprecated.test 1582s # Running test: glib/portal-support-none.test 1582s TAP version 14 1582s # random seed: R02S07f1009ffbe04de407e3a3b3724116b0 1582s 1..1 1582s # Start of portal-support tests 1582s ok 1 /portal-support/none 1582s # End of portal-support tests 1582s ok - glib/portal-support-none.test 1582s # Running test: glib/io-stream.test 1582s TAP version 14 1582s # random seed: R02Sb8b80d27b9e272fb90fa8564e3be685a 1582s 1..3 1582s # Start of io-stream tests 1582s ok 1 /io-stream/copy-chunks 1582s # Start of close tests 1582s # Start of async tests 1582s ok 2 /io-stream/close/async/memory 1582s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1582s ok 3 /io-stream/close/async/file 1582s # End of async tests 1582s # End of close tests 1582s # End of io-stream tests 1582s ok - glib/io-stream.test 1582s # Running test: glib/convert.test 1582s TAP version 14 1582s # random seed: R02Sb18b18d63935d053eae5b6d771d0ba37 1582s 1..14 1582s # Start of conversion tests 1582s ok 1 /conversion/no-conv 1582s ok 2 /conversion/iconv-state 1582s ok 3 /conversion/illegal-sequence 1582s ok 4 /conversion/byte-order 1582s ok 5 /conversion/unicode 1582s ok 6 /conversion/filename-utf8 1582s ok 7 /conversion/filename-display 1582s ok 8 /conversion/convert-embedded-nul 1582s # Start of locale-to-utf8 tests 1582s ok 9 /conversion/locale-to-utf8/embedded-nul 1582s # Start of embedded-nul tests 1582s # Start of subprocess tests 1582s # End of subprocess tests 1582s # End of embedded-nul tests 1582s # End of locale-to-utf8 tests 1582s # Start of locale-from-utf8 tests 1582s ok 10 /conversion/locale-from-utf8/embedded-nul 1582s # Start of embedded-nul tests 1582s # Start of subprocess tests 1582s # End of subprocess tests 1582s # End of embedded-nul tests 1582s # End of locale-from-utf8 tests 1582s # Start of filename-to-utf8 tests 1582s ok 11 /conversion/filename-to-utf8/embedded-nul 1582s # Start of embedded-nul tests 1582s # Start of subprocess tests 1582s # End of subprocess tests 1582s # End of embedded-nul tests 1582s # End of filename-to-utf8 tests 1582s # Start of filename-from-utf8 tests 1582s ok 12 /conversion/filename-from-utf8/embedded-nul 1582s # Start of embedded-nul tests 1582s # Start of subprocess tests 1582s # End of subprocess tests 1582s # End of embedded-nul tests 1582s # End of filename-from-utf8 tests 1582s # Start of filename-from-uri tests 1582s ok 13 /conversion/filename-from-uri/query-is-ignored 1582s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1582s # End of filename-from-uri tests 1582s # End of conversion tests 1582s ok - glib/convert.test 1582s # Running test: glib/fileattributematcher.test 1582s TAP version 14 1582s # random seed: R02S2953202975044cb122c289ca0e7468df 1582s 1..3 1582s # Start of fileattributematcher tests 1582s ok 1 /fileattributematcher/exact 1582s ok 2 /fileattributematcher/equality 1582s ok 3 /fileattributematcher/subtract 1582s # End of fileattributematcher tests 1582s ok - glib/fileattributematcher.test 1582s # Running test: glib/gdbus-auth.test 1582s TAP version 14 1582s # random seed: R02S52889b4550d25169b9f0e2c3a7fdbc2c 1582s 1..5 1582s # Start of gdbus tests 1582s # Start of auth tests 1582s # Start of client tests 1582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/EXTERNAL/.dirs/home 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/EXTERNAL/.dirs/cache 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/EXTERNAL/.dirs/config 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/EXTERNAL/.dirs/data 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/EXTERNAL/.dirs/state 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1582s ok 1 /gdbus/auth/client/EXTERNAL 1582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1582s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1582s # End of client tests 1582s # Start of server tests 1582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/ANONYMOUS/.dirs/home 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/ANONYMOUS/.dirs/config 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/ANONYMOUS/.dirs/data 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/ANONYMOUS/.dirs/state 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1582s ok 3 /gdbus/auth/server/ANONYMOUS 1582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/EXTERNAL/.dirs/home 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/EXTERNAL/.dirs/cache 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/EXTERNAL/.dirs/config 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/EXTERNAL/.dirs/data 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/EXTERNAL/.dirs/state 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1582s ok 4 /gdbus/auth/server/EXTERNAL 1582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_G563Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1582s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1582s # End of server tests 1582s # End of auth tests 1582s # End of gdbus tests 1582s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1582s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1582s ok - glib/gdbus-auth.test 1582s # Running test: glib/charset.test 1582s TAP version 14 1582s # random seed: R02Sd4d12d72ec0fced8206f1ad8ed315784 1582s 1..2 1582s # Start of charset tests 1582s # Test 0 1582s # Test 1 1582s # Test 2 1582s # Test 3 1582s ok 1 /charset/language_names_with_category 1582s ok 2 /charset/language_names_with_category_async 1582s # End of charset tests 1582s ok - glib/charset.test 1582s # Running test: glib/memory-output-stream.test 1582s TAP version 14 1582s # random seed: R02S5cffa5b124158f52b94fcc5672805ef3 1582s 1..10 1582s # Start of memory-output-stream tests 1582s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1582s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1582s ok 1 /memory-output-stream/truncate 1582s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1582s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1582s ok 2 /memory-output-stream/get-data-size 1582s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1582s ok 3 /memory-output-stream/properties 1582s ok 4 /memory-output-stream/write-bytes 1582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1582s ok 5 /memory-output-stream/write-null 1582s ok 6 /memory-output-stream/writev 1582s ok 7 /memory-output-stream/writev_nonblocking 1582s ok 8 /memory-output-stream/steal_as_bytes 1582s # Start of seek tests 1582s ok 9 /memory-output-stream/seek/fixed 1582s ok 10 /memory-output-stream/seek/resizable 1582s # End of seek tests 1582s # End of memory-output-stream tests 1582s ok - glib/memory-output-stream.test 1582s # Running test: glib/utils-c-89.test 1582s TAP version 14 1582s # random seed: R02S58b6c0ccc715c16586e2826fd485a6d9 1582s 1..40 1582s # Start of utils tests 1582s ok 1 /utils/language-names 1582s ok 2 /utils/locale-variants 1582s ok 3 /utils/version 1582s ok 4 /utils/appname 1582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1582s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1582s ok 5 /utils/prgname-thread-safety 1582s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1582s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1582s ok 6 /utils/tmpdir 1582s ok 7 /utils/basic_bits 1582s ok 8 /utils/bits 1582s ok 9 /utils/swap 1582s ok 10 /utils/find-program 1582s ok 11 /utils/find-program-for-path 1582s ok 12 /utils/debug 1582s ok 13 /utils/codeset 1582s ok 14 /utils/codeset2 1582s ok 15 /utils/console-charset 1582s ok 16 /utils/gettext 1582s ok 17 /utils/username 1582s ok 18 /utils/realname 1582s ok 19 /utils/hostname 1582s ok 20 /utils/xdgdirs 1582s ok 21 /utils/specialdir 1582s # NAME: Ubuntu 1582s ok 22 /utils/os-info 1582s ok 23 /utils/clear-pointer 1582s ok 24 /utils/clear-pointer-cast 1582s ok 25 /utils/take-pointer 1582s ok 26 /utils/clear-source 1582s ok 27 /utils/misc-mem 1582s # /utils/aligned-mem summary: Aligned memory allocator 1582s # Alignment must not be zero 1582s # Alignment must be a power of two 1582s # Alignment must be a multiple of sizeof(void*) 1582s ok 28 /utils/aligned-mem 1582s # /utils/free-sized summary: Check that g_free_sized() works 1582s ok 29 /utils/free-sized 1582s ok 30 /utils/nullify 1582s ok 31 /utils/atexit 1582s ok 32 /utils/check-setuid 1582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1582s ok 33 /utils/int-limits 1582s ok 34 /utils/clear-list 1582s ok 35 /utils/clear-slist 1582s # Start of specialdir tests 1582s ok 36 /utils/specialdir/desktop 1582s # End of specialdir tests 1582s # Start of clear-pointer tests 1582s ok 37 /utils/clear-pointer/side-effects 1582s # End of clear-pointer tests 1582s # Start of aligned-mem tests 1582s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1582s ok 38 /utils/aligned-mem/alignment 1582s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1582s ok 39 /utils/aligned-mem/zeroed 1582s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1582s ok 40 /utils/aligned-mem/free-sized 1582s # Start of subprocess tests 1582s # End of subprocess tests 1582s # End of aligned-mem tests 1582s # End of utils tests 1582s ok - glib/utils-c-89.test 1582s # Running test: glib/mapping.test 1582s TAP version 14 1582s # random seed: R02Sdd2150b688d8f0c68735430b9f18e620 1582s 1..3 1582s # Start of mapping tests 1582s # test_mapping: ok 1582s ok 1 /mapping/flags 1582s ok 2 /mapping/private 1582s # test_child_private: child spawned 1582s # Subtest: /usr/libexec/installed-tests/glib/mapping 1582s # random seed: R02S8b7dc058c90665376d3a3d9fbc45f7c2 1582s # test_child_private: received first child signal 1582s # test_child_private: received parent signal 1582s # Child exited with status 0 1582s # test_child_private: received second child signal 1582s ok 3 /mapping/private-child 1582s # End of mapping tests 1582s ok - glib/mapping.test 1582s # Running test: glib/unix-streams.test 1582s TAP version 14 1582s # random seed: R02S07477f1f2ab5c4d67a44c12088ad2e0c 1582s 1..9 1582s # Start of unix-streams tests 1582s ok 1 /unix-streams/basic 1583s ok 2 /unix-streams/pipe-io-test 1583s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1583s ok 3 /unix-streams/nonblocking-io-test 1583s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1583s ok 4 /unix-streams/read_write 1583s ok 5 /unix-streams/read_writev 1583s ok 6 /unix-streams/write-wouldblock 1583s ok 7 /unix-streams/writev-wouldblock 1583s ok 8 /unix-streams/write-async-wouldblock 1583s ok 9 /unix-streams/writev-async-wouldblock 1583s # End of unix-streams tests 1583s ok - glib/unix-streams.test 1583s # Running test: glib/override.test 1583s TAP version 14 1583s # random seed: R02Sb9c708bd25d8d4fe0a1459d0223f78ee 1583s 1..1 1583s # Start of gobject tests 1583s # *** emitting foo on a TestA instance 1583s # Expecting: TestA::foo,TestI::foo 1583s # Got: TestA::foo,TestI::foo 1583s # *** emitting bar on a TestA instance 1583s # Expecting: TestA::bar 1583s # Got: TestA::bar 1583s # *** emitting baz on a TestA instance 1583s # Expecting: TestA::baz 1583s # Got: TestA::baz 1583s # *** emitting foo on a TestB instance 1583s # Expecting: TestB::foo,TestA::foo,TestI::foo 1583s # Got: TestB::foo,TestA::foo,TestI::foo 1583s # *** emitting bar on a TestB instance 1583s # Expecting: TestB::bar,TestA::bar 1583s # Got: TestB::bar,TestA::bar 1583s # *** emitting baz on a TestB instance 1583s # Expecting: TestB::baz,TestA::baz 1583s # Got: TestB::baz,TestA::baz 1583s # *** emitting foo on a TestC instance 1583s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1583s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1583s # *** emitting bar on a TestC instance 1583s # Expecting: TestC::bar,TestB::bar,TestA::bar 1583s # Got: TestC::bar,TestB::bar,TestA::bar 1583s # *** emitting baz on a TestC instance 1583s # Expecting: TestC::baz,TestB::baz,TestA::baz 1583s # Got: TestC::baz,TestB::baz,TestA::baz 1583s ok 1 /gobject/override 1583s # End of gobject tests 1583s ok - glib/override.test 1583s # Running test: glib/codegen.py.test 1583s TAP version 13 1583s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1583s # tmpdir: /tmp/tmpt0r4tw9o 1583s # codegen: /usr/bin/gdbus-codegen 1583s # /tmp/tmpt0r4tw9o/tmpoqah1hal.xml: 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt0r4tw9o/tmpoqah1hal.xml', '--output', '-', '--header'] 1583s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1583s # Output: /* 1583s # * This file is generated by gdbus-codegen, do not modify it. 1583s # * 1583s # * The license of this code is the same as for the D-Bus interface description 1583s # * it was derived from. Note that it links to GLib, so must comply with the 1583s # * LGPL linking clauses. 1583s # */ 1583s # 1583s # #ifndef __STDOUT__ 1583s # #define __STDOUT__ 1583s # 1583s # #include 1583s # 1583s # G_BEGIN_DECLS 1583s # 1583s # 1583s # /* ------------------------------------------------------------------------ */ 1583s # /* Declarations for org.project.UsefulInterface */ 1583s # 1583s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1583s # 1583s # struct _OrgProjectUsefulInterface; 1583s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1583s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1583s # 1583s # struct _OrgProjectUsefulInterfaceIface 1583s # { 1583s # GTypeInterface parent_iface; 1583s # 1583s # gboolean (*handle_useful_method) ( 1583s # OrgProjectUsefulInterface *object, 1583s # GDBusMethodInvocation *invocation); 1583s # 1583s # }; 1583s # 1583s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1583s # 1583s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1583s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1583s # 1583s # 1583s # /* D-Bus method call completion functions: */ 1583s # void org_project_useful_interface_complete_useful_method ( 1583s # OrgProjectUsefulInterface *object, 1583s # GDBusMethodInvocation *invocation); 1583s # 1583s # 1583s # 1583s # /* D-Bus method calls: */ 1583s # void org_project_useful_interface_call_useful_method ( 1583s # OrgProjectUsefulInterface *proxy, 1583s # GCancellable *cancellable, 1583s # GAsyncReadyCallback callback, 1583s # gpointer user_data); 1583s # 1583s # gboolean org_project_useful_interface_call_useful_method_finish ( 1583s # OrgProjectUsefulInterface *proxy, 1583s # GAsyncResult *res, 1583s # GError **error); 1583s # 1583s # gboolean org_project_useful_interface_call_useful_method_sync ( 1583s # OrgProjectUsefulInterface *proxy, 1583s # GCancellable *cancellable, 1583s # GError **error); 1583s # 1583s # 1583s # 1583s # /* ---- */ 1583s # 1583s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1583s # 1583s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1583s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1583s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1583s # 1583s # struct _OrgProjectUsefulInterfaceProxy 1583s # { 1583s # /*< private >*/ 1583s # GDBusProxy parent_instance; 1583s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1583s # }; 1583s # 1583s # struct _OrgProjectUsefulInterfaceProxyClass 1583s # { 1583s # GDBusProxyClass parent_class; 1583s # }; 1583s # 1583s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1583s # 1583s # #if GLIB_CHECK_VERSION(2, 44, 0) 1583s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1583s # #endif 1583s # 1583s # void org_project_useful_interface_proxy_new ( 1583s # GDBusConnection *connection, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GAsyncReadyCallback callback, 1583s # gpointer user_data); 1583s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1583s # GAsyncResult *res, 1583s # GError **error); 1583s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1583s # GDBusConnection *connection, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GError **error); 1583s # 1583s # void org_project_useful_interface_proxy_new_for_bus ( 1583s # GBusType bus_type, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GAsyncReadyCallback callback, 1583s # gpointer user_data); 1583s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1583s # GAsyncResult *res, 1583s # GError **error); 1583s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1583s # GBusType bus_type, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GError **error); 1583s # 1583s # 1583s # /* ---- */ 1583s # 1583s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1583s # 1583s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1583s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1583s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1583s # 1583s # struct _OrgProjectUsefulInterfaceSkeleton 1583s # { 1583s # /*< private >*/ 1583s # GDBusInterfaceSkeleton parent_instance; 1583s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1583s # }; 1583s # 1583s # struct _OrgProjectUsefulInterfaceSkeletonClass 1583s # { 1583s # GDBusInterfaceSkeletonClass parent_class; 1583s # }; 1583s # 1583s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1583s # 1583s # #if GLIB_CHECK_VERSION(2, 44, 0) 1583s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1583s # #endif 1583s # 1583s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1583s # 1583s # 1583s # G_END_DECLS 1583s # 1583s # #endif /* __STDOUT__ */ 1583s # /tmp/tmpt0r4tw9o/tmp221id1_e.xml: 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt0r4tw9o/tmp221id1_e.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1583s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1583s # Output: /* 1583s # * This file is generated by gdbus-codegen, do not modify it. 1583s # * 1583s # * The license of this code is the same as for the D-Bus interface description 1583s # * it was derived from. Note that it links to GLib, so must comply with the 1583s # * LGPL linking clauses. 1583s # */ 1583s # 1583s # #ifndef __STDOUT__ 1583s # #define __STDOUT__ 1583s # 1583s # #include 1583s # 1583s # G_BEGIN_DECLS 1583s # 1583s # 1583s # /* ------------------------------------------------------------------------ */ 1583s # /* Declarations for org.project.UsefulInterface */ 1583s # 1583s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1583s # 1583s # struct _OrgProjectUsefulInterface; 1583s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1583s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1583s # 1583s # struct _OrgProjectUsefulInterfaceIface 1583s # { 1583s # GTypeInterface parent_iface; 1583s # 1583s # gboolean (*handle_useful_method) ( 1583s # OrgProjectUsefulInterface *object, 1583s # GDBusMethodInvocation *invocation); 1583s # 1583s # }; 1583s # 1583s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1583s # 1583s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1583s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1583s # 1583s # 1583s # /* D-Bus method call completion functions: */ 1583s # void org_project_useful_interface_complete_useful_method ( 1583s # OrgProjectUsefulInterface *object, 1583s # GDBusMethodInvocation *invocation); 1583s # 1583s # 1583s # 1583s # /* D-Bus method calls: */ 1583s # void org_project_useful_interface_call_useful_method ( 1583s # OrgProjectUsefulInterface *proxy, 1583s # GCancellable *cancellable, 1583s # GAsyncReadyCallback callback, 1583s # gpointer user_data); 1583s # 1583s # gboolean org_project_useful_interface_call_useful_method_finish ( 1583s # OrgProjectUsefulInterface *proxy, 1583s # GAsyncResult *res, 1583s # GError **error); 1583s # 1583s # gboolean org_project_useful_interface_call_useful_method_sync ( 1583s # OrgProjectUsefulInterface *proxy, 1583s # GCancellable *cancellable, 1583s # GError **error); 1583s # 1583s # 1583s # 1583s # /* ---- */ 1583s # 1583s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1583s # 1583s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1583s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1583s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1583s # 1583s # struct _OrgProjectUsefulInterfaceProxy 1583s # { 1583s # /*< private >*/ 1583s # GDBusProxy parent_instance; 1583s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1583s # }; 1583s # 1583s # struct _OrgProjectUsefulInterfaceProxyClass 1583s # { 1583s # GDBusProxyClass parent_class; 1583s # }; 1583s # 1583s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1583s # 1583s # #if GLIB_CHECK_VERSION(2, 44, 0) 1583s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1583s # #endif 1583s # 1583s # void org_project_useful_interface_proxy_new ( 1583s # GDBusConnection *connection, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GAsyncReadyCallback callback, 1583s # gpointer user_data); 1583s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1583s # GAsyncResult *res, 1583s # GError **error); 1583s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1583s # GDBusConnection *connection, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GError **error); 1583s # 1583s # void org_project_useful_interface_proxy_new_for_bus ( 1583s # GBusType bus_type, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GAsyncReadyCallback callback, 1583s # gpointer user_data); 1583s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1583s # GAsyncResult *res, 1583s # GError **error); 1583s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1583s # GBusType bus_type, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GError **error); 1583s # 1583s # 1583s # /* ---- */ 1583s # 1583s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1583s # 1583s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1583s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1583s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1583s # 1583s # struct _OrgProjectUsefulInterfaceSkeleton 1583s # { 1583s # /*< private >*/ 1583s # GDBusInterfaceSkeleton parent_instance; 1583s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1583s # }; 1583s # 1583s # struct _OrgProjectUsefulInterfaceSkeletonClass 1583s # { 1583s # GDBusInterfaceSkeletonClass parent_class; 1583s # }; 1583s # 1583s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1583s # 1583s # #if GLIB_CHECK_VERSION(2, 44, 0) 1583s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1583s # #endif 1583s # 1583s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1583s # 1583s # 1583s # G_END_DECLS 1583s # 1583s # #endif /* __STDOUT__ */ 1583s # /tmp/tmpt0r4tw9o/tmpa8lxkd8g.xml: 1583s # 1583s # 1583s # 1583s # 1583s # 1583s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt0r4tw9o/tmpa8lxkd8g.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1583s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1583s # Output: /* 1583s # * This file is generated by gdbus-codegen, do not modify it. 1583s # * 1583s # * The license of this code is the same as for the D-Bus interface description 1583s # * it was derived from. Note that it links to GLib, so must comply with the 1583s # * LGPL linking clauses. 1583s # */ 1583s # 1583s # #ifndef __STDOUT__ 1583s # #define __STDOUT__ 1583s # 1583s # #include 1583s # 1583s # G_BEGIN_DECLS 1583s # 1583s # 1583s # /* ------------------------------------------------------------------------ */ 1583s # /* Declarations for org.project.UsefulInterface */ 1583s # 1583s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1583s # 1583s # struct _OrgProjectUsefulInterface; 1583s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1583s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1583s # 1583s # struct _OrgProjectUsefulInterfaceIface 1583s # { 1583s # GTypeInterface parent_iface; 1583s # 1583s # gboolean (*handle_useful_method) ( 1583s # OrgProjectUsefulInterface *object, 1583s # GDBusMethodInvocation *invocation); 1583s # 1583s # }; 1583s # 1583s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1583s # 1583s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1583s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1583s # 1583s # 1583s # /* D-Bus method call completion functions: */ 1583s # void org_project_useful_interface_complete_useful_method ( 1583s # OrgProjectUsefulInterface *object, 1583s # GDBusMethodInvocation *invocation); 1583s # 1583s # 1583s # 1583s # /* D-Bus method calls: */ 1583s # void org_project_useful_interface_call_useful_method ( 1583s # OrgProjectUsefulInterface *proxy, 1583s # GDBusCallFlags call_flags, 1583s # gint timeout_msec, 1583s # GCancellable *cancellable, 1583s # GAsyncReadyCallback callback, 1583s # gpointer user_data); 1583s # 1583s # gboolean org_project_useful_interface_call_useful_method_finish ( 1583s # OrgProjectUsefulInterface *proxy, 1583s # GAsyncResult *res, 1583s # GError **error); 1583s # 1583s # gboolean org_project_useful_interface_call_useful_method_sync ( 1583s # OrgProjectUsefulInterface *proxy, 1583s # GDBusCallFlags call_flags, 1583s # gint timeout_msec, 1583s # GCancellable *cancellable, 1583s # GError **error); 1583s # 1583s # 1583s # 1583s # /* ---- */ 1583s # 1583s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1583s # 1583s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1583s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1583s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1583s # 1583s # struct _OrgProjectUsefulInterfaceProxy 1583s # { 1583s # /*< private >*/ 1583s # GDBusProxy parent_instance; 1583s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1583s # }; 1583s # 1583s # struct _OrgProjectUsefulInterfaceProxyClass 1583s # { 1583s # GDBusProxyClass parent_class; 1583s # }; 1583s # 1583s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1583s # 1583s # #if GLIB_CHECK_VERSION(2, 44, 0) 1583s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1583s # #endif 1583s # 1583s # void org_project_useful_interface_proxy_new ( 1583s # GDBusConnection *connection, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GAsyncReadyCallback callback, 1583s # gpointer user_data); 1583s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1583s # GAsyncResult *res, 1583s # GError **error); 1583s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1583s # GDBusConnection *connection, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GError **error); 1583s # 1583s # void org_project_useful_interface_proxy_new_for_bus ( 1583s # GBusType bus_type, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GAsyncReadyCallback callback, 1583s # gpointer user_data); 1583s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1583s # GAsyncResult *res, 1583s # GError **error); 1583s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1583s # GBusType bus_type, 1583s # GDBusProxyFlags flags, 1583s # const gchar *name, 1583s # const gchar *object_path, 1583s # GCancellable *cancellable, 1583s # GError **error); 1583s # 1583s # 1583s # /* ---- */ 1583s # 1583s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1583s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1583s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1583s # 1583s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1583s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1583s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1583s # 1583s # struct _OrgProjectUsefulInterfaceSkeleton 1583s # { 1583s # /*< private >*/ 1583s # GDBusInterfaceSkeleton parent_instance; 1583s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1583s # }; 1583s # 1583s # struct _OrgProjectUsefulInterfaceSkeletonClass 1583s # { 1583s # GDBusInterfaceSkeletonClass parent_class; 1583s # }; 1583s # 1583s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1583s # 1583s # #if GLIB_CHECK_VERSION(2, 44, 0) 1583s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1583s # #endif 1583s # 1583s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1583s # 1583s # 1583s # G_END_DECLS 1583s # 1583s # #endif /* __STDOUT__ */ 1584s ok 2 __main__.TestCodegen.test_dbus_types 1584s # tmpdir: /tmp/tmp3d6yphq1 1584s # codegen: /usr/bin/gdbus-codegen 1584s # /tmp/tmp3d6yphq1/tmpybbaol9x.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmpybbaol9x.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # /tmp/tmp3d6yphq1/tmpl1h7bwv8.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmpl1h7bwv8.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # /tmp/tmp3d6yphq1/tmpfvsnbisx.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmpfvsnbisx.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # /tmp/tmp3d6yphq1/tmpgiuxdji6.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmpgiuxdji6.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # /tmp/tmp3d6yphq1/tmpj52khx5g.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmpj52khx5g.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # /tmp/tmp3d6yphq1/tmp2j0xoo78.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmp2j0xoo78.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # /tmp/tmp3d6yphq1/tmpmynaup43.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmpmynaup43.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # /tmp/tmp3d6yphq1/tmpqzwutbug.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmpqzwutbug.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # /tmp/tmp3d6yphq1/tmp39hh3687.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmp39hh3687.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # /tmp/tmp3d6yphq1/tmp0w36sm_8.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmp0w36sm_8.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # /tmp/tmp3d6yphq1/tmpk_aci0xs.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmpk_aci0xs.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # /tmp/tmp3d6yphq1/tmpnj196woj.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmpnj196woj.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # /tmp/tmp3d6yphq1/tmp_y3du3ss.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmp_y3du3ss.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # /tmp/tmp3d6yphq1/tmp035f7rng.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmp035f7rng.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # Output: /* 1584s # * This file is generated by gdbus-codegen, do not modify it. 1584s # * 1584s # * The license of this code is the same as for the D-Bus interface description 1584s # * it was derived from. Note that it links to GLib, so must comply with the 1584s # * LGPL linking clauses. 1584s # */ 1584s # 1584s # #ifdef HAVE_CONFIG_H 1584s # # include "config.h" 1584s # #endif 1584s # 1584s # #include 1584s # #ifdef G_OS_UNIX 1584s # # include 1584s # #endif 1584s # 1584s # #ifdef G_ENABLE_DEBUG 1584s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1584s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1584s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1584s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1584s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1584s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1584s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1584s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1584s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1584s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1584s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1584s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1584s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1584s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1584s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1584s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1584s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1584s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1584s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1584s # #else /* !G_ENABLE_DEBUG */ 1584s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1584s # * Do not access GValues directly in your code. Instead, use the 1584s # * g_value_get_*() functions 1584s # */ 1584s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1584s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1584s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1584s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1584s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1584s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1584s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1584s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1584s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1584s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1584s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1584s # #endif /* !G_ENABLE_DEBUG */ 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusArgInfo parent_struct; 1584s # gboolean use_gvariant; 1584s # } _ExtendedGDBusArgInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusMethodInfo parent_struct; 1584s # const gchar *signal_name; 1584s # gboolean pass_fdlist; 1584s # } _ExtendedGDBusMethodInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusSignalInfo parent_struct; 1584s # const gchar *signal_name; 1584s # } _ExtendedGDBusSignalInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusPropertyInfo parent_struct; 1584s # const gchar *hyphen_name; 1584s # guint use_gvariant : 1; 1584s # guint emits_changed_signal : 1; 1584s # } _ExtendedGDBusPropertyInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusInterfaceInfo parent_struct; 1584s # const gchar *hyphen_name; 1584s # } _ExtendedGDBusInterfaceInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # guint prop_id; 1584s # GValue orig_value; /* the value before the change */ 1584s # } ChangedProperty; 1584s # 1584s # static void 1584s # _changed_property_free (ChangedProperty *data) 1584s # { 1584s # g_value_unset (&data->orig_value); 1584s # g_free (data); 1584s # } 1584s # 1584s # static gboolean 1584s # _g_strv_equal0 (gchar **a, gchar **b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # guint n; 1584s # if (a == NULL && b == NULL) 1584s # { 1584s # ret = TRUE; 1584s # goto out; 1584s # } 1584s # if (a == NULL || b == NULL) 1584s # goto out; 1584s # if (g_strv_length (a) != g_strv_length (b)) 1584s # goto out; 1584s # for (n = 0; a[n] != NULL; n++) 1584s # if (g_strcmp0 (a[n], b[n]) != 0) 1584s # goto out; 1584s # ret = TRUE; 1584s # out: 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _g_variant_equal0 (GVariant *a, GVariant *b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # if (a == NULL && b == NULL) 1584s # { 1584s # ret = TRUE; 1584s # goto out; 1584s # } 1584s # if (a == NULL || b == NULL) 1584s # goto out; 1584s # ret = g_variant_equal (a, b); 1584s # out: 1584s # return ret; 1584s # } 1584s # 1584s # G_GNUC_UNUSED static gboolean 1584s # _g_value_equal (const GValue *a, const GValue *b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1584s # switch (G_VALUE_TYPE (a)) 1584s # { 1584s # case G_TYPE_BOOLEAN: 1584s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1584s # break; 1584s # case G_TYPE_UCHAR: 1584s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1584s # break; 1584s # case G_TYPE_INT: 1584s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1584s # break; 1584s # case G_TYPE_UINT: 1584s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1584s # break; 1584s # case G_TYPE_INT64: 1584s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1584s # break; 1584s # case G_TYPE_UINT64: 1584s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1584s # break; 1584s # case G_TYPE_DOUBLE: 1584s # { 1584s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1584s # gdouble da = g_value_get_double (a); 1584s # gdouble db = g_value_get_double (b); 1584s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1584s # } 1584s # break; 1584s # case G_TYPE_STRING: 1584s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1584s # break; 1584s # case G_TYPE_VARIANT: 1584s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1584s # break; 1584s # default: 1584s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1584s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1584s # else 1584s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1584s # break; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ 1584s # * Code for interface GoodTypes 1584s # * ------------------------------------------------------------------------ 1584s # */ 1584s # 1584s # /** 1584s # * SECTION:GoodTypes 1584s # * @title: GoodTypes 1584s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1584s # * 1584s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1584s # */ 1584s # 1584s # /* ---- Introspection data for GoodTypes ---- */ 1584s # 1584s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "GoodPropertyType", 1584s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1584s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1584s # NULL 1584s # }, 1584s # "good-property-type", 1584s # FALSE, 1584s # TRUE 1584s # }; 1584s # 1584s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1584s # { 1584s # &_good_types_property_info_good_property_type.parent_struct, 1584s # NULL 1584s # }; 1584s # 1584s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "GoodTypes", 1584s # NULL, 1584s # NULL, 1584s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1584s # NULL 1584s # }, 1584s # "good-types", 1584s # }; 1584s # 1584s # 1584s # /** 1584s # * good_types_interface_info: 1584s # * 1584s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1584s # * 1584s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1584s # */ 1584s # GDBusInterfaceInfo * 1584s # good_types_interface_info (void) 1584s # { 1584s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1584s # } 1584s # 1584s # /** 1584s # * good_types_override_properties: 1584s # * @klass: The class structure for a #GObject derived class. 1584s # * @property_id_begin: The property id to assign to the first overridden property. 1584s # * 1584s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1584s # * The properties are overridden in the order they are defined. 1584s # * 1584s # * Returns: The last property id. 1584s # */ 1584s # guint 1584s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1584s # { 1584s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1584s # return property_id_begin - 1; 1584s # } 1584s # 1584s # 1584s # 1584s # /** 1584s # * GoodTypes: 1584s # * 1584s # * Abstract interface type for the D-Bus interface GoodTypes. 1584s # */ 1584s # 1584s # /** 1584s # * GoodTypesIface: 1584s # * @parent_iface: The parent interface. 1584s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1584s # * 1584s # * Virtual table for the D-Bus interface GoodTypes. 1584s # */ 1584s # 1584s # typedef GoodTypesIface GoodTypesInterface; 1584s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1584s # 1584s # static void 1584s # good_types_default_init (GoodTypesIface *iface) 1584s # { 1584s # /* GObject properties for D-Bus properties: */ 1584s # /** 1584s # * GoodTypes:good-property-type: 1584s # * 1584s # * Represents the D-Bus property "GoodPropertyType". 1584s # * 1584s # * 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. 1584s # */ 1584s # g_object_interface_install_property (iface, 1584s # 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)); 1584s # } 1584s # 1584s # /** 1584s # * good_types_get_good_property_type: (skip) 1584s # * @object: A GoodTypes. 1584s # * 1584s # * Gets the value of the "GoodPropertyType" D-Bus property. 1584s # * 1584s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1584s # * 1584s # * 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. 1584s # * 1584s # * 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. 1584s # */ 1584s # GVariant * 1584s # good_types_get_good_property_type (GoodTypes *object) 1584s # { 1584s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1584s # 1584s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1584s # } 1584s # 1584s # /** 1584s # * good_types_dup_good_property_type: (skip) 1584s # * @object: A GoodTypes. 1584s # * 1584s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1584s # * 1584s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1584s # * 1584s # * 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(). 1584s # */ 1584s # GVariant * 1584s # good_types_dup_good_property_type (GoodTypes *object) 1584s # { 1584s # GVariant *value; 1584s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1584s # return value; 1584s # } 1584s # 1584s # /** 1584s # * good_types_set_good_property_type: (skip) 1584s # * @object: A GoodTypes. 1584s # * @value: The value to set. 1584s # * 1584s # * Sets the "GoodPropertyType" D-Bus property to @value. 1584s # * 1584s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1584s # */ 1584s # void 1584s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1584s # { 1584s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * GoodTypesProxy: 1584s # * 1584s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * GoodTypesProxyClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for GoodTypesProxy. 1584s # */ 1584s # 1584s # struct _GoodTypesProxyPrivate 1584s # { 1584s # GData *qdata; 1584s # }; 1584s # 1584s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1584s # G_ADD_PRIVATE (GoodTypesProxy) 1584s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1584s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # good_types_proxy_finalize (GObject *object) 1584s # { 1584s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1584s # g_datalist_clear (&proxy->priv->qdata); 1584s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_get_property (GObject *object, 1584s # guint prop_id, 1584s # GValue *value, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *variant; 1584s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1584s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1584s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1584s # if (info->use_gvariant) 1584s # { 1584s # g_value_set_variant (value, variant); 1584s # } 1584s # else 1584s # { 1584s # if (variant != NULL) 1584s # g_dbus_gvariant_to_gvalue (variant, value); 1584s # } 1584s # if (variant != NULL) 1584s # g_variant_unref (variant); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1584s # GAsyncResult *res, 1584s # gpointer user_data) 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info = user_data; 1584s # GError *error; 1584s # GVariant *_ret; 1584s # error = NULL; 1584s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1584s # if (!_ret) 1584s # { 1584s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1584s # info->parent_struct.name, 1584s # error->message, g_quark_to_string (error->domain), error->code); 1584s # g_error_free (error); 1584s # } 1584s # else 1584s # { 1584s # g_variant_unref (_ret); 1584s # } 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_set_property (GObject *object, 1584s # guint prop_id, 1584s # const GValue *value, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *variant; 1584s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1584s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1584s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1584s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1584s # "org.freedesktop.DBus.Properties.Set", 1584s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1584s # G_DBUS_CALL_FLAGS_NONE, 1584s # -1, 1584s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1584s # g_variant_unref (variant); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_g_signal (GDBusProxy *proxy, 1584s # const gchar *sender_name G_GNUC_UNUSED, 1584s # const gchar *signal_name, 1584s # GVariant *parameters) 1584s # { 1584s # _ExtendedGDBusSignalInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # gsize n; 1584s # guint signal_id; 1584s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1584s # if (info == NULL) 1584s # return; 1584s # num_params = g_variant_n_children (parameters); 1584s # paramv = g_new0 (GValue, num_params + 1); 1584s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1584s # g_value_set_object (¶mv[0], proxy); 1584s # g_variant_iter_init (&iter, parameters); 1584s # n = 1; 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1584s # g_signal_emitv (paramv, signal_id, 0, NULL); 1584s # for (n = 0; n < num_params + 1; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1584s # GVariant *changed_properties, 1584s # const gchar *const *invalidated_properties) 1584s # { 1584s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1584s # guint n; 1584s # const gchar *key; 1584s # GVariantIter *iter; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # g_variant_get (changed_properties, "a{sv}", &iter); 1584s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1584s # g_datalist_remove_data (&proxy->priv->qdata, key); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # g_variant_iter_free (iter); 1584s # for (n = 0; invalidated_properties[n] != NULL; n++) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1584s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # } 1584s # 1584s # static GVariant * 1584s # good_types_proxy_get_good_property_type (GoodTypes *object) 1584s # { 1584s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1584s # GVariant *variant; 1584s # GVariant *value = NULL; 1584s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1584s # value = variant; 1584s # if (variant != NULL) 1584s # g_variant_unref (variant); 1584s # return value; 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_init (GoodTypesProxy *proxy) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1584s # #else 1584s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1584s # #endif 1584s # 1584s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusProxyClass *proxy_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = good_types_proxy_finalize; 1584s # gobject_class->get_property = good_types_proxy_get_property; 1584s # gobject_class->set_property = good_types_proxy_set_property; 1584s # 1584s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1584s # proxy_class->g_signal = good_types_proxy_g_signal; 1584s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1584s # 1584s # good_types_override_properties (gobject_class, 1); 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_iface_init (GoodTypesIface *iface) 1584s # { 1584s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1584s # * 1584s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # good_types_proxy_new ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with good_types_proxy_new(). 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # GoodTypes * 1584s # good_types_proxy_new_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return GOOD_TYPES (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new_sync: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # GoodTypes * 1584s # good_types_proxy_new_sync ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return GOOD_TYPES (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /** 1584s # * good_types_proxy_new_for_bus: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1584s # * 1584s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # good_types_proxy_new_for_bus ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new_for_bus_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # GoodTypes * 1584s # good_types_proxy_new_for_bus_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return GOOD_TYPES (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new_for_bus_sync: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # GoodTypes * 1584s # good_types_proxy_new_for_bus_sync ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return GOOD_TYPES (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * GoodTypesSkeleton: 1584s # * 1584s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * GoodTypesSkeletonClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for GoodTypesSkeleton. 1584s # */ 1584s # 1584s # struct _GoodTypesSkeletonPrivate 1584s # { 1584s # GValue *properties; 1584s # GList *changed_properties; 1584s # GSource *changed_properties_idle_source; 1584s # GMainContext *context; 1584s # GMutex lock; 1584s # }; 1584s # 1584s # static void 1584s # _good_types_skeleton_handle_method_call ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name, 1584s # const gchar *method_name, 1584s # GVariant *parameters, 1584s # GDBusMethodInvocation *invocation, 1584s # gpointer user_data) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1584s # _ExtendedGDBusMethodInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # guint num_extra; 1584s # gsize n; 1584s # guint signal_id; 1584s # GValue return_value = G_VALUE_INIT; 1584s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1584s # g_assert (info != NULL); 1584s # num_params = g_variant_n_children (parameters); 1584s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1584s # n = 0; 1584s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1584s # g_value_set_object (¶mv[n++], skeleton); 1584s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1584s # g_value_set_object (¶mv[n++], invocation); 1584s # if (info->pass_fdlist) 1584s # { 1584s # #ifdef G_OS_UNIX 1584s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1584s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1584s # #else 1584s # g_assert_not_reached (); 1584s # #endif 1584s # } 1584s # g_variant_iter_init (&iter, parameters); 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1584s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1584s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1584s # if (!g_value_get_boolean (&return_value)) 1584s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1584s # g_value_unset (&return_value); 1584s # for (n = 0; n < num_params + num_extra; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static GVariant * 1584s # _good_types_skeleton_handle_get_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *ret; 1584s # ret = NULL; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # g_value_init (&value, pspec->value_type); 1584s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1584s # g_value_unset (&value); 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _good_types_skeleton_handle_set_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GVariant *variant, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # gboolean ret; 1584s # ret = FALSE; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # if (info->use_gvariant) 1584s # g_value_set_variant (&value, variant); 1584s # else 1584s # g_dbus_gvariant_to_gvalue (variant, &value); 1584s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # g_value_unset (&value); 1584s # ret = TRUE; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1584s # { 1584s # _good_types_skeleton_handle_method_call, 1584s # _good_types_skeleton_handle_get_property, 1584s # _good_types_skeleton_handle_set_property, 1584s # {NULL} 1584s # }; 1584s # 1584s # static GDBusInterfaceInfo * 1584s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return good_types_interface_info (); 1584s # } 1584s # 1584s # static GDBusInterfaceVTable * 1584s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1584s # } 1584s # 1584s # static GVariant * 1584s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1584s # 1584s # GVariantBuilder builder; 1584s # guint n; 1584s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1584s # if (_good_types_interface_info.parent_struct.properties == NULL) 1584s # goto out; 1584s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1584s # { 1584s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1584s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1584s # { 1584s # GVariant *value; 1584s # 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); 1584s # if (value != NULL) 1584s # { 1584s # g_variant_take_ref (value); 1584s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1584s # g_variant_unref (value); 1584s # } 1584s # } 1584s # } 1584s # out: 1584s # return g_variant_builder_end (&builder); 1584s # } 1584s # 1584s # static gboolean _good_types_emit_changed (gpointer user_data); 1584s # 1584s # static void 1584s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1584s # gboolean emit_changed = FALSE; 1584s # 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # if (skeleton->priv->changed_properties_idle_source != NULL) 1584s # { 1584s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1584s # skeleton->priv->changed_properties_idle_source = NULL; 1584s # emit_changed = TRUE; 1584s # } 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # 1584s # if (emit_changed) 1584s # _good_types_emit_changed (skeleton); 1584s # } 1584s # 1584s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_ADD_PRIVATE (GoodTypesSkeleton) 1584s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # good_types_skeleton_finalize (GObject *object) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # guint n; 1584s # for (n = 0; n < 1; n++) 1584s # g_value_unset (&skeleton->priv->properties[n]); 1584s # g_free (skeleton->priv->properties); 1584s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1584s # if (skeleton->priv->changed_properties_idle_source != NULL) 1584s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1584s # g_main_context_unref (skeleton->priv->context); 1584s # g_mutex_clear (&skeleton->priv->lock); 1584s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_get_property (GObject *object, 1584s # guint prop_id, 1584s # GValue *value, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # } 1584s # 1584s # static gboolean 1584s # _good_types_emit_changed (gpointer user_data) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1584s # GList *l; 1584s # GVariantBuilder builder; 1584s # GVariantBuilder invalidated_builder; 1584s # guint num_changes; 1584s # 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1584s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1584s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1584s # { 1584s # ChangedProperty *cp = l->data; 1584s # GVariant *variant; 1584s # const GValue *cur_value; 1584s # 1584s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1584s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1584s # { 1584s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1584s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1584s # g_variant_unref (variant); 1584s # num_changes++; 1584s # } 1584s # } 1584s # if (num_changes > 0) 1584s # { 1584s # GList *connections, *ll; 1584s # GVariant *signal_variant; 1584s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1584s # &builder, &invalidated_builder)); 1584s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1584s # for (ll = connections; ll != NULL; ll = ll->next) 1584s # { 1584s # GDBusConnection *connection = ll->data; 1584s # 1584s # g_dbus_connection_emit_signal (connection, 1584s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1584s # "org.freedesktop.DBus.Properties", 1584s # "PropertiesChanged", 1584s # signal_variant, 1584s # NULL); 1584s # } 1584s # g_variant_unref (signal_variant); 1584s # g_list_free_full (connections, g_object_unref); 1584s # } 1584s # else 1584s # { 1584s # g_variant_builder_clear (&builder); 1584s # g_variant_builder_clear (&invalidated_builder); 1584s # } 1584s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1584s # skeleton->priv->changed_properties = NULL; 1584s # skeleton->priv->changed_properties_idle_source = NULL; 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # return FALSE; 1584s # } 1584s # 1584s # static void 1584s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1584s # { 1584s # ChangedProperty *cp; 1584s # GList *l; 1584s # cp = NULL; 1584s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1584s # { 1584s # ChangedProperty *i_cp = l->data; 1584s # if (i_cp->info == info) 1584s # { 1584s # cp = i_cp; 1584s # break; 1584s # } 1584s # } 1584s # if (cp == NULL) 1584s # { 1584s # cp = g_new0 (ChangedProperty, 1); 1584s # cp->prop_id = prop_id; 1584s # cp->info = info; 1584s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1584s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1584s # g_value_copy (orig_value, &cp->orig_value); 1584s # } 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_notify (GObject *object, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # if (skeleton->priv->changed_properties != NULL && 1584s # skeleton->priv->changed_properties_idle_source == NULL) 1584s # { 1584s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1584s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1584s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1584s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1584s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1584s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1584s # } 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_set_property (GObject *object, 1584s # guint prop_id, 1584s # const GValue *value, 1584s # GParamSpec *pspec) 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1584s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # g_object_freeze_notify (object); 1584s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1584s # { 1584s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1584s # info->emits_changed_signal) 1584s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1584s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1584s # g_object_notify_by_pspec (object, pspec); 1584s # } 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # g_object_thaw_notify (object); 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1584s # #else 1584s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1584s # #endif 1584s # 1584s # g_mutex_init (&skeleton->priv->lock); 1584s # skeleton->priv->context = g_main_context_ref_thread_default (); 1584s # skeleton->priv->properties = g_new0 (GValue, 1); 1584s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1584s # } 1584s # 1584s # static GVariant * 1584s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # GVariant *value; 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # return value; 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusInterfaceSkeletonClass *skeleton_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = good_types_skeleton_finalize; 1584s # gobject_class->get_property = good_types_skeleton_get_property; 1584s # gobject_class->set_property = good_types_skeleton_set_property; 1584s # gobject_class->notify = good_types_skeleton_notify; 1584s # 1584s # 1584s # good_types_override_properties (gobject_class, 1); 1584s # 1584s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1584s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1584s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1584s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1584s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1584s # { 1584s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1584s # } 1584s # 1584s # /** 1584s # * good_types_skeleton_new: 1584s # * 1584s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1584s # */ 1584s # GoodTypes * 1584s # good_types_skeleton_new (void) 1584s # { 1584s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1584s # } 1584s # /tmp/tmp3d6yphq1/tmp44rg5g70.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmp44rg5g70.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # Output: /* 1584s # * This file is generated by gdbus-codegen, do not modify it. 1584s # * 1584s # * The license of this code is the same as for the D-Bus interface description 1584s # * it was derived from. Note that it links to GLib, so must comply with the 1584s # * LGPL linking clauses. 1584s # */ 1584s # 1584s # #ifdef HAVE_CONFIG_H 1584s # # include "config.h" 1584s # #endif 1584s # 1584s # #include 1584s # #ifdef G_OS_UNIX 1584s # # include 1584s # #endif 1584s # 1584s # #ifdef G_ENABLE_DEBUG 1584s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1584s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1584s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1584s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1584s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1584s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1584s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1584s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1584s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1584s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1584s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1584s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1584s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1584s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1584s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1584s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1584s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1584s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1584s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1584s # #else /* !G_ENABLE_DEBUG */ 1584s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1584s # * Do not access GValues directly in your code. Instead, use the 1584s # * g_value_get_*() functions 1584s # */ 1584s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1584s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1584s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1584s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1584s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1584s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1584s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1584s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1584s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1584s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1584s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1584s # #endif /* !G_ENABLE_DEBUG */ 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusArgInfo parent_struct; 1584s # gboolean use_gvariant; 1584s # } _ExtendedGDBusArgInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusMethodInfo parent_struct; 1584s # const gchar *signal_name; 1584s # gboolean pass_fdlist; 1584s # } _ExtendedGDBusMethodInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusSignalInfo parent_struct; 1584s # const gchar *signal_name; 1584s # } _ExtendedGDBusSignalInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusPropertyInfo parent_struct; 1584s # const gchar *hyphen_name; 1584s # guint use_gvariant : 1; 1584s # guint emits_changed_signal : 1; 1584s # } _ExtendedGDBusPropertyInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusInterfaceInfo parent_struct; 1584s # const gchar *hyphen_name; 1584s # } _ExtendedGDBusInterfaceInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # guint prop_id; 1584s # GValue orig_value; /* the value before the change */ 1584s # } ChangedProperty; 1584s # 1584s # static void 1584s # _changed_property_free (ChangedProperty *data) 1584s # { 1584s # g_value_unset (&data->orig_value); 1584s # g_free (data); 1584s # } 1584s # 1584s # static gboolean 1584s # _g_strv_equal0 (gchar **a, gchar **b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # guint n; 1584s # if (a == NULL && b == NULL) 1584s # { 1584s # ret = TRUE; 1584s # goto out; 1584s # } 1584s # if (a == NULL || b == NULL) 1584s # goto out; 1584s # if (g_strv_length (a) != g_strv_length (b)) 1584s # goto out; 1584s # for (n = 0; a[n] != NULL; n++) 1584s # if (g_strcmp0 (a[n], b[n]) != 0) 1584s # goto out; 1584s # ret = TRUE; 1584s # out: 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _g_variant_equal0 (GVariant *a, GVariant *b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # if (a == NULL && b == NULL) 1584s # { 1584s # ret = TRUE; 1584s # goto out; 1584s # } 1584s # if (a == NULL || b == NULL) 1584s # goto out; 1584s # ret = g_variant_equal (a, b); 1584s # out: 1584s # return ret; 1584s # } 1584s # 1584s # G_GNUC_UNUSED static gboolean 1584s # _g_value_equal (const GValue *a, const GValue *b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1584s # switch (G_VALUE_TYPE (a)) 1584s # { 1584s # case G_TYPE_BOOLEAN: 1584s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1584s # break; 1584s # case G_TYPE_UCHAR: 1584s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1584s # break; 1584s # case G_TYPE_INT: 1584s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1584s # break; 1584s # case G_TYPE_UINT: 1584s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1584s # break; 1584s # case G_TYPE_INT64: 1584s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1584s # break; 1584s # case G_TYPE_UINT64: 1584s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1584s # break; 1584s # case G_TYPE_DOUBLE: 1584s # { 1584s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1584s # gdouble da = g_value_get_double (a); 1584s # gdouble db = g_value_get_double (b); 1584s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1584s # } 1584s # break; 1584s # case G_TYPE_STRING: 1584s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1584s # break; 1584s # case G_TYPE_VARIANT: 1584s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1584s # break; 1584s # default: 1584s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1584s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1584s # else 1584s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1584s # break; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ 1584s # * Code for interface GoodTypes 1584s # * ------------------------------------------------------------------------ 1584s # */ 1584s # 1584s # /** 1584s # * SECTION:GoodTypes 1584s # * @title: GoodTypes 1584s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1584s # * 1584s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1584s # */ 1584s # 1584s # /* ---- Introspection data for GoodTypes ---- */ 1584s # 1584s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "GoodPropertyType", 1584s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1584s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1584s # NULL 1584s # }, 1584s # "good-property-type", 1584s # FALSE, 1584s # TRUE 1584s # }; 1584s # 1584s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1584s # { 1584s # &_good_types_property_info_good_property_type.parent_struct, 1584s # NULL 1584s # }; 1584s # 1584s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "GoodTypes", 1584s # NULL, 1584s # NULL, 1584s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1584s # NULL 1584s # }, 1584s # "good-types", 1584s # }; 1584s # 1584s # 1584s # /** 1584s # * good_types_interface_info: 1584s # * 1584s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1584s # * 1584s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1584s # */ 1584s # GDBusInterfaceInfo * 1584s # good_types_interface_info (void) 1584s # { 1584s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1584s # } 1584s # 1584s # /** 1584s # * good_types_override_properties: 1584s # * @klass: The class structure for a #GObject derived class. 1584s # * @property_id_begin: The property id to assign to the first overridden property. 1584s # * 1584s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1584s # * The properties are overridden in the order they are defined. 1584s # * 1584s # * Returns: The last property id. 1584s # */ 1584s # guint 1584s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1584s # { 1584s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1584s # return property_id_begin - 1; 1584s # } 1584s # 1584s # 1584s # 1584s # /** 1584s # * GoodTypes: 1584s # * 1584s # * Abstract interface type for the D-Bus interface GoodTypes. 1584s # */ 1584s # 1584s # /** 1584s # * GoodTypesIface: 1584s # * @parent_iface: The parent interface. 1584s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1584s # * 1584s # * Virtual table for the D-Bus interface GoodTypes. 1584s # */ 1584s # 1584s # typedef GoodTypesIface GoodTypesInterface; 1584s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1584s # 1584s # static void 1584s # good_types_default_init (GoodTypesIface *iface) 1584s # { 1584s # /* GObject properties for D-Bus properties: */ 1584s # /** 1584s # * GoodTypes:good-property-type: 1584s # * 1584s # * Represents the D-Bus property "GoodPropertyType". 1584s # * 1584s # * 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. 1584s # */ 1584s # g_object_interface_install_property (iface, 1584s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1584s # } 1584s # 1584s # /** 1584s # * good_types_get_good_property_type: (skip) 1584s # * @object: A GoodTypes. 1584s # * 1584s # * Gets the value of the "GoodPropertyType" D-Bus property. 1584s # * 1584s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1584s # * 1584s # * 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. 1584s # * 1584s # * 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. 1584s # */ 1584s # GVariant * 1584s # good_types_get_good_property_type (GoodTypes *object) 1584s # { 1584s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1584s # 1584s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1584s # } 1584s # 1584s # /** 1584s # * good_types_dup_good_property_type: (skip) 1584s # * @object: A GoodTypes. 1584s # * 1584s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1584s # * 1584s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1584s # * 1584s # * 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(). 1584s # */ 1584s # GVariant * 1584s # good_types_dup_good_property_type (GoodTypes *object) 1584s # { 1584s # GVariant *value; 1584s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1584s # return value; 1584s # } 1584s # 1584s # /** 1584s # * good_types_set_good_property_type: (skip) 1584s # * @object: A GoodTypes. 1584s # * @value: The value to set. 1584s # * 1584s # * Sets the "GoodPropertyType" D-Bus property to @value. 1584s # * 1584s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1584s # */ 1584s # void 1584s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1584s # { 1584s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * GoodTypesProxy: 1584s # * 1584s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * GoodTypesProxyClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for GoodTypesProxy. 1584s # */ 1584s # 1584s # struct _GoodTypesProxyPrivate 1584s # { 1584s # GData *qdata; 1584s # }; 1584s # 1584s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1584s # G_ADD_PRIVATE (GoodTypesProxy) 1584s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1584s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # good_types_proxy_finalize (GObject *object) 1584s # { 1584s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1584s # g_datalist_clear (&proxy->priv->qdata); 1584s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_get_property (GObject *object, 1584s # guint prop_id, 1584s # GValue *value, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *variant; 1584s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1584s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1584s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1584s # if (info->use_gvariant) 1584s # { 1584s # g_value_set_variant (value, variant); 1584s # } 1584s # else 1584s # { 1584s # if (variant != NULL) 1584s # g_dbus_gvariant_to_gvalue (variant, value); 1584s # } 1584s # if (variant != NULL) 1584s # g_variant_unref (variant); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1584s # GAsyncResult *res, 1584s # gpointer user_data) 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info = user_data; 1584s # GError *error; 1584s # GVariant *_ret; 1584s # error = NULL; 1584s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1584s # if (!_ret) 1584s # { 1584s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1584s # info->parent_struct.name, 1584s # error->message, g_quark_to_string (error->domain), error->code); 1584s # g_error_free (error); 1584s # } 1584s # else 1584s # { 1584s # g_variant_unref (_ret); 1584s # } 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_set_property (GObject *object, 1584s # guint prop_id, 1584s # const GValue *value, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *variant; 1584s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1584s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1584s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1584s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1584s # "org.freedesktop.DBus.Properties.Set", 1584s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1584s # G_DBUS_CALL_FLAGS_NONE, 1584s # -1, 1584s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1584s # g_variant_unref (variant); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_g_signal (GDBusProxy *proxy, 1584s # const gchar *sender_name G_GNUC_UNUSED, 1584s # const gchar *signal_name, 1584s # GVariant *parameters) 1584s # { 1584s # _ExtendedGDBusSignalInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # gsize n; 1584s # guint signal_id; 1584s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1584s # if (info == NULL) 1584s # return; 1584s # num_params = g_variant_n_children (parameters); 1584s # paramv = g_new0 (GValue, num_params + 1); 1584s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1584s # g_value_set_object (¶mv[0], proxy); 1584s # g_variant_iter_init (&iter, parameters); 1584s # n = 1; 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1584s # g_signal_emitv (paramv, signal_id, 0, NULL); 1584s # for (n = 0; n < num_params + 1; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1584s # GVariant *changed_properties, 1584s # const gchar *const *invalidated_properties) 1584s # { 1584s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1584s # guint n; 1584s # const gchar *key; 1584s # GVariantIter *iter; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # g_variant_get (changed_properties, "a{sv}", &iter); 1584s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1584s # g_datalist_remove_data (&proxy->priv->qdata, key); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # g_variant_iter_free (iter); 1584s # for (n = 0; invalidated_properties[n] != NULL; n++) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1584s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # } 1584s # 1584s # static GVariant * 1584s # good_types_proxy_get_good_property_type (GoodTypes *object) 1584s # { 1584s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1584s # GVariant *variant; 1584s # GVariant *value = NULL; 1584s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1584s # value = variant; 1584s # if (variant != NULL) 1584s # g_variant_unref (variant); 1584s # return value; 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_init (GoodTypesProxy *proxy) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1584s # #else 1584s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1584s # #endif 1584s # 1584s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusProxyClass *proxy_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = good_types_proxy_finalize; 1584s # gobject_class->get_property = good_types_proxy_get_property; 1584s # gobject_class->set_property = good_types_proxy_set_property; 1584s # 1584s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1584s # proxy_class->g_signal = good_types_proxy_g_signal; 1584s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1584s # 1584s # good_types_override_properties (gobject_class, 1); 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_iface_init (GoodTypesIface *iface) 1584s # { 1584s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1584s # * 1584s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # good_types_proxy_new ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with good_types_proxy_new(). 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # GoodTypes * 1584s # good_types_proxy_new_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return GOOD_TYPES (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new_sync: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # GoodTypes * 1584s # good_types_proxy_new_sync ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return GOOD_TYPES (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /** 1584s # * good_types_proxy_new_for_bus: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1584s # * 1584s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # good_types_proxy_new_for_bus ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new_for_bus_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # GoodTypes * 1584s # good_types_proxy_new_for_bus_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return GOOD_TYPES (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new_for_bus_sync: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # GoodTypes * 1584s # good_types_proxy_new_for_bus_sync ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return GOOD_TYPES (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * GoodTypesSkeleton: 1584s # * 1584s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * GoodTypesSkeletonClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for GoodTypesSkeleton. 1584s # */ 1584s # 1584s # struct _GoodTypesSkeletonPrivate 1584s # { 1584s # GValue *properties; 1584s # GList *changed_properties; 1584s # GSource *changed_properties_idle_source; 1584s # GMainContext *context; 1584s # GMutex lock; 1584s # }; 1584s # 1584s # static void 1584s # _good_types_skeleton_handle_method_call ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name, 1584s # const gchar *method_name, 1584s # GVariant *parameters, 1584s # GDBusMethodInvocation *invocation, 1584s # gpointer user_data) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1584s # _ExtendedGDBusMethodInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # guint num_extra; 1584s # gsize n; 1584s # guint signal_id; 1584s # GValue return_value = G_VALUE_INIT; 1584s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1584s # g_assert (info != NULL); 1584s # num_params = g_variant_n_children (parameters); 1584s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1584s # n = 0; 1584s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1584s # g_value_set_object (¶mv[n++], skeleton); 1584s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1584s # g_value_set_object (¶mv[n++], invocation); 1584s # if (info->pass_fdlist) 1584s # { 1584s # #ifdef G_OS_UNIX 1584s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1584s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1584s # #else 1584s # g_assert_not_reached (); 1584s # #endif 1584s # } 1584s # g_variant_iter_init (&iter, parameters); 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1584s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1584s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1584s # if (!g_value_get_boolean (&return_value)) 1584s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1584s # g_value_unset (&return_value); 1584s # for (n = 0; n < num_params + num_extra; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static GVariant * 1584s # _good_types_skeleton_handle_get_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *ret; 1584s # ret = NULL; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # g_value_init (&value, pspec->value_type); 1584s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1584s # g_value_unset (&value); 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _good_types_skeleton_handle_set_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GVariant *variant, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # gboolean ret; 1584s # ret = FALSE; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # if (info->use_gvariant) 1584s # g_value_set_variant (&value, variant); 1584s # else 1584s # g_dbus_gvariant_to_gvalue (variant, &value); 1584s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # g_value_unset (&value); 1584s # ret = TRUE; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1584s # { 1584s # _good_types_skeleton_handle_method_call, 1584s # _good_types_skeleton_handle_get_property, 1584s # _good_types_skeleton_handle_set_property, 1584s # {NULL} 1584s # }; 1584s # 1584s # static GDBusInterfaceInfo * 1584s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return good_types_interface_info (); 1584s # } 1584s # 1584s # static GDBusInterfaceVTable * 1584s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1584s # } 1584s # 1584s # static GVariant * 1584s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1584s # 1584s # GVariantBuilder builder; 1584s # guint n; 1584s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1584s # if (_good_types_interface_info.parent_struct.properties == NULL) 1584s # goto out; 1584s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1584s # { 1584s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1584s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1584s # { 1584s # GVariant *value; 1584s # 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); 1584s # if (value != NULL) 1584s # { 1584s # g_variant_take_ref (value); 1584s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1584s # g_variant_unref (value); 1584s # } 1584s # } 1584s # } 1584s # out: 1584s # return g_variant_builder_end (&builder); 1584s # } 1584s # 1584s # static gboolean _good_types_emit_changed (gpointer user_data); 1584s # 1584s # static void 1584s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1584s # gboolean emit_changed = FALSE; 1584s # 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # if (skeleton->priv->changed_properties_idle_source != NULL) 1584s # { 1584s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1584s # skeleton->priv->changed_properties_idle_source = NULL; 1584s # emit_changed = TRUE; 1584s # } 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # 1584s # if (emit_changed) 1584s # _good_types_emit_changed (skeleton); 1584s # } 1584s # 1584s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_ADD_PRIVATE (GoodTypesSkeleton) 1584s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # good_types_skeleton_finalize (GObject *object) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # guint n; 1584s # for (n = 0; n < 1; n++) 1584s # g_value_unset (&skeleton->priv->properties[n]); 1584s # g_free (skeleton->priv->properties); 1584s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1584s # if (skeleton->priv->changed_properties_idle_source != NULL) 1584s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1584s # g_main_context_unref (skeleton->priv->context); 1584s # g_mutex_clear (&skeleton->priv->lock); 1584s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_get_property (GObject *object, 1584s # guint prop_id, 1584s # GValue *value, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # } 1584s # 1584s # static gboolean 1584s # _good_types_emit_changed (gpointer user_data) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1584s # GList *l; 1584s # GVariantBuilder builder; 1584s # GVariantBuilder invalidated_builder; 1584s # guint num_changes; 1584s # 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1584s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1584s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1584s # { 1584s # ChangedProperty *cp = l->data; 1584s # GVariant *variant; 1584s # const GValue *cur_value; 1584s # 1584s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1584s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1584s # { 1584s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1584s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1584s # g_variant_unref (variant); 1584s # num_changes++; 1584s # } 1584s # } 1584s # if (num_changes > 0) 1584s # { 1584s # GList *connections, *ll; 1584s # GVariant *signal_variant; 1584s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1584s # &builder, &invalidated_builder)); 1584s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1584s # for (ll = connections; ll != NULL; ll = ll->next) 1584s # { 1584s # GDBusConnection *connection = ll->data; 1584s # 1584s # g_dbus_connection_emit_signal (connection, 1584s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1584s # "org.freedesktop.DBus.Properties", 1584s # "PropertiesChanged", 1584s # signal_variant, 1584s # NULL); 1584s # } 1584s # g_variant_unref (signal_variant); 1584s # g_list_free_full (connections, g_object_unref); 1584s # } 1584s # else 1584s # { 1584s # g_variant_builder_clear (&builder); 1584s # g_variant_builder_clear (&invalidated_builder); 1584s # } 1584s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1584s # skeleton->priv->changed_properties = NULL; 1584s # skeleton->priv->changed_properties_idle_source = NULL; 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # return FALSE; 1584s # } 1584s # 1584s # static void 1584s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1584s # { 1584s # ChangedProperty *cp; 1584s # GList *l; 1584s # cp = NULL; 1584s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1584s # { 1584s # ChangedProperty *i_cp = l->data; 1584s # if (i_cp->info == info) 1584s # { 1584s # cp = i_cp; 1584s # break; 1584s # } 1584s # } 1584s # if (cp == NULL) 1584s # { 1584s # cp = g_new0 (ChangedProperty, 1); 1584s # cp->prop_id = prop_id; 1584s # cp->info = info; 1584s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1584s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1584s # g_value_copy (orig_value, &cp->orig_value); 1584s # } 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_notify (GObject *object, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # if (skeleton->priv->changed_properties != NULL && 1584s # skeleton->priv->changed_properties_idle_source == NULL) 1584s # { 1584s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1584s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1584s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1584s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1584s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1584s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1584s # } 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_set_property (GObject *object, 1584s # guint prop_id, 1584s # const GValue *value, 1584s # GParamSpec *pspec) 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1584s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # g_object_freeze_notify (object); 1584s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1584s # { 1584s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1584s # info->emits_changed_signal) 1584s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1584s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1584s # g_object_notify_by_pspec (object, pspec); 1584s # } 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # g_object_thaw_notify (object); 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1584s # #else 1584s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1584s # #endif 1584s # 1584s # g_mutex_init (&skeleton->priv->lock); 1584s # skeleton->priv->context = g_main_context_ref_thread_default (); 1584s # skeleton->priv->properties = g_new0 (GValue, 1); 1584s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1584s # } 1584s # 1584s # static GVariant * 1584s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # GVariant *value; 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # return value; 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusInterfaceSkeletonClass *skeleton_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = good_types_skeleton_finalize; 1584s # gobject_class->get_property = good_types_skeleton_get_property; 1584s # gobject_class->set_property = good_types_skeleton_set_property; 1584s # gobject_class->notify = good_types_skeleton_notify; 1584s # 1584s # 1584s # good_types_override_properties (gobject_class, 1); 1584s # 1584s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1584s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1584s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1584s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1584s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1584s # { 1584s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1584s # } 1584s # 1584s # /** 1584s # * good_types_skeleton_new: 1584s # * 1584s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1584s # */ 1584s # GoodTypes * 1584s # good_types_skeleton_new (void) 1584s # { 1584s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1584s # } 1584s # /tmp/tmp3d6yphq1/tmpjk6vz9ye.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3d6yphq1/tmpjk6vz9ye.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # Output: /* 1584s # * This file is generated by gdbus-codegen, do not modify it. 1584s # * 1584s # * The license of this code is the same as for the D-Bus interface description 1584s # * it was derived from. Note that it links to GLib, so must comply with the 1584s # * LGPL linking clauses. 1584s # */ 1584s # 1584s # #ifdef HAVE_CONFIG_H 1584s # # include "config.h" 1584s # #endif 1584s # 1584s # #include 1584s # #ifdef G_OS_UNIX 1584s # # include 1584s # #endif 1584s # 1584s # #ifdef G_ENABLE_DEBUG 1584s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1584s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1584s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1584s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1584s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1584s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1584s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1584s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1584s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1584s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1584s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1584s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1584s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1584s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1584s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1584s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1584s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1584s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1584s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1584s # #else /* !G_ENABLE_DEBUG */ 1584s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1584s # * Do not access GValues directly in your code. Instead, use the 1584s # * g_value_get_*() functions 1584s # */ 1584s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1584s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1584s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1584s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1584s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1584s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1584s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1584s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1584s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1584s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1584s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1584s # #endif /* !G_ENABLE_DEBUG */ 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusArgInfo parent_struct; 1584s # gboolean use_gvariant; 1584s # } _ExtendedGDBusArgInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusMethodInfo parent_struct; 1584s # const gchar *signal_name; 1584s # gboolean pass_fdlist; 1584s # } _ExtendedGDBusMethodInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusSignalInfo parent_struct; 1584s # const gchar *signal_name; 1584s # } _ExtendedGDBusSignalInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusPropertyInfo parent_struct; 1584s # const gchar *hyphen_name; 1584s # guint use_gvariant : 1; 1584s # guint emits_changed_signal : 1; 1584s # } _ExtendedGDBusPropertyInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusInterfaceInfo parent_struct; 1584s # const gchar *hyphen_name; 1584s # } _ExtendedGDBusInterfaceInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # guint prop_id; 1584s # GValue orig_value; /* the value before the change */ 1584s # } ChangedProperty; 1584s # 1584s # static void 1584s # _changed_property_free (ChangedProperty *data) 1584s # { 1584s # g_value_unset (&data->orig_value); 1584s # g_free (data); 1584s # } 1584s # 1584s # static gboolean 1584s # _g_strv_equal0 (gchar **a, gchar **b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # guint n; 1584s # if (a == NULL && b == NULL) 1584s # { 1584s # ret = TRUE; 1584s # goto out; 1584s # } 1584s # if (a == NULL || b == NULL) 1584s # goto out; 1584s # if (g_strv_length (a) != g_strv_length (b)) 1584s # goto out; 1584s # for (n = 0; a[n] != NULL; n++) 1584s # if (g_strcmp0 (a[n], b[n]) != 0) 1584s # goto out; 1584s # ret = TRUE; 1584s # out: 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _g_variant_equal0 (GVariant *a, GVariant *b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # if (a == NULL && b == NULL) 1584s # { 1584s # ret = TRUE; 1584s # goto out; 1584s # } 1584s # if (a == NULL || b == NULL) 1584s # goto out; 1584s # ret = g_variant_equal (a, b); 1584s # out: 1584s # return ret; 1584s # } 1584s # 1584s # G_GNUC_UNUSED static gboolean 1584s # _g_value_equal (const GValue *a, const GValue *b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1584s # switch (G_VALUE_TYPE (a)) 1584s # { 1584s # case G_TYPE_BOOLEAN: 1584s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1584s # break; 1584s # case G_TYPE_UCHAR: 1584s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1584s # break; 1584s # case G_TYPE_INT: 1584s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1584s # break; 1584s # case G_TYPE_UINT: 1584s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1584s # break; 1584s # case G_TYPE_INT64: 1584s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1584s # break; 1584s # case G_TYPE_UINT64: 1584s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1584s # break; 1584s # case G_TYPE_DOUBLE: 1584s # { 1584s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1584s # gdouble da = g_value_get_double (a); 1584s # gdouble db = g_value_get_double (b); 1584s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1584s # } 1584s # break; 1584s # case G_TYPE_STRING: 1584s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1584s # break; 1584s # case G_TYPE_VARIANT: 1584s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1584s # break; 1584s # default: 1584s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1584s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1584s # else 1584s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1584s # break; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ 1584s # * Code for interface GoodTypes 1584s # * ------------------------------------------------------------------------ 1584s # */ 1584s # 1584s # /** 1584s # * SECTION:GoodTypes 1584s # * @title: GoodTypes 1584s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1584s # * 1584s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1584s # */ 1584s # 1584s # /* ---- Introspection data for GoodTypes ---- */ 1584s # 1584s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "GoodPropertyType", 1584s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1584s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1584s # NULL 1584s # }, 1584s # "good-property-type", 1584s # FALSE, 1584s # TRUE 1584s # }; 1584s # 1584s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1584s # { 1584s # &_good_types_property_info_good_property_type.parent_struct, 1584s # NULL 1584s # }; 1584s # 1584s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "GoodTypes", 1584s # NULL, 1584s # NULL, 1584s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1584s # NULL 1584s # }, 1584s # "good-types", 1584s # }; 1584s # 1584s # 1584s # /** 1584s # * good_types_interface_info: 1584s # * 1584s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1584s # * 1584s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1584s # */ 1584s # GDBusInterfaceInfo * 1584s # good_types_interface_info (void) 1584s # { 1584s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1584s # } 1584s # 1584s # /** 1584s # * good_types_override_properties: 1584s # * @klass: The class structure for a #GObject derived class. 1584s # * @property_id_begin: The property id to assign to the first overridden property. 1584s # * 1584s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1584s # * The properties are overridden in the order they are defined. 1584s # * 1584s # * Returns: The last property id. 1584s # */ 1584s # guint 1584s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1584s # { 1584s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1584s # return property_id_begin - 1; 1584s # } 1584s # 1584s # 1584s # 1584s # /** 1584s # * GoodTypes: 1584s # * 1584s # * Abstract interface type for the D-Bus interface GoodTypes. 1584s # */ 1584s # 1584s # /** 1584s # * GoodTypesIface: 1584s # * @parent_iface: The parent interface. 1584s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1584s # * 1584s # * Virtual table for the D-Bus interface GoodTypes. 1584s # */ 1584s # 1584s # typedef GoodTypesIface GoodTypesInterface; 1584s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1584s # 1584s # static void 1584s # good_types_default_init (GoodTypesIface *iface) 1584s # { 1584s # /* GObject properties for D-Bus properties: */ 1584s # /** 1584s # * GoodTypes:good-property-type: 1584s # * 1584s # * Represents the D-Bus property "GoodPropertyType". 1584s # * 1584s # * 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. 1584s # */ 1584s # g_object_interface_install_property (iface, 1584s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1584s # } 1584s # 1584s # /** 1584s # * good_types_get_good_property_type: (skip) 1584s # * @object: A GoodTypes. 1584s # * 1584s # * Gets the value of the "GoodPropertyType" D-Bus property. 1584s # * 1584s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1584s # * 1584s # * 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. 1584s # * 1584s # * 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. 1584s # */ 1584s # GVariant * 1584s # good_types_get_good_property_type (GoodTypes *object) 1584s # { 1584s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1584s # 1584s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1584s # } 1584s # 1584s # /** 1584s # * good_types_dup_good_property_type: (skip) 1584s # * @object: A GoodTypes. 1584s # * 1584s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1584s # * 1584s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1584s # * 1584s # * 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(). 1584s # */ 1584s # GVariant * 1584s # good_types_dup_good_property_type (GoodTypes *object) 1584s # { 1584s # GVariant *value; 1584s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1584s # return value; 1584s # } 1584s # 1584s # /** 1584s # * good_types_set_good_property_type: (skip) 1584s # * @object: A GoodTypes. 1584s # * @value: The value to set. 1584s # * 1584s # * Sets the "GoodPropertyType" D-Bus property to @value. 1584s # * 1584s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1584s # */ 1584s # void 1584s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1584s # { 1584s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * GoodTypesProxy: 1584s # * 1584s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * GoodTypesProxyClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for GoodTypesProxy. 1584s # */ 1584s # 1584s # struct _GoodTypesProxyPrivate 1584s # { 1584s # GData *qdata; 1584s # }; 1584s # 1584s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1584s # G_ADD_PRIVATE (GoodTypesProxy) 1584s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1584s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # good_types_proxy_finalize (GObject *object) 1584s # { 1584s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1584s # g_datalist_clear (&proxy->priv->qdata); 1584s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_get_property (GObject *object, 1584s # guint prop_id, 1584s # GValue *value, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *variant; 1584s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1584s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1584s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1584s # if (info->use_gvariant) 1584s # { 1584s # g_value_set_variant (value, variant); 1584s # } 1584s # else 1584s # { 1584s # if (variant != NULL) 1584s # g_dbus_gvariant_to_gvalue (variant, value); 1584s # } 1584s # if (variant != NULL) 1584s # g_variant_unref (variant); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1584s # GAsyncResult *res, 1584s # gpointer user_data) 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info = user_data; 1584s # GError *error; 1584s # GVariant *_ret; 1584s # error = NULL; 1584s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1584s # if (!_ret) 1584s # { 1584s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1584s # info->parent_struct.name, 1584s # error->message, g_quark_to_string (error->domain), error->code); 1584s # g_error_free (error); 1584s # } 1584s # else 1584s # { 1584s # g_variant_unref (_ret); 1584s # } 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_set_property (GObject *object, 1584s # guint prop_id, 1584s # const GValue *value, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *variant; 1584s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1584s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1584s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1584s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1584s # "org.freedesktop.DBus.Properties.Set", 1584s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1584s # G_DBUS_CALL_FLAGS_NONE, 1584s # -1, 1584s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1584s # g_variant_unref (variant); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_g_signal (GDBusProxy *proxy, 1584s # const gchar *sender_name G_GNUC_UNUSED, 1584s # const gchar *signal_name, 1584s # GVariant *parameters) 1584s # { 1584s # _ExtendedGDBusSignalInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # gsize n; 1584s # guint signal_id; 1584s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1584s # if (info == NULL) 1584s # return; 1584s # num_params = g_variant_n_children (parameters); 1584s # paramv = g_new0 (GValue, num_params + 1); 1584s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1584s # g_value_set_object (¶mv[0], proxy); 1584s # g_variant_iter_init (&iter, parameters); 1584s # n = 1; 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1584s # g_signal_emitv (paramv, signal_id, 0, NULL); 1584s # for (n = 0; n < num_params + 1; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1584s # GVariant *changed_properties, 1584s # const gchar *const *invalidated_properties) 1584s # { 1584s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1584s # guint n; 1584s # const gchar *key; 1584s # GVariantIter *iter; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # g_variant_get (changed_properties, "a{sv}", &iter); 1584s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1584s # g_datalist_remove_data (&proxy->priv->qdata, key); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # g_variant_iter_free (iter); 1584s # for (n = 0; invalidated_properties[n] != NULL; n++) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1584s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # } 1584s # 1584s # static GVariant * 1584s # good_types_proxy_get_good_property_type (GoodTypes *object) 1584s # { 1584s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1584s # GVariant *variant; 1584s # GVariant *value = NULL; 1584s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1584s # value = variant; 1584s # if (variant != NULL) 1584s # g_variant_unref (variant); 1584s # return value; 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_init (GoodTypesProxy *proxy) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1584s # #else 1584s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1584s # #endif 1584s # 1584s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusProxyClass *proxy_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = good_types_proxy_finalize; 1584s # gobject_class->get_property = good_types_proxy_get_property; 1584s # gobject_class->set_property = good_types_proxy_set_property; 1584s # 1584s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1584s # proxy_class->g_signal = good_types_proxy_g_signal; 1584s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1584s # 1584s # good_types_override_properties (gobject_class, 1); 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # good_types_proxy_iface_init (GoodTypesIface *iface) 1584s # { 1584s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1584s # * 1584s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # good_types_proxy_new ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with good_types_proxy_new(). 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # GoodTypes * 1584s # good_types_proxy_new_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return GOOD_TYPES (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new_sync: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # GoodTypes * 1584s # good_types_proxy_new_sync ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return GOOD_TYPES (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /** 1584s # * good_types_proxy_new_for_bus: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1584s # * 1584s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # good_types_proxy_new_for_bus ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new_for_bus_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # GoodTypes * 1584s # good_types_proxy_new_for_bus_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return GOOD_TYPES (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * good_types_proxy_new_for_bus_sync: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # GoodTypes * 1584s # good_types_proxy_new_for_bus_sync ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return GOOD_TYPES (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * GoodTypesSkeleton: 1584s # * 1584s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * GoodTypesSkeletonClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for GoodTypesSkeleton. 1584s # */ 1584s # 1584s # struct _GoodTypesSkeletonPrivate 1584s # { 1584s # GValue *properties; 1584s # GList *changed_properties; 1584s # GSource *changed_properties_idle_source; 1584s # GMainContext *context; 1584s # GMutex lock; 1584s # }; 1584s # 1584s # static void 1584s # _good_types_skeleton_handle_method_call ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name, 1584s # const gchar *method_name, 1584s # GVariant *parameters, 1584s # GDBusMethodInvocation *invocation, 1584s # gpointer user_data) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1584s # _ExtendedGDBusMethodInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # guint num_extra; 1584s # gsize n; 1584s # guint signal_id; 1584s # GValue return_value = G_VALUE_INIT; 1584s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1584s # g_assert (info != NULL); 1584s # num_params = g_variant_n_children (parameters); 1584s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1584s # n = 0; 1584s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1584s # g_value_set_object (¶mv[n++], skeleton); 1584s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1584s # g_value_set_object (¶mv[n++], invocation); 1584s # if (info->pass_fdlist) 1584s # { 1584s # #ifdef G_OS_UNIX 1584s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1584s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1584s # #else 1584s # g_assert_not_reached (); 1584s # #endif 1584s # } 1584s # g_variant_iter_init (&iter, parameters); 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1584s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1584s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1584s # if (!g_value_get_boolean (&return_value)) 1584s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1584s # g_value_unset (&return_value); 1584s # for (n = 0; n < num_params + num_extra; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static GVariant * 1584s # _good_types_skeleton_handle_get_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *ret; 1584s # ret = NULL; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # g_value_init (&value, pspec->value_type); 1584s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1584s # g_value_unset (&value); 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _good_types_skeleton_handle_set_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GVariant *variant, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # gboolean ret; 1584s # ret = FALSE; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # if (info->use_gvariant) 1584s # g_value_set_variant (&value, variant); 1584s # else 1584s # g_dbus_gvariant_to_gvalue (variant, &value); 1584s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # g_value_unset (&value); 1584s # ret = TRUE; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1584s # { 1584s # _good_types_skeleton_handle_method_call, 1584s # _good_types_skeleton_handle_get_property, 1584s # _good_types_skeleton_handle_set_property, 1584s # {NULL} 1584s # }; 1584s # 1584s # static GDBusInterfaceInfo * 1584s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return good_types_interface_info (); 1584s # } 1584s # 1584s # static GDBusInterfaceVTable * 1584s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1584s # } 1584s # 1584s # static GVariant * 1584s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1584s # 1584s # GVariantBuilder builder; 1584s # guint n; 1584s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1584s # if (_good_types_interface_info.parent_struct.properties == NULL) 1584s # goto out; 1584s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1584s # { 1584s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1584s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1584s # { 1584s # GVariant *value; 1584s # 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); 1584s # if (value != NULL) 1584s # { 1584s # g_variant_take_ref (value); 1584s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1584s # g_variant_unref (value); 1584s # } 1584s # } 1584s # } 1584s # out: 1584s # return g_variant_builder_end (&builder); 1584s # } 1584s # 1584s # static gboolean _good_types_emit_changed (gpointer user_data); 1584s # 1584s # static void 1584s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1584s # gboolean emit_changed = FALSE; 1584s # 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # if (skeleton->priv->changed_properties_idle_source != NULL) 1584s # { 1584s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1584s # skeleton->priv->changed_properties_idle_source = NULL; 1584s # emit_changed = TRUE; 1584s # } 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # 1584s # if (emit_changed) 1584s # _good_types_emit_changed (skeleton); 1584s # } 1584s # 1584s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_ADD_PRIVATE (GoodTypesSkeleton) 1584s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # good_types_skeleton_finalize (GObject *object) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # guint n; 1584s # for (n = 0; n < 1; n++) 1584s # g_value_unset (&skeleton->priv->properties[n]); 1584s # g_free (skeleton->priv->properties); 1584s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1584s # if (skeleton->priv->changed_properties_idle_source != NULL) 1584s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1584s # g_main_context_unref (skeleton->priv->context); 1584s # g_mutex_clear (&skeleton->priv->lock); 1584s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_get_property (GObject *object, 1584s # guint prop_id, 1584s # GValue *value, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # } 1584s # 1584s # static gboolean 1584s # _good_types_emit_changed (gpointer user_data) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1584s # GList *l; 1584s # GVariantBuilder builder; 1584s # GVariantBuilder invalidated_builder; 1584s # guint num_changes; 1584s # 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1584s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1584s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1584s # { 1584s # ChangedProperty *cp = l->data; 1584s # GVariant *variant; 1584s # const GValue *cur_value; 1584s # 1584s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1584s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1584s # { 1584s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1584s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1584s # g_variant_unref (variant); 1584s # num_changes++; 1584s # } 1584s # } 1584s # if (num_changes > 0) 1584s # { 1584s # GList *connections, *ll; 1584s # GVariant *signal_variant; 1584s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1584s # &builder, &invalidated_builder)); 1584s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1584s # for (ll = connections; ll != NULL; ll = ll->next) 1584s # { 1584s # GDBusConnection *connection = ll->data; 1584s # 1584s # g_dbus_connection_emit_signal (connection, 1584s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1584s # "org.freedesktop.DBus.Properties", 1584s # "PropertiesChanged", 1584s # signal_variant, 1584s # NULL); 1584s # } 1584s # g_variant_unref (signal_variant); 1584s # g_list_free_full (connections, g_object_unref); 1584s # } 1584s # else 1584s # { 1584s # g_variant_builder_clear (&builder); 1584s # g_variant_builder_clear (&invalidated_builder); 1584s # } 1584s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1584s # skeleton->priv->changed_properties = NULL; 1584s # skeleton->priv->changed_properties_idle_source = NULL; 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # return FALSE; 1584s # } 1584s # 1584s # static void 1584s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1584s # { 1584s # ChangedProperty *cp; 1584s # GList *l; 1584s # cp = NULL; 1584s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1584s # { 1584s # ChangedProperty *i_cp = l->data; 1584s # if (i_cp->info == info) 1584s # { 1584s # cp = i_cp; 1584s # break; 1584s # } 1584s # } 1584s # if (cp == NULL) 1584s # { 1584s # cp = g_new0 (ChangedProperty, 1); 1584s # cp->prop_id = prop_id; 1584s # cp->info = info; 1584s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1584s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1584s # g_value_copy (orig_value, &cp->orig_value); 1584s # } 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_notify (GObject *object, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # if (skeleton->priv->changed_properties != NULL && 1584s # skeleton->priv->changed_properties_idle_source == NULL) 1584s # { 1584s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1584s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1584s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1584s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1584s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1584s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1584s # } 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_set_property (GObject *object, 1584s # guint prop_id, 1584s # const GValue *value, 1584s # GParamSpec *pspec) 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1584s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # g_object_freeze_notify (object); 1584s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1584s # { 1584s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1584s # info->emits_changed_signal) 1584s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1584s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1584s # g_object_notify_by_pspec (object, pspec); 1584s # } 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # g_object_thaw_notify (object); 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1584s # #else 1584s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1584s # #endif 1584s # 1584s # g_mutex_init (&skeleton->priv->lock); 1584s # skeleton->priv->context = g_main_context_ref_thread_default (); 1584s # skeleton->priv->properties = g_new0 (GValue, 1); 1584s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1584s # } 1584s # 1584s # static GVariant * 1584s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1584s # { 1584s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1584s # GVariant *value; 1584s # g_mutex_lock (&skeleton->priv->lock); 1584s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1584s # g_mutex_unlock (&skeleton->priv->lock); 1584s # return value; 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusInterfaceSkeletonClass *skeleton_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = good_types_skeleton_finalize; 1584s # gobject_class->get_property = good_types_skeleton_get_property; 1584s # gobject_class->set_property = good_types_skeleton_set_property; 1584s # gobject_class->notify = good_types_skeleton_notify; 1584s # 1584s # 1584s # good_types_override_properties (gobject_class, 1); 1584s # 1584s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1584s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1584s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1584s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1584s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1584s # { 1584s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1584s # } 1584s # 1584s # /** 1584s # * good_types_skeleton_new: 1584s # * 1584s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1584s # * 1584s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1584s # */ 1584s # GoodTypes * 1584s # good_types_skeleton_new (void) 1584s # { 1584s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1584s # } 1584s ok 3 __main__.TestCodegen.test_empty_interface_body 1584s # tmpdir: /tmp/tmp3jfvradv 1584s # codegen: /usr/bin/gdbus-codegen 1584s # /tmp/tmp3jfvradv/tmpb8l6r19l.xml: 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3jfvradv/tmpb8l6r19l.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # Output: /* 1584s # * This file is generated by gdbus-codegen, do not modify it. 1584s # * 1584s # * The license of this code is the same as for the D-Bus interface description 1584s # * it was derived from. Note that it links to GLib, so must comply with the 1584s # * LGPL linking clauses. 1584s # */ 1584s # 1584s # #ifdef HAVE_CONFIG_H 1584s # # include "config.h" 1584s # #endif 1584s # 1584s # #include 1584s # #ifdef G_OS_UNIX 1584s # # include 1584s # #endif 1584s # 1584s # #ifdef G_ENABLE_DEBUG 1584s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1584s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1584s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1584s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1584s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1584s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1584s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1584s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1584s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1584s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1584s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1584s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1584s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1584s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1584s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1584s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1584s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1584s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1584s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1584s # #else /* !G_ENABLE_DEBUG */ 1584s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1584s # * Do not access GValues directly in your code. Instead, use the 1584s # * g_value_get_*() functions 1584s # */ 1584s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1584s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1584s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1584s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1584s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1584s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1584s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1584s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1584s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1584s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1584s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1584s # #endif /* !G_ENABLE_DEBUG */ 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusArgInfo parent_struct; 1584s # gboolean use_gvariant; 1584s # } _ExtendedGDBusArgInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusMethodInfo parent_struct; 1584s # const gchar *signal_name; 1584s # gboolean pass_fdlist; 1584s # } _ExtendedGDBusMethodInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusSignalInfo parent_struct; 1584s # const gchar *signal_name; 1584s # } _ExtendedGDBusSignalInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusPropertyInfo parent_struct; 1584s # const gchar *hyphen_name; 1584s # guint use_gvariant : 1; 1584s # guint emits_changed_signal : 1; 1584s # } _ExtendedGDBusPropertyInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusInterfaceInfo parent_struct; 1584s # const gchar *hyphen_name; 1584s # } _ExtendedGDBusInterfaceInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # guint prop_id; 1584s # GValue orig_value; /* the value before the change */ 1584s # } ChangedProperty; 1584s # 1584s # static void 1584s # _changed_property_free (ChangedProperty *data) 1584s # { 1584s # g_value_unset (&data->orig_value); 1584s # g_free (data); 1584s # } 1584s # 1584s # static gboolean 1584s # _g_strv_equal0 (gchar **a, gchar **b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # guint n; 1584s # if (a == NULL && b == NULL) 1584s # { 1584s # ret = TRUE; 1584s # goto out; 1584s # } 1584s # if (a == NULL || b == NULL) 1584s # goto out; 1584s # if (g_strv_length (a) != g_strv_length (b)) 1584s # goto out; 1584s # for (n = 0; a[n] != NULL; n++) 1584s # if (g_strcmp0 (a[n], b[n]) != 0) 1584s # goto out; 1584s # ret = TRUE; 1584s # out: 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _g_variant_equal0 (GVariant *a, GVariant *b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # if (a == NULL && b == NULL) 1584s # { 1584s # ret = TRUE; 1584s # goto out; 1584s # } 1584s # if (a == NULL || b == NULL) 1584s # goto out; 1584s # ret = g_variant_equal (a, b); 1584s # out: 1584s # return ret; 1584s # } 1584s # 1584s # G_GNUC_UNUSED static gboolean 1584s # _g_value_equal (const GValue *a, const GValue *b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1584s # switch (G_VALUE_TYPE (a)) 1584s # { 1584s # case G_TYPE_BOOLEAN: 1584s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1584s # break; 1584s # case G_TYPE_UCHAR: 1584s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1584s # break; 1584s # case G_TYPE_INT: 1584s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1584s # break; 1584s # case G_TYPE_UINT: 1584s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1584s # break; 1584s # case G_TYPE_INT64: 1584s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1584s # break; 1584s # case G_TYPE_UINT64: 1584s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1584s # break; 1584s # case G_TYPE_DOUBLE: 1584s # { 1584s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1584s # gdouble da = g_value_get_double (a); 1584s # gdouble db = g_value_get_double (b); 1584s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1584s # } 1584s # break; 1584s # case G_TYPE_STRING: 1584s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1584s # break; 1584s # case G_TYPE_VARIANT: 1584s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1584s # break; 1584s # default: 1584s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1584s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1584s # else 1584s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1584s # break; 1584s # } 1584s # return ret; 1584s # } 1584s ok 4 __main__.TestCodegen.test_empty_interface_header 1584s # tmpdir: /tmp/tmpq1laycri 1584s # codegen: /usr/bin/gdbus-codegen 1584s # /tmp/tmpq1laycri/tmpar3szn6n.xml: 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq1laycri/tmpar3szn6n.xml', '--output', '-', '--header'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # Output: /* 1584s # * This file is generated by gdbus-codegen, do not modify it. 1584s # * 1584s # * The license of this code is the same as for the D-Bus interface description 1584s # * it was derived from. Note that it links to GLib, so must comply with the 1584s # * LGPL linking clauses. 1584s # */ 1584s # 1584s # #ifndef __STDOUT__ 1584s # #define __STDOUT__ 1584s # 1584s # #include 1584s # 1584s # G_BEGIN_DECLS 1584s # 1584s # 1584s # G_END_DECLS 1584s # 1584s # #endif /* __STDOUT__ */ 1584s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1584s # tmpdir: /tmp/tmpcn_6wy3h 1584s # codegen: /usr/bin/gdbus-codegen 1584s # /tmp/tmpcn_6wy3h/tmpw01d7_ia.xml: 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcn_6wy3h/tmpw01d7_ia.xml', '--output', '-', '--interface-info-body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # Output: /* 1584s # * This file is generated by gdbus-codegen, do not modify it. 1584s # * 1584s # * The license of this code is the same as for the D-Bus interface description 1584s # * it was derived from. Note that it links to GLib, so must comply with the 1584s # * LGPL linking clauses. 1584s # */ 1584s # 1584s # #ifdef HAVE_CONFIG_H 1584s # # include "config.h" 1584s # #endif 1584s # 1584s # #include 1584s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1584s # tmpdir: /tmp/tmp17305re9 1584s # codegen: /usr/bin/gdbus-codegen 1584s # /tmp/tmp17305re9/tmpk5y4z7y7.xml: 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp17305re9/tmpk5y4z7y7.xml', '--output', '-', '--interface-info-header'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # Output: /* 1584s # * This file is generated by gdbus-codegen, do not modify it. 1584s # * 1584s # * The license of this code is the same as for the D-Bus interface description 1584s # * it was derived from. Note that it links to GLib, so must comply with the 1584s # * LGPL linking clauses. 1584s # */ 1584s # 1584s # #ifndef __STDOUT__ 1584s # #define __STDOUT__ 1584s # 1584s # #include 1584s # 1584s # G_BEGIN_DECLS 1584s # 1584s # 1584s # G_END_DECLS 1584s # 1584s # #endif /* __STDOUT__ */ 1584s ok 7 __main__.TestCodegen.test_generate_docbook 1584s # tmpdir: /tmp/tmpydtkj27h 1584s # codegen: /usr/bin/gdbus-codegen 1584s # /tmp/tmpydtkj27h/tmpqjs_0fik.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpydtkj27h/tmpqjs_0fik.xml', '--generate-docbook', 'test'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # Output: 1584s ok 8 __main__.TestCodegen.test_generate_md 1584s # tmpdir: /tmp/tmp9iil2npr 1584s # codegen: /usr/bin/gdbus-codegen 1584s # /tmp/tmp9iil2npr/tmpw31tc5ks.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9iil2npr/tmpw31tc5ks.xml', '--generate-md', 'test'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # Output: 1584s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1584s # tmpdir: /tmp/tmpl5q1b3w3 1584s # codegen: /usr/bin/gdbus-codegen 1584s # /tmp/tmpl5q1b3w3/tmp3ws0a_93.xml: 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # 1584s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl5q1b3w3/tmp3ws0a_93.xml', '--output', '-', '--body'] 1584s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1584s # Output: /* 1584s # * This file is generated by gdbus-codegen, do not modify it. 1584s # * 1584s # * The license of this code is the same as for the D-Bus interface description 1584s # * it was derived from. Note that it links to GLib, so must comply with the 1584s # * LGPL linking clauses. 1584s # */ 1584s # 1584s # #ifdef HAVE_CONFIG_H 1584s # # include "config.h" 1584s # #endif 1584s # 1584s # #include 1584s # #ifdef G_OS_UNIX 1584s # # include 1584s # #endif 1584s # 1584s # #ifdef G_ENABLE_DEBUG 1584s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1584s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1584s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1584s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1584s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1584s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1584s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1584s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1584s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1584s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1584s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1584s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1584s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1584s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1584s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1584s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1584s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1584s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1584s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1584s # #else /* !G_ENABLE_DEBUG */ 1584s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1584s # * Do not access GValues directly in your code. Instead, use the 1584s # * g_value_get_*() functions 1584s # */ 1584s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1584s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1584s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1584s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1584s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1584s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1584s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1584s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1584s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1584s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1584s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1584s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1584s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1584s # #endif /* !G_ENABLE_DEBUG */ 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusArgInfo parent_struct; 1584s # gboolean use_gvariant; 1584s # } _ExtendedGDBusArgInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusMethodInfo parent_struct; 1584s # const gchar *signal_name; 1584s # gboolean pass_fdlist; 1584s # } _ExtendedGDBusMethodInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusSignalInfo parent_struct; 1584s # const gchar *signal_name; 1584s # } _ExtendedGDBusSignalInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusPropertyInfo parent_struct; 1584s # const gchar *hyphen_name; 1584s # guint use_gvariant : 1; 1584s # guint emits_changed_signal : 1; 1584s # } _ExtendedGDBusPropertyInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # GDBusInterfaceInfo parent_struct; 1584s # const gchar *hyphen_name; 1584s # } _ExtendedGDBusInterfaceInfo; 1584s # 1584s # typedef struct 1584s # { 1584s # const _ExtendedGDBusPropertyInfo *info; 1584s # guint prop_id; 1584s # GValue orig_value; /* the value before the change */ 1584s # } ChangedProperty; 1584s # 1584s # static void 1584s # _changed_property_free (ChangedProperty *data) 1584s # { 1584s # g_value_unset (&data->orig_value); 1584s # g_free (data); 1584s # } 1584s # 1584s # static gboolean 1584s # _g_strv_equal0 (gchar **a, gchar **b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # guint n; 1584s # if (a == NULL && b == NULL) 1584s # { 1584s # ret = TRUE; 1584s # goto out; 1584s # } 1584s # if (a == NULL || b == NULL) 1584s # goto out; 1584s # if (g_strv_length (a) != g_strv_length (b)) 1584s # goto out; 1584s # for (n = 0; a[n] != NULL; n++) 1584s # if (g_strcmp0 (a[n], b[n]) != 0) 1584s # goto out; 1584s # ret = TRUE; 1584s # out: 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _g_variant_equal0 (GVariant *a, GVariant *b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # if (a == NULL && b == NULL) 1584s # { 1584s # ret = TRUE; 1584s # goto out; 1584s # } 1584s # if (a == NULL || b == NULL) 1584s # goto out; 1584s # ret = g_variant_equal (a, b); 1584s # out: 1584s # return ret; 1584s # } 1584s # 1584s # G_GNUC_UNUSED static gboolean 1584s # _g_value_equal (const GValue *a, const GValue *b) 1584s # { 1584s # gboolean ret = FALSE; 1584s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1584s # switch (G_VALUE_TYPE (a)) 1584s # { 1584s # case G_TYPE_BOOLEAN: 1584s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1584s # break; 1584s # case G_TYPE_UCHAR: 1584s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1584s # break; 1584s # case G_TYPE_INT: 1584s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1584s # break; 1584s # case G_TYPE_UINT: 1584s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1584s # break; 1584s # case G_TYPE_INT64: 1584s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1584s # break; 1584s # case G_TYPE_UINT64: 1584s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1584s # break; 1584s # case G_TYPE_DOUBLE: 1584s # { 1584s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1584s # gdouble da = g_value_get_double (a); 1584s # gdouble db = g_value_get_double (b); 1584s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1584s # } 1584s # break; 1584s # case G_TYPE_STRING: 1584s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1584s # break; 1584s # case G_TYPE_VARIANT: 1584s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1584s # break; 1584s # default: 1584s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1584s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1584s # else 1584s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1584s # break; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static void 1584s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1584s # GClosure *closure, 1584s # GValue *return_value, 1584s # unsigned int n_param_values, 1584s # const GValue *param_values, 1584s # void *invocation_hint G_GNUC_UNUSED, 1584s # void *marshal_data) 1584s # { 1584s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1584s # (void *data1, 1584s # GDBusMethodInvocation *arg_method_invocation, 1584s # void *data2); 1584s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1584s # GCClosure *cc = (GCClosure*) closure; 1584s # void *data1, *data2; 1584s # gboolean v_return; 1584s # 1584s # g_return_if_fail (return_value != NULL); 1584s # g_return_if_fail (n_param_values == 2); 1584s # 1584s # if (G_CCLOSURE_SWAP_DATA (closure)) 1584s # { 1584s # data1 = closure->data; 1584s # data2 = g_value_peek_pointer (param_values + 0); 1584s # } 1584s # else 1584s # { 1584s # data1 = g_value_peek_pointer (param_values + 0); 1584s # data2 = closure->data; 1584s # } 1584s # 1584s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1584s # (marshal_data ? marshal_data : cc->callback); 1584s # 1584s # v_return = 1584s # callback (data1, 1584s # g_marshal_value_peek_object (param_values + 1), 1584s # data2); 1584s # 1584s # g_value_set_boolean (return_value, v_return); 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ 1584s # * Code for interface org.project.CallableIface 1584s # * ------------------------------------------------------------------------ 1584s # */ 1584s # 1584s # /** 1584s # * SECTION:OrgProjectCallableIface 1584s # * @title: OrgProjectCallableIface 1584s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1584s # * 1584s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1584s # */ 1584s # 1584s # /* ---- Introspection data for org.project.CallableIface ---- */ 1584s # 1584s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "SimpleMethod", 1584s # NULL, 1584s # NULL, 1584s # NULL 1584s # }, 1584s # "handle-simple-method", 1584s # FALSE 1584s # }; 1584s # 1584s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1584s # { 1584s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1584s # NULL 1584s # }; 1584s # 1584s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "org.project.CallableIface", 1584s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1584s # NULL, 1584s # NULL, 1584s # NULL 1584s # }, 1584s # "org-project-callable-iface", 1584s # }; 1584s # 1584s # 1584s # /** 1584s # * org_project_callable_iface_interface_info: 1584s # * 1584s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1584s # * 1584s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1584s # */ 1584s # GDBusInterfaceInfo * 1584s # org_project_callable_iface_interface_info (void) 1584s # { 1584s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1584s # } 1584s # 1584s # /** 1584s # * org_project_callable_iface_override_properties: 1584s # * @klass: The class structure for a #GObject derived class. 1584s # * @property_id_begin: The property id to assign to the first overridden property. 1584s # * 1584s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1584s # * The properties are overridden in the order they are defined. 1584s # * 1584s # * Returns: The last property id. 1584s # */ 1584s # guint 1584s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1584s # { 1584s # return property_id_begin - 1; 1584s # } 1584s # 1584s # 1584s # inline static void 1584s # org_project_callable_iface_method_marshal_simple_method ( 1584s # GClosure *closure, 1584s # GValue *return_value, 1584s # unsigned int n_param_values, 1584s # const GValue *param_values, 1584s # void *invocation_hint, 1584s # void *marshal_data) 1584s # { 1584s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1584s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1584s # } 1584s # 1584s # 1584s # /** 1584s # * OrgProjectCallableIface: 1584s # * 1584s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectCallableIfaceIface: 1584s # * @parent_iface: The parent interface. 1584s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1584s # * 1584s # * Virtual table for the D-Bus interface org.project.CallableIface. 1584s # */ 1584s # 1584s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1584s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1584s # 1584s # static void 1584s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1584s # { 1584s # /* GObject signals for incoming D-Bus method calls: */ 1584s # /** 1584s # * OrgProjectCallableIface::handle-simple-method: 1584s # * @object: A #OrgProjectCallableIface. 1584s # * @invocation: A #GDBusMethodInvocation. 1584s # * 1584s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1584s # * 1584s # * 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. 1584s # * 1584s # * 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. 1584s # */ 1584s # g_signal_new ("handle-simple-method", 1584s # G_TYPE_FROM_INTERFACE (iface), 1584s # G_SIGNAL_RUN_LAST, 1584s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1584s # g_signal_accumulator_true_handled, 1584s # NULL, 1584s # org_project_callable_iface_method_marshal_simple_method, 1584s # G_TYPE_BOOLEAN, 1584s # 1, 1584s # G_TYPE_DBUS_METHOD_INVOCATION); 1584s # 1584s # } 1584s # 1584s # /** 1584s # * org_project_callable_iface_call_simple_method: 1584s # * @proxy: A #OrgProjectCallableIfaceProxy. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1584s # * 1584s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1584s # */ 1584s # void 1584s # org_project_callable_iface_call_simple_method ( 1584s # OrgProjectCallableIface *proxy, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1584s # "SimpleMethod", 1584s # g_variant_new ("()"), 1584s # G_DBUS_CALL_FLAGS_NONE, 1584s # -1, 1584s # cancellable, 1584s # callback, 1584s # user_data); 1584s # } 1584s # 1584s # /** 1584s # * org_project_callable_iface_call_simple_method_finish: 1584s # * @proxy: A #OrgProjectCallableIfaceProxy. 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1584s # * @error: Return location for error or %NULL. 1584s # * 1584s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1584s # * 1584s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1584s # */ 1584s # gboolean 1584s # org_project_callable_iface_call_simple_method_finish ( 1584s # OrgProjectCallableIface *proxy, 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GVariant *_ret; 1584s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1584s # if (_ret == NULL) 1584s # goto _out; 1584s # g_variant_get (_ret, 1584s # "()"); 1584s # g_variant_unref (_ret); 1584s # _out: 1584s # return _ret != NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_callable_iface_call_simple_method_sync: 1584s # * @proxy: A #OrgProjectCallableIfaceProxy. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL. 1584s # * 1584s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1584s # * 1584s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1584s # * 1584s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1584s # */ 1584s # gboolean 1584s # org_project_callable_iface_call_simple_method_sync ( 1584s # OrgProjectCallableIface *proxy, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GVariant *_ret; 1584s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1584s # "SimpleMethod", 1584s # g_variant_new ("()"), 1584s # G_DBUS_CALL_FLAGS_NONE, 1584s # -1, 1584s # cancellable, 1584s # error); 1584s # if (_ret == NULL) 1584s # goto _out; 1584s # g_variant_get (_ret, 1584s # "()"); 1584s # g_variant_unref (_ret); 1584s # _out: 1584s # return _ret != NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_callable_iface_complete_simple_method: 1584s # * @object: A #OrgProjectCallableIface. 1584s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1584s # * 1584s # * 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. 1584s # * 1584s # * This method will free @invocation, you cannot use it afterwards. 1584s # */ 1584s # void 1584s # org_project_callable_iface_complete_simple_method ( 1584s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1584s # GDBusMethodInvocation *invocation) 1584s # { 1584s # g_dbus_method_invocation_return_value (invocation, 1584s # g_variant_new ("()")); 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * OrgProjectCallableIfaceProxy: 1584s # * 1584s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectCallableIfaceProxyClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for #OrgProjectCallableIfaceProxy. 1584s # */ 1584s # 1584s # struct _OrgProjectCallableIfaceProxyPrivate 1584s # { 1584s # GData *qdata; 1584s # }; 1584s # 1584s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1584s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # org_project_callable_iface_proxy_finalize (GObject *object) 1584s # { 1584s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1584s # g_datalist_clear (&proxy->priv->qdata); 1584s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1584s # guint prop_id G_GNUC_UNUSED, 1584s # GValue *value G_GNUC_UNUSED, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1584s # guint prop_id G_GNUC_UNUSED, 1584s # const GValue *value G_GNUC_UNUSED, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1584s # const gchar *sender_name G_GNUC_UNUSED, 1584s # const gchar *signal_name, 1584s # GVariant *parameters) 1584s # { 1584s # _ExtendedGDBusSignalInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # gsize n; 1584s # guint signal_id; 1584s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1584s # if (info == NULL) 1584s # return; 1584s # num_params = g_variant_n_children (parameters); 1584s # paramv = g_new0 (GValue, num_params + 1); 1584s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1584s # g_value_set_object (¶mv[0], proxy); 1584s # g_variant_iter_init (&iter, parameters); 1584s # n = 1; 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1584s # g_signal_emitv (paramv, signal_id, 0, NULL); 1584s # for (n = 0; n < num_params + 1; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static void 1584s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1584s # GVariant *changed_properties, 1584s # const gchar *const *invalidated_properties) 1584s # { 1584s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1584s # guint n; 1584s # const gchar *key; 1584s # GVariantIter *iter; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # g_variant_get (changed_properties, "a{sv}", &iter); 1584s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1584s # g_datalist_remove_data (&proxy->priv->qdata, key); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # g_variant_iter_free (iter); 1584s # for (n = 0; invalidated_properties[n] != NULL; n++) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1584s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # } 1584s # 1584s # static void 1584s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1584s # #else 1584s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1584s # #endif 1584s # 1584s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1584s # } 1584s # 1584s # static void 1584s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusProxyClass *proxy_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1584s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1584s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1584s # 1584s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1584s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1584s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # /** 1584s # * org_project_callable_iface_proxy_new: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1584s # * 1584s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # org_project_callable_iface_proxy_new ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * org_project_callable_iface_proxy_new_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectCallableIface * 1584s # org_project_callable_iface_proxy_new_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_callable_iface_proxy_new_sync: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectCallableIface * 1584s # org_project_callable_iface_proxy_new_sync ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /** 1584s # * org_project_callable_iface_proxy_new_for_bus: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1584s # * 1584s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # org_project_callable_iface_proxy_new_for_bus ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * org_project_callable_iface_proxy_new_for_bus_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectCallableIface * 1584s # org_project_callable_iface_proxy_new_for_bus_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_callable_iface_proxy_new_for_bus_sync: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectCallableIface * 1584s # org_project_callable_iface_proxy_new_for_bus_sync ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * OrgProjectCallableIfaceSkeleton: 1584s # * 1584s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectCallableIfaceSkeletonClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1584s # */ 1584s # 1584s # struct _OrgProjectCallableIfaceSkeletonPrivate 1584s # { 1584s # GValue *properties; 1584s # GList *changed_properties; 1584s # GSource *changed_properties_idle_source; 1584s # GMainContext *context; 1584s # GMutex lock; 1584s # }; 1584s # 1584s # static void 1584s # _org_project_callable_iface_skeleton_handle_method_call ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name, 1584s # const gchar *method_name, 1584s # GVariant *parameters, 1584s # GDBusMethodInvocation *invocation, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1584s # _ExtendedGDBusMethodInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # guint num_extra; 1584s # gsize n; 1584s # guint signal_id; 1584s # GValue return_value = G_VALUE_INIT; 1584s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1584s # g_assert (info != NULL); 1584s # num_params = g_variant_n_children (parameters); 1584s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1584s # n = 0; 1584s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1584s # g_value_set_object (¶mv[n++], skeleton); 1584s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1584s # g_value_set_object (¶mv[n++], invocation); 1584s # if (info->pass_fdlist) 1584s # { 1584s # #ifdef G_OS_UNIX 1584s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1584s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1584s # #else 1584s # g_assert_not_reached (); 1584s # #endif 1584s # } 1584s # g_variant_iter_init (&iter, parameters); 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1584s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1584s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1584s # if (!g_value_get_boolean (&return_value)) 1584s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1584s # g_value_unset (&return_value); 1584s # for (n = 0; n < num_params + num_extra; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static GVariant * 1584s # _org_project_callable_iface_skeleton_handle_get_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *ret; 1584s # ret = NULL; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # g_value_init (&value, pspec->value_type); 1584s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1584s # g_value_unset (&value); 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _org_project_callable_iface_skeleton_handle_set_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GVariant *variant, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # gboolean ret; 1584s # ret = FALSE; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # if (info->use_gvariant) 1584s # g_value_set_variant (&value, variant); 1584s # else 1584s # g_dbus_gvariant_to_gvalue (variant, &value); 1584s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # g_value_unset (&value); 1584s # ret = TRUE; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1584s # { 1584s # _org_project_callable_iface_skeleton_handle_method_call, 1584s # _org_project_callable_iface_skeleton_handle_get_property, 1584s # _org_project_callable_iface_skeleton_handle_set_property, 1584s # {NULL} 1584s # }; 1584s # 1584s # static GDBusInterfaceInfo * 1584s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return org_project_callable_iface_interface_info (); 1584s # } 1584s # 1584s # static GDBusInterfaceVTable * 1584s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1584s # } 1584s # 1584s # static GVariant * 1584s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1584s # { 1584s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1584s # 1584s # GVariantBuilder builder; 1584s # guint n; 1584s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1584s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1584s # goto out; 1584s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1584s # { 1584s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1584s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1584s # { 1584s # GVariant *value; 1584s # 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); 1584s # if (value != NULL) 1584s # { 1584s # g_variant_take_ref (value); 1584s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1584s # g_variant_unref (value); 1584s # } 1584s # } 1584s # } 1584s # out: 1584s # return g_variant_builder_end (&builder); 1584s # } 1584s # 1584s # static void 1584s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # org_project_callable_iface_skeleton_finalize (GObject *object) 1584s # { 1584s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1584s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1584s # if (skeleton->priv->changed_properties_idle_source != NULL) 1584s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1584s # g_main_context_unref (skeleton->priv->context); 1584s # g_mutex_clear (&skeleton->priv->lock); 1584s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1584s # #else 1584s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1584s # #endif 1584s # 1584s # g_mutex_init (&skeleton->priv->lock); 1584s # skeleton->priv->context = g_main_context_ref_thread_default (); 1584s # } 1584s # 1584s # static void 1584s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusInterfaceSkeletonClass *skeleton_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1584s # 1584s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1584s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1584s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1584s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1584s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # /** 1584s # * org_project_callable_iface_skeleton_new: 1584s # * 1584s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1584s # */ 1584s # OrgProjectCallableIface * 1584s # org_project_callable_iface_skeleton_new (void) 1584s # { 1584s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ 1584s # * Code for interface org.project.OtherCallableIface 1584s # * ------------------------------------------------------------------------ 1584s # */ 1584s # 1584s # /** 1584s # * SECTION:OrgProjectOtherCallableIface 1584s # * @title: OrgProjectOtherCallableIface 1584s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1584s # * 1584s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1584s # */ 1584s # 1584s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1584s # 1584s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "SimpleMethod", 1584s # NULL, 1584s # NULL, 1584s # NULL 1584s # }, 1584s # "handle-simple-method", 1584s # FALSE 1584s # }; 1584s # 1584s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1584s # { 1584s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1584s # NULL 1584s # }; 1584s # 1584s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1584s # { 1584s # { 1584s # -1, 1584s # (gchar *) "org.project.OtherCallableIface", 1584s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1584s # NULL, 1584s # NULL, 1584s # NULL 1584s # }, 1584s # "org-project-other-callable-iface", 1584s # }; 1584s # 1584s # 1584s # /** 1584s # * org_project_other_callable_iface_interface_info: 1584s # * 1584s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1584s # * 1584s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1584s # */ 1584s # GDBusInterfaceInfo * 1584s # org_project_other_callable_iface_interface_info (void) 1584s # { 1584s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_callable_iface_override_properties: 1584s # * @klass: The class structure for a #GObject derived class. 1584s # * @property_id_begin: The property id to assign to the first overridden property. 1584s # * 1584s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1584s # * The properties are overridden in the order they are defined. 1584s # * 1584s # * Returns: The last property id. 1584s # */ 1584s # guint 1584s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1584s # { 1584s # return property_id_begin - 1; 1584s # } 1584s # 1584s # 1584s # inline static void 1584s # org_project_other_callable_iface_method_marshal_simple_method ( 1584s # GClosure *closure, 1584s # GValue *return_value, 1584s # unsigned int n_param_values, 1584s # const GValue *param_values, 1584s # void *invocation_hint, 1584s # void *marshal_data) 1584s # { 1584s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1584s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1584s # } 1584s # 1584s # 1584s # /** 1584s # * OrgProjectOtherCallableIface: 1584s # * 1584s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectOtherCallableIfaceIface: 1584s # * @parent_iface: The parent interface. 1584s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1584s # * 1584s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1584s # */ 1584s # 1584s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1584s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1584s # 1584s # static void 1584s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1584s # { 1584s # /* GObject signals for incoming D-Bus method calls: */ 1584s # /** 1584s # * OrgProjectOtherCallableIface::handle-simple-method: 1584s # * @object: A #OrgProjectOtherCallableIface. 1584s # * @invocation: A #GDBusMethodInvocation. 1584s # * 1584s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1584s # * 1584s # * 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. 1584s # * 1584s # * 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. 1584s # */ 1584s # g_signal_new ("handle-simple-method", 1584s # G_TYPE_FROM_INTERFACE (iface), 1584s # G_SIGNAL_RUN_LAST, 1584s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1584s # g_signal_accumulator_true_handled, 1584s # NULL, 1584s # org_project_other_callable_iface_method_marshal_simple_method, 1584s # G_TYPE_BOOLEAN, 1584s # 1, 1584s # G_TYPE_DBUS_METHOD_INVOCATION); 1584s # 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_callable_iface_call_simple_method: 1584s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1584s # * 1584s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1584s # */ 1584s # void 1584s # org_project_other_callable_iface_call_simple_method ( 1584s # OrgProjectOtherCallableIface *proxy, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1584s # "SimpleMethod", 1584s # g_variant_new ("()"), 1584s # G_DBUS_CALL_FLAGS_NONE, 1584s # -1, 1584s # cancellable, 1584s # callback, 1584s # user_data); 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_callable_iface_call_simple_method_finish: 1584s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1584s # * @error: Return location for error or %NULL. 1584s # * 1584s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1584s # * 1584s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1584s # */ 1584s # gboolean 1584s # org_project_other_callable_iface_call_simple_method_finish ( 1584s # OrgProjectOtherCallableIface *proxy, 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GVariant *_ret; 1584s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1584s # if (_ret == NULL) 1584s # goto _out; 1584s # g_variant_get (_ret, 1584s # "()"); 1584s # g_variant_unref (_ret); 1584s # _out: 1584s # return _ret != NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_callable_iface_call_simple_method_sync: 1584s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL. 1584s # * 1584s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1584s # * 1584s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1584s # * 1584s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1584s # */ 1584s # gboolean 1584s # org_project_other_callable_iface_call_simple_method_sync ( 1584s # OrgProjectOtherCallableIface *proxy, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GVariant *_ret; 1584s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1584s # "SimpleMethod", 1584s # g_variant_new ("()"), 1584s # G_DBUS_CALL_FLAGS_NONE, 1584s # -1, 1584s # cancellable, 1584s # error); 1584s # if (_ret == NULL) 1584s # goto _out; 1584s # g_variant_get (_ret, 1584s # "()"); 1584s # g_variant_unref (_ret); 1584s # _out: 1584s # return _ret != NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_callable_iface_complete_simple_method: 1584s # * @object: A #OrgProjectOtherCallableIface. 1584s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1584s # * 1584s # * 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. 1584s # * 1584s # * This method will free @invocation, you cannot use it afterwards. 1584s # */ 1584s # void 1584s # org_project_other_callable_iface_complete_simple_method ( 1584s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1584s # GDBusMethodInvocation *invocation) 1584s # { 1584s # g_dbus_method_invocation_return_value (invocation, 1584s # g_variant_new ("()")); 1584s # } 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * OrgProjectOtherCallableIfaceProxy: 1584s # * 1584s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectOtherCallableIfaceProxyClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1584s # */ 1584s # 1584s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1584s # { 1584s # GData *qdata; 1584s # }; 1584s # 1584s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1584s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1584s # { 1584s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1584s # g_datalist_clear (&proxy->priv->qdata); 1584s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1584s # guint prop_id G_GNUC_UNUSED, 1584s # GValue *value G_GNUC_UNUSED, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1584s # guint prop_id G_GNUC_UNUSED, 1584s # const GValue *value G_GNUC_UNUSED, 1584s # GParamSpec *pspec G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void 1584s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1584s # const gchar *sender_name G_GNUC_UNUSED, 1584s # const gchar *signal_name, 1584s # GVariant *parameters) 1584s # { 1584s # _ExtendedGDBusSignalInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # gsize n; 1584s # guint signal_id; 1584s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1584s # if (info == NULL) 1584s # return; 1584s # num_params = g_variant_n_children (parameters); 1584s # paramv = g_new0 (GValue, num_params + 1); 1584s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1584s # g_value_set_object (¶mv[0], proxy); 1584s # g_variant_iter_init (&iter, parameters); 1584s # n = 1; 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1584s # g_signal_emitv (paramv, signal_id, 0, NULL); 1584s # for (n = 0; n < num_params + 1; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1584s # GVariant *changed_properties, 1584s # const gchar *const *invalidated_properties) 1584s # { 1584s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1584s # guint n; 1584s # const gchar *key; 1584s # GVariantIter *iter; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # g_variant_get (changed_properties, "a{sv}", &iter); 1584s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1584s # g_datalist_remove_data (&proxy->priv->qdata, key); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # g_variant_iter_free (iter); 1584s # for (n = 0; invalidated_properties[n] != NULL; n++) 1584s # { 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1584s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1584s # if (info != NULL) 1584s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1584s # } 1584s # } 1584s # 1584s # static void 1584s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1584s # #else 1584s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1584s # #endif 1584s # 1584s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusProxyClass *proxy_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1584s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1584s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1584s # 1584s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1584s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1584s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_callable_iface_proxy_new: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1584s # * 1584s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # org_project_other_callable_iface_proxy_new ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_callable_iface_proxy_new_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectOtherCallableIface * 1584s # org_project_other_callable_iface_proxy_new_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_callable_iface_proxy_new_sync: 1584s # * @connection: A #GDBusConnection. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectOtherCallableIface * 1584s # org_project_other_callable_iface_proxy_new_sync ( 1584s # GDBusConnection *connection, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /** 1584s # * org_project_other_callable_iface_proxy_new_for_bus: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1584s # * @user_data: User data to pass to @callback. 1584s # * 1584s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1584s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1584s # * 1584s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1584s # */ 1584s # void 1584s # org_project_other_callable_iface_proxy_new_for_bus ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GAsyncReadyCallback callback, 1584s # gpointer user_data) 1584s # { 1584s # 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); 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1584s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectOtherCallableIface * 1584s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1584s # GAsyncResult *res, 1584s # GError **error) 1584s # { 1584s # GObject *ret; 1584s # GObject *source_object; 1584s # source_object = g_async_result_get_source_object (res); 1584s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1584s # g_object_unref (source_object); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1584s # * @bus_type: A #GBusType. 1584s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1584s # * @name: A bus name (well-known or unique). 1584s # * @object_path: An object path. 1584s # * @cancellable: (nullable): A #GCancellable or %NULL. 1584s # * @error: Return location for error or %NULL 1584s # * 1584s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1584s # * 1584s # * The calling thread is blocked until a reply is received. 1584s # * 1584s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1584s # */ 1584s # OrgProjectOtherCallableIface * 1584s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1584s # GBusType bus_type, 1584s # GDBusProxyFlags flags, 1584s # const gchar *name, 1584s # const gchar *object_path, 1584s # GCancellable *cancellable, 1584s # GError **error) 1584s # { 1584s # GInitable *ret; 1584s # 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); 1584s # if (ret != NULL) 1584s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1584s # else 1584s # return NULL; 1584s # } 1584s # 1584s # 1584s # /* ------------------------------------------------------------------------ */ 1584s # 1584s # /** 1584s # * OrgProjectOtherCallableIfaceSkeleton: 1584s # * 1584s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1584s # */ 1584s # 1584s # /** 1584s # * OrgProjectOtherCallableIfaceSkeletonClass: 1584s # * @parent_class: The parent class. 1584s # * 1584s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1584s # */ 1584s # 1584s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1584s # { 1584s # GValue *properties; 1584s # GList *changed_properties; 1584s # GSource *changed_properties_idle_source; 1584s # GMainContext *context; 1584s # GMutex lock; 1584s # }; 1584s # 1584s # static void 1584s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name, 1584s # const gchar *method_name, 1584s # GVariant *parameters, 1584s # GDBusMethodInvocation *invocation, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1584s # _ExtendedGDBusMethodInfo *info; 1584s # GVariantIter iter; 1584s # GVariant *child; 1584s # GValue *paramv; 1584s # gsize num_params; 1584s # guint num_extra; 1584s # gsize n; 1584s # guint signal_id; 1584s # GValue return_value = G_VALUE_INIT; 1584s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1584s # g_assert (info != NULL); 1584s # num_params = g_variant_n_children (parameters); 1584s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1584s # n = 0; 1584s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1584s # g_value_set_object (¶mv[n++], skeleton); 1584s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1584s # g_value_set_object (¶mv[n++], invocation); 1584s # if (info->pass_fdlist) 1584s # { 1584s # #ifdef G_OS_UNIX 1584s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1584s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1584s # #else 1584s # g_assert_not_reached (); 1584s # #endif 1584s # } 1584s # g_variant_iter_init (&iter, parameters); 1584s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1584s # { 1584s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1584s # if (arg_info->use_gvariant) 1584s # { 1584s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1584s # g_value_set_variant (¶mv[n], child); 1584s # n++; 1584s # } 1584s # else 1584s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1584s # g_variant_unref (child); 1584s # } 1584s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1584s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1584s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1584s # if (!g_value_get_boolean (&return_value)) 1584s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1584s # g_value_unset (&return_value); 1584s # for (n = 0; n < num_params + num_extra; n++) 1584s # g_value_unset (¶mv[n]); 1584s # g_free (paramv); 1584s # } 1584s # 1584s # static GVariant * 1584s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # GVariant *ret; 1584s # ret = NULL; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # g_value_init (&value, pspec->value_type); 1584s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1584s # g_value_unset (&value); 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static gboolean 1584s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1584s # GDBusConnection *connection G_GNUC_UNUSED, 1584s # const gchar *sender G_GNUC_UNUSED, 1584s # const gchar *object_path G_GNUC_UNUSED, 1584s # const gchar *interface_name G_GNUC_UNUSED, 1584s # const gchar *property_name, 1584s # GVariant *variant, 1584s # GError **error, 1584s # gpointer user_data) 1584s # { 1584s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1584s # GValue value = G_VALUE_INIT; 1584s # GParamSpec *pspec; 1584s # _ExtendedGDBusPropertyInfo *info; 1584s # gboolean ret; 1584s # ret = FALSE; 1584s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1584s # g_assert (info != NULL); 1584s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1584s # if (pspec == NULL) 1584s # { 1584s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1584s # } 1584s # else 1584s # { 1584s # if (info->use_gvariant) 1584s # g_value_set_variant (&value, variant); 1584s # else 1584s # g_dbus_gvariant_to_gvalue (variant, &value); 1584s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1584s # g_value_unset (&value); 1584s # ret = TRUE; 1584s # } 1584s # return ret; 1584s # } 1584s # 1584s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1584s # { 1584s # _org_project_other_callable_iface_skeleton_handle_method_call, 1584s # _org_project_other_callable_iface_skeleton_handle_get_property, 1584s # _org_project_other_callable_iface_skeleton_handle_set_property, 1584s # {NULL} 1584s # }; 1584s # 1584s # static GDBusInterfaceInfo * 1584s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return org_project_other_callable_iface_interface_info (); 1584s # } 1584s # 1584s # static GDBusInterfaceVTable * 1584s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1584s # { 1584s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1584s # } 1584s # 1584s # static GVariant * 1584s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1584s # { 1584s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1584s # 1584s # GVariantBuilder builder; 1584s # guint n; 1584s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1584s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1584s # goto out; 1584s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1584s # { 1584s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1584s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1584s # { 1584s # GVariant *value; 1584s # 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); 1584s # if (value != NULL) 1584s # { 1584s # g_variant_take_ref (value); 1584s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1584s # g_variant_unref (value); 1584s # } 1584s # } 1584s # } 1584s # out: 1584s # return g_variant_builder_end (&builder); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1584s # 1584s # #else 1584s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1584s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1584s # 1584s # #endif 1584s # static void 1584s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1584s # { 1584s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1584s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1584s # if (skeleton->priv->changed_properties_idle_source != NULL) 1584s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1584s # g_main_context_unref (skeleton->priv->context); 1584s # g_mutex_clear (&skeleton->priv->lock); 1584s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1584s # { 1584s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1584s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1584s # #else 1584s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1584s # #endif 1584s # 1584s # g_mutex_init (&skeleton->priv->lock); 1584s # skeleton->priv->context = g_main_context_ref_thread_default (); 1584s # } 1584s # 1584s # static void 1584s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1584s # { 1584s # GObjectClass *gobject_class; 1584s # GDBusInterfaceSkeletonClass *skeleton_class; 1584s # 1584s # gobject_class = G_OBJECT_CLASS (klass); 1584s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1584s # 1584s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1584s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1584s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1584s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1584s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1584s # 1584s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1584s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1584s # #endif 1584s # } 1584s # 1584s # static void 1584s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1584s # { 1584s # } 1584s # 1584s # /** 1584s # * org_project_other_callable_iface_skeleton_new: 1584s # * 1584s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1584s # * 1584s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1584s # */ 1584s # OrgProjectOtherCallableIface * 1584s # org_project_other_callable_iface_skeleton_new (void) 1584s # { 1584s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1584s # } 1585s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1585s # tmpdir: /tmp/tmpqis8wy1w 1585s # codegen: /usr/bin/gdbus-codegen 1585s # /tmp/tmpqis8wy1w/tmpsw4u77s_.xml: 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmpsw4u77s_.xml', '--output', '-', '--body'] 1585s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1585s # Output: /* 1585s # * This file is generated by gdbus-codegen, do not modify it. 1585s # * 1585s # * The license of this code is the same as for the D-Bus interface description 1585s # * it was derived from. Note that it links to GLib, so must comply with the 1585s # * LGPL linking clauses. 1585s # */ 1585s # 1585s # #ifdef HAVE_CONFIG_H 1585s # # include "config.h" 1585s # #endif 1585s # 1585s # #include 1585s # #ifdef G_OS_UNIX 1585s # # include 1585s # #endif 1585s # 1585s # #ifdef G_ENABLE_DEBUG 1585s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1585s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1585s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1585s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1585s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1585s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1585s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1585s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1585s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1585s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1585s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1585s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1585s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1585s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1585s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1585s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1585s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1585s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1585s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1585s # #else /* !G_ENABLE_DEBUG */ 1585s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1585s # * Do not access GValues directly in your code. Instead, use the 1585s # * g_value_get_*() functions 1585s # */ 1585s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1585s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1585s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1585s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1585s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1585s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1585s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1585s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1585s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1585s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1585s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1585s # #endif /* !G_ENABLE_DEBUG */ 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusArgInfo parent_struct; 1585s # gboolean use_gvariant; 1585s # } _ExtendedGDBusArgInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusMethodInfo parent_struct; 1585s # const gchar *signal_name; 1585s # gboolean pass_fdlist; 1585s # } _ExtendedGDBusMethodInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusSignalInfo parent_struct; 1585s # const gchar *signal_name; 1585s # } _ExtendedGDBusSignalInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusPropertyInfo parent_struct; 1585s # const gchar *hyphen_name; 1585s # guint use_gvariant : 1; 1585s # guint emits_changed_signal : 1; 1585s # } _ExtendedGDBusPropertyInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusInterfaceInfo parent_struct; 1585s # const gchar *hyphen_name; 1585s # } _ExtendedGDBusInterfaceInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # const _ExtendedGDBusPropertyInfo *info; 1585s # guint prop_id; 1585s # GValue orig_value; /* the value before the change */ 1585s # } ChangedProperty; 1585s # 1585s # static void 1585s # _changed_property_free (ChangedProperty *data) 1585s # { 1585s # g_value_unset (&data->orig_value); 1585s # g_free (data); 1585s # } 1585s # 1585s # static gboolean 1585s # _g_strv_equal0 (gchar **a, gchar **b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # guint n; 1585s # if (a == NULL && b == NULL) 1585s # { 1585s # ret = TRUE; 1585s # goto out; 1585s # } 1585s # if (a == NULL || b == NULL) 1585s # goto out; 1585s # if (g_strv_length (a) != g_strv_length (b)) 1585s # goto out; 1585s # for (n = 0; a[n] != NULL; n++) 1585s # if (g_strcmp0 (a[n], b[n]) != 0) 1585s # goto out; 1585s # ret = TRUE; 1585s # out: 1585s # return ret; 1585s # } 1585s # 1585s # static gboolean 1585s # _g_variant_equal0 (GVariant *a, GVariant *b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # if (a == NULL && b == NULL) 1585s # { 1585s # ret = TRUE; 1585s # goto out; 1585s # } 1585s # if (a == NULL || b == NULL) 1585s # goto out; 1585s # ret = g_variant_equal (a, b); 1585s # out: 1585s # return ret; 1585s # } 1585s # 1585s # G_GNUC_UNUSED static gboolean 1585s # _g_value_equal (const GValue *a, const GValue *b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1585s # switch (G_VALUE_TYPE (a)) 1585s # { 1585s # case G_TYPE_BOOLEAN: 1585s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1585s # break; 1585s # case G_TYPE_UCHAR: 1585s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1585s # break; 1585s # case G_TYPE_INT: 1585s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1585s # break; 1585s # case G_TYPE_UINT: 1585s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1585s # break; 1585s # case G_TYPE_INT64: 1585s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1585s # break; 1585s # case G_TYPE_UINT64: 1585s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1585s # break; 1585s # case G_TYPE_DOUBLE: 1585s # { 1585s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1585s # gdouble da = g_value_get_double (a); 1585s # gdouble db = g_value_get_double (b); 1585s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1585s # } 1585s # break; 1585s # case G_TYPE_STRING: 1585s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1585s # break; 1585s # case G_TYPE_VARIANT: 1585s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1585s # break; 1585s # default: 1585s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1585s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1585s # else 1585s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1585s # break; 1585s # } 1585s # return ret; 1585s # } 1585s # 1585s # static void 1585s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1585s # GClosure *closure, 1585s # GValue *return_value, 1585s # unsigned int n_param_values, 1585s # const GValue *param_values, 1585s # void *invocation_hint G_GNUC_UNUSED, 1585s # void *marshal_data) 1585s # { 1585s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1585s # (void *data1, 1585s # GDBusMethodInvocation *arg_method_invocation, 1585s # gboolean arg_arg_b, 1585s # void *data2); 1585s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1585s # GCClosure *cc = (GCClosure*) closure; 1585s # void *data1, *data2; 1585s # gboolean v_return; 1585s # 1585s # g_return_if_fail (return_value != NULL); 1585s # g_return_if_fail (n_param_values == 3); 1585s # 1585s # if (G_CCLOSURE_SWAP_DATA (closure)) 1585s # { 1585s # data1 = closure->data; 1585s # data2 = g_value_peek_pointer (param_values + 0); 1585s # } 1585s # else 1585s # { 1585s # data1 = g_value_peek_pointer (param_values + 0); 1585s # data2 = closure->data; 1585s # } 1585s # 1585s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1585s # (marshal_data ? marshal_data : cc->callback); 1585s # 1585s # v_return = 1585s # callback (data1, 1585s # g_marshal_value_peek_object (param_values + 1), 1585s # g_marshal_value_peek_boolean (param_values + 2), 1585s # data2); 1585s # 1585s # g_value_set_boolean (return_value, v_return); 1585s # } 1585s # 1585s # /* ------------------------------------------------------------------------ 1585s # * Code for interface org.project.UsefulInterface 1585s # * ------------------------------------------------------------------------ 1585s # */ 1585s # 1585s # /** 1585s # * SECTION:OrgProjectUsefulInterface 1585s # * @title: OrgProjectUsefulInterface 1585s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1585s # * 1585s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1585s # */ 1585s # 1585s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1585s # 1585s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "arg_b", 1585s # (gchar *) "b", 1585s # NULL 1585s # }, 1585s # FALSE 1585s # }; 1585s # 1585s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1585s # { 1585s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1585s # NULL 1585s # }; 1585s # 1585s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "SingleArgMethodB", 1585s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1585s # NULL, 1585s # NULL 1585s # }, 1585s # "handle-single-arg-method-b", 1585s # FALSE 1585s # }; 1585s # 1585s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1585s # { 1585s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1585s # NULL 1585s # }; 1585s # 1585s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "org.project.UsefulInterface", 1585s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1585s # NULL, 1585s # NULL, 1585s # NULL 1585s # }, 1585s # "org-project-useful-interface", 1585s # }; 1585s # 1585s # 1585s # /** 1585s # * org_project_useful_interface_interface_info: 1585s # * 1585s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1585s # * 1585s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1585s # */ 1585s # GDBusInterfaceInfo * 1585s # org_project_useful_interface_interface_info (void) 1585s # { 1585s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_override_properties: 1585s # * @klass: The class structure for a #GObject derived class. 1585s # * @property_id_begin: The property id to assign to the first overridden property. 1585s # * 1585s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1585s # * The properties are overridden in the order they are defined. 1585s # * 1585s # * Returns: The last property id. 1585s # */ 1585s # guint 1585s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1585s # { 1585s # return property_id_begin - 1; 1585s # } 1585s # 1585s # 1585s # inline static void 1585s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1585s # GClosure *closure, 1585s # GValue *return_value, 1585s # unsigned int n_param_values, 1585s # const GValue *param_values, 1585s # void *invocation_hint, 1585s # void *marshal_data) 1585s # { 1585s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1585s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1585s # } 1585s # 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterface: 1585s # * 1585s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1585s # */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceIface: 1585s # * @parent_iface: The parent interface. 1585s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1585s # * 1585s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1585s # */ 1585s # 1585s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1585s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1585s # 1585s # static void 1585s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1585s # { 1585s # /* GObject signals for incoming D-Bus method calls: */ 1585s # /** 1585s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1585s # * @object: A #OrgProjectUsefulInterface. 1585s # * @invocation: A #GDBusMethodInvocation. 1585s # * @arg_arg_b: Argument passed by remote caller. 1585s # * 1585s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1585s # * 1585s # * 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. 1585s # * 1585s # * 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. 1585s # */ 1585s # g_signal_new ("handle-single-arg-method-b", 1585s # G_TYPE_FROM_INTERFACE (iface), 1585s # G_SIGNAL_RUN_LAST, 1585s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1585s # g_signal_accumulator_true_handled, 1585s # NULL, 1585s # org_project_useful_interface_method_marshal_single_arg_method_b, 1585s # G_TYPE_BOOLEAN, 1585s # 2, 1585s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1585s # 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_call_single_arg_method_b: 1585s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1585s # * @arg_arg_b: Argument to pass with the method invocation. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1585s # * @user_data: User data to pass to @callback. 1585s # * 1585s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1585s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1585s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1585s # * 1585s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1585s # */ 1585s # void 1585s # org_project_useful_interface_call_single_arg_method_b ( 1585s # OrgProjectUsefulInterface *proxy, 1585s # gboolean arg_arg_b, 1585s # GCancellable *cancellable, 1585s # GAsyncReadyCallback callback, 1585s # gpointer user_data) 1585s # { 1585s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1585s # "SingleArgMethodB", 1585s # g_variant_new ("(b)", 1585s # arg_arg_b), 1585s # G_DBUS_CALL_FLAGS_NONE, 1585s # -1, 1585s # cancellable, 1585s # callback, 1585s # user_data); 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_call_single_arg_method_b_finish: 1585s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1585s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1585s # * @error: Return location for error or %NULL. 1585s # * 1585s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1585s # * 1585s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1585s # */ 1585s # gboolean 1585s # org_project_useful_interface_call_single_arg_method_b_finish ( 1585s # OrgProjectUsefulInterface *proxy, 1585s # GAsyncResult *res, 1585s # GError **error) 1585s # { 1585s # GVariant *_ret; 1585s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1585s # if (_ret == NULL) 1585s # goto _out; 1585s # g_variant_get (_ret, 1585s # "()"); 1585s # g_variant_unref (_ret); 1585s # _out: 1585s # return _ret != NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_call_single_arg_method_b_sync: 1585s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1585s # * @arg_arg_b: Argument to pass with the method invocation. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @error: Return location for error or %NULL. 1585s # * 1585s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1585s # * 1585s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1585s # * 1585s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1585s # */ 1585s # gboolean 1585s # org_project_useful_interface_call_single_arg_method_b_sync ( 1585s # OrgProjectUsefulInterface *proxy, 1585s # gboolean arg_arg_b, 1585s # GCancellable *cancellable, 1585s # GError **error) 1585s # { 1585s # GVariant *_ret; 1585s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1585s # "SingleArgMethodB", 1585s # g_variant_new ("(b)", 1585s # arg_arg_b), 1585s # G_DBUS_CALL_FLAGS_NONE, 1585s # -1, 1585s # cancellable, 1585s # error); 1585s # if (_ret == NULL) 1585s # goto _out; 1585s # g_variant_get (_ret, 1585s # "()"); 1585s # g_variant_unref (_ret); 1585s # _out: 1585s # return _ret != NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_complete_single_arg_method_b: 1585s # * @object: A #OrgProjectUsefulInterface. 1585s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1585s # * 1585s # * 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. 1585s # * 1585s # * This method will free @invocation, you cannot use it afterwards. 1585s # */ 1585s # void 1585s # org_project_useful_interface_complete_single_arg_method_b ( 1585s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1585s # GDBusMethodInvocation *invocation) 1585s # { 1585s # g_dbus_method_invocation_return_value (invocation, 1585s # g_variant_new ("()")); 1585s # } 1585s # 1585s # /* ------------------------------------------------------------------------ */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceProxy: 1585s # * 1585s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1585s # */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceProxyClass: 1585s # * @parent_class: The parent class. 1585s # * 1585s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1585s # */ 1585s # 1585s # struct _OrgProjectUsefulInterfaceProxyPrivate 1585s # { 1585s # GData *qdata; 1585s # }; 1585s # 1585s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1585s # 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1585s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1585s # 1585s # #else 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1585s # 1585s # #endif 1585s # static void 1585s # org_project_useful_interface_proxy_finalize (GObject *object) 1585s # { 1585s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1585s # g_datalist_clear (&proxy->priv->qdata); 1585s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1585s # guint prop_id G_GNUC_UNUSED, 1585s # GValue *value G_GNUC_UNUSED, 1585s # GParamSpec *pspec G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1585s # guint prop_id G_GNUC_UNUSED, 1585s # const GValue *value G_GNUC_UNUSED, 1585s # GParamSpec *pspec G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1585s # const gchar *sender_name G_GNUC_UNUSED, 1585s # const gchar *signal_name, 1585s # GVariant *parameters) 1585s # { 1585s # _ExtendedGDBusSignalInfo *info; 1585s # GVariantIter iter; 1585s # GVariant *child; 1585s # GValue *paramv; 1585s # gsize num_params; 1585s # gsize n; 1585s # guint signal_id; 1585s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1585s # if (info == NULL) 1585s # return; 1585s # num_params = g_variant_n_children (parameters); 1585s # paramv = g_new0 (GValue, num_params + 1); 1585s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_value_set_object (¶mv[0], proxy); 1585s # g_variant_iter_init (&iter, parameters); 1585s # n = 1; 1585s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1585s # { 1585s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1585s # if (arg_info->use_gvariant) 1585s # { 1585s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1585s # g_value_set_variant (¶mv[n], child); 1585s # n++; 1585s # } 1585s # else 1585s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1585s # g_variant_unref (child); 1585s # } 1585s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_signal_emitv (paramv, signal_id, 0, NULL); 1585s # for (n = 0; n < num_params + 1; n++) 1585s # g_value_unset (¶mv[n]); 1585s # g_free (paramv); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1585s # GVariant *changed_properties, 1585s # const gchar *const *invalidated_properties) 1585s # { 1585s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1585s # guint n; 1585s # const gchar *key; 1585s # GVariantIter *iter; 1585s # _ExtendedGDBusPropertyInfo *info; 1585s # g_variant_get (changed_properties, "a{sv}", &iter); 1585s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1585s # { 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1585s # g_datalist_remove_data (&proxy->priv->qdata, key); 1585s # if (info != NULL) 1585s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1585s # } 1585s # g_variant_iter_free (iter); 1585s # for (n = 0; invalidated_properties[n] != NULL; n++) 1585s # { 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1585s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1585s # if (info != NULL) 1585s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1585s # } 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1585s # { 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1585s # #else 1585s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1585s # #endif 1585s # 1585s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1585s # { 1585s # GObjectClass *gobject_class; 1585s # GDBusProxyClass *proxy_class; 1585s # 1585s # gobject_class = G_OBJECT_CLASS (klass); 1585s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1585s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1585s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1585s # 1585s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1585s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1585s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1585s # 1585s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1585s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1585s # #endif 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new: 1585s # * @connection: A #GDBusConnection. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1585s # * @user_data: User data to pass to @callback. 1585s # * 1585s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1585s # * 1585s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1585s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1585s # * 1585s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1585s # */ 1585s # void 1585s # org_project_useful_interface_proxy_new ( 1585s # GDBusConnection *connection, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GAsyncReadyCallback callback, 1585s # gpointer user_data) 1585s # { 1585s # g_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); 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_finish: 1585s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_finish ( 1585s # GAsyncResult *res, 1585s # GError **error) 1585s # { 1585s # GObject *ret; 1585s # GObject *source_object; 1585s # source_object = g_async_result_get_source_object (res); 1585s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1585s # g_object_unref (source_object); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_sync: 1585s # * @connection: A #GDBusConnection. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1585s # * 1585s # * The calling thread is blocked until a reply is received. 1585s # * 1585s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_sync ( 1585s # GDBusConnection *connection, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GError **error) 1585s # { 1585s # GInitable *ret; 1585s # 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); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_for_bus: 1585s # * @bus_type: A #GBusType. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: A bus name (well-known or unique). 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1585s # * @user_data: User data to pass to @callback. 1585s # * 1585s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1585s # * 1585s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1585s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1585s # * 1585s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1585s # */ 1585s # void 1585s # org_project_useful_interface_proxy_new_for_bus ( 1585s # GBusType bus_type, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GAsyncReadyCallback callback, 1585s # gpointer user_data) 1585s # { 1585s # g_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); 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_for_bus_finish: 1585s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_for_bus_finish ( 1585s # GAsyncResult *res, 1585s # GError **error) 1585s # { 1585s # GObject *ret; 1585s # GObject *source_object; 1585s # source_object = g_async_result_get_source_object (res); 1585s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1585s # g_object_unref (source_object); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_for_bus_sync: 1585s # * @bus_type: A #GBusType. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: A bus name (well-known or unique). 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1585s # * 1585s # * The calling thread is blocked until a reply is received. 1585s # * 1585s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_for_bus_sync ( 1585s # GBusType bus_type, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GError **error) 1585s # { 1585s # GInitable *ret; 1585s # 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); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # 1585s # /* ------------------------------------------------------------------------ */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceSkeleton: 1585s # * 1585s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1585s # */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceSkeletonClass: 1585s # * @parent_class: The parent class. 1585s # * 1585s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1585s # */ 1585s # 1585s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1585s # { 1585s # GValue *properties; 1585s # GList *changed_properties; 1585s # GSource *changed_properties_idle_source; 1585s # GMainContext *context; 1585s # GMutex lock; 1585s # }; 1585s # 1585s # static void 1585s # _org_project_useful_interface_skeleton_handle_method_call ( 1585s # GDBusConnection *connection G_GNUC_UNUSED, 1585s # const gchar *sender G_GNUC_UNUSED, 1585s # const gchar *object_path G_GNUC_UNUSED, 1585s # const gchar *interface_name, 1585s # const gchar *method_name, 1585s # GVariant *parameters, 1585s # GDBusMethodInvocation *invocation, 1585s # gpointer user_data) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1585s # _ExtendedGDBusMethodInfo *info; 1585s # GVariantIter iter; 1585s # GVariant *child; 1585s # GValue *paramv; 1585s # gsize num_params; 1585s # guint num_extra; 1585s # gsize n; 1585s # guint signal_id; 1585s # GValue return_value = G_VALUE_INIT; 1585s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1585s # g_assert (info != NULL); 1585s # num_params = g_variant_n_children (parameters); 1585s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1585s # n = 0; 1585s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_value_set_object (¶mv[n++], skeleton); 1585s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1585s # g_value_set_object (¶mv[n++], invocation); 1585s # if (info->pass_fdlist) 1585s # { 1585s # #ifdef G_OS_UNIX 1585s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1585s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1585s # #else 1585s # g_assert_not_reached (); 1585s # #endif 1585s # } 1585s # g_variant_iter_init (&iter, parameters); 1585s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1585s # { 1585s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1585s # if (arg_info->use_gvariant) 1585s # { 1585s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1585s # g_value_set_variant (¶mv[n], child); 1585s # n++; 1585s # } 1585s # else 1585s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1585s # g_variant_unref (child); 1585s # } 1585s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1585s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1585s # if (!g_value_get_boolean (&return_value)) 1585s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1585s # g_value_unset (&return_value); 1585s # for (n = 0; n < num_params + num_extra; n++) 1585s # g_value_unset (¶mv[n]); 1585s # g_free (paramv); 1585s # } 1585s # 1585s # static GVariant * 1585s # _org_project_useful_interface_skeleton_handle_get_property ( 1585s # GDBusConnection *connection G_GNUC_UNUSED, 1585s # const gchar *sender G_GNUC_UNUSED, 1585s # const gchar *object_path G_GNUC_UNUSED, 1585s # const gchar *interface_name G_GNUC_UNUSED, 1585s # const gchar *property_name, 1585s # GError **error, 1585s # gpointer user_data) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1585s # GValue value = G_VALUE_INIT; 1585s # GParamSpec *pspec; 1585s # _ExtendedGDBusPropertyInfo *info; 1585s # GVariant *ret; 1585s # ret = NULL; 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1585s # g_assert (info != NULL); 1585s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1585s # if (pspec == NULL) 1585s # { 1585s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1585s # } 1585s # else 1585s # { 1585s # g_value_init (&value, pspec->value_type); 1585s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1585s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1585s # g_value_unset (&value); 1585s # } 1585s # return ret; 1585s # } 1585s # 1585s # static gboolean 1585s # _org_project_useful_interface_skeleton_handle_set_property ( 1585s # GDBusConnection *connection G_GNUC_UNUSED, 1585s # const gchar *sender G_GNUC_UNUSED, 1585s # const gchar *object_path G_GNUC_UNUSED, 1585s # const gchar *interface_name G_GNUC_UNUSED, 1585s # const gchar *property_name, 1585s # GVariant *variant, 1585s # GError **error, 1585s # gpointer user_data) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1585s # GValue value = G_VALUE_INIT; 1585s # GParamSpec *pspec; 1585s # _ExtendedGDBusPropertyInfo *info; 1585s # gboolean ret; 1585s # ret = FALSE; 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1585s # g_assert (info != NULL); 1585s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1585s # if (pspec == NULL) 1585s # { 1585s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1585s # } 1585s # else 1585s # { 1585s # if (info->use_gvariant) 1585s # g_value_set_variant (&value, variant); 1585s # else 1585s # g_dbus_gvariant_to_gvalue (variant, &value); 1585s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1585s # g_value_unset (&value); 1585s # ret = TRUE; 1585s # } 1585s # return ret; 1585s # } 1585s # 1585s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1585s # { 1585s # _org_project_useful_interface_skeleton_handle_method_call, 1585s # _org_project_useful_interface_skeleton_handle_get_property, 1585s # _org_project_useful_interface_skeleton_handle_set_property, 1585s # {NULL} 1585s # }; 1585s # 1585s # static GDBusInterfaceInfo * 1585s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1585s # { 1585s # return org_project_useful_interface_interface_info (); 1585s # } 1585s # 1585s # static GDBusInterfaceVTable * 1585s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1585s # { 1585s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1585s # } 1585s # 1585s # static GVariant * 1585s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1585s # 1585s # GVariantBuilder builder; 1585s # guint n; 1585s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1585s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1585s # goto out; 1585s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1585s # { 1585s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1585s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1585s # { 1585s # GVariant *value; 1585s # 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); 1585s # if (value != NULL) 1585s # { 1585s # g_variant_take_ref (value); 1585s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1585s # g_variant_unref (value); 1585s # } 1585s # } 1585s # } 1585s # out: 1585s # return g_variant_builder_end (&builder); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1585s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1585s # 1585s # #else 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1585s # 1585s # #endif 1585s # static void 1585s # org_project_useful_interface_skeleton_finalize (GObject *object) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1585s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1585s # if (skeleton->priv->changed_properties_idle_source != NULL) 1585s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1585s # g_main_context_unref (skeleton->priv->context); 1585s # g_mutex_clear (&skeleton->priv->lock); 1585s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1585s # { 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1585s # #else 1585s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1585s # #endif 1585s # 1585s # g_mutex_init (&skeleton->priv->lock); 1585s # skeleton->priv->context = g_main_context_ref_thread_default (); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1585s # { 1585s # GObjectClass *gobject_class; 1585s # GDBusInterfaceSkeletonClass *skeleton_class; 1585s # 1585s # gobject_class = G_OBJECT_CLASS (klass); 1585s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1585s # 1585s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1585s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1585s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1585s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1585s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1585s # 1585s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1585s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1585s # #endif 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_skeleton_new: 1585s # * 1585s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_skeleton_new (void) 1585s # { 1585s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1585s # } 1585s # /tmp/tmpqis8wy1w/tmpd5vdba89.xml: 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmpd5vdba89.xml', '--output', '-', '--body'] 1585s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1585s # Output: /* 1585s # * This file is generated by gdbus-codegen, do not modify it. 1585s # * 1585s # * The license of this code is the same as for the D-Bus interface description 1585s # * it was derived from. Note that it links to GLib, so must comply with the 1585s # * LGPL linking clauses. 1585s # */ 1585s # 1585s # #ifdef HAVE_CONFIG_H 1585s # # include "config.h" 1585s # #endif 1585s # 1585s # #include 1585s # #ifdef G_OS_UNIX 1585s # # include 1585s # #endif 1585s # 1585s # #ifdef G_ENABLE_DEBUG 1585s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1585s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1585s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1585s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1585s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1585s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1585s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1585s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1585s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1585s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1585s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1585s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1585s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1585s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1585s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1585s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1585s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1585s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1585s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1585s # #else /* !G_ENABLE_DEBUG */ 1585s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1585s # * Do not access GValues directly in your code. Instead, use the 1585s # * g_value_get_*() functions 1585s # */ 1585s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1585s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1585s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1585s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1585s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1585s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1585s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1585s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1585s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1585s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1585s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1585s # #endif /* !G_ENABLE_DEBUG */ 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusArgInfo parent_struct; 1585s # gboolean use_gvariant; 1585s # } _ExtendedGDBusArgInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusMethodInfo parent_struct; 1585s # const gchar *signal_name; 1585s # gboolean pass_fdlist; 1585s # } _ExtendedGDBusMethodInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusSignalInfo parent_struct; 1585s # const gchar *signal_name; 1585s # } _ExtendedGDBusSignalInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusPropertyInfo parent_struct; 1585s # const gchar *hyphen_name; 1585s # guint use_gvariant : 1; 1585s # guint emits_changed_signal : 1; 1585s # } _ExtendedGDBusPropertyInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusInterfaceInfo parent_struct; 1585s # const gchar *hyphen_name; 1585s # } _ExtendedGDBusInterfaceInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # const _ExtendedGDBusPropertyInfo *info; 1585s # guint prop_id; 1585s # GValue orig_value; /* the value before the change */ 1585s # } ChangedProperty; 1585s # 1585s # static void 1585s # _changed_property_free (ChangedProperty *data) 1585s # { 1585s # g_value_unset (&data->orig_value); 1585s # g_free (data); 1585s # } 1585s # 1585s # static gboolean 1585s # _g_strv_equal0 (gchar **a, gchar **b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # guint n; 1585s # if (a == NULL && b == NULL) 1585s # { 1585s # ret = TRUE; 1585s # goto out; 1585s # } 1585s # if (a == NULL || b == NULL) 1585s # goto out; 1585s # if (g_strv_length (a) != g_strv_length (b)) 1585s # goto out; 1585s # for (n = 0; a[n] != NULL; n++) 1585s # if (g_strcmp0 (a[n], b[n]) != 0) 1585s # goto out; 1585s # ret = TRUE; 1585s # out: 1585s # return ret; 1585s # } 1585s # 1585s # static gboolean 1585s # _g_variant_equal0 (GVariant *a, GVariant *b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # if (a == NULL && b == NULL) 1585s # { 1585s # ret = TRUE; 1585s # goto out; 1585s # } 1585s # if (a == NULL || b == NULL) 1585s # goto out; 1585s # ret = g_variant_equal (a, b); 1585s # out: 1585s # return ret; 1585s # } 1585s # 1585s # G_GNUC_UNUSED static gboolean 1585s # _g_value_equal (const GValue *a, const GValue *b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1585s # switch (G_VALUE_TYPE (a)) 1585s # { 1585s # case G_TYPE_BOOLEAN: 1585s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1585s # break; 1585s # case G_TYPE_UCHAR: 1585s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1585s # break; 1585s # case G_TYPE_INT: 1585s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1585s # break; 1585s # case G_TYPE_UINT: 1585s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1585s # break; 1585s # case G_TYPE_INT64: 1585s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1585s # break; 1585s # case G_TYPE_UINT64: 1585s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1585s # break; 1585s # case G_TYPE_DOUBLE: 1585s # { 1585s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1585s # gdouble da = g_value_get_double (a); 1585s # gdouble db = g_value_get_double (b); 1585s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1585s # } 1585s # break; 1585s # case G_TYPE_STRING: 1585s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1585s # break; 1585s # case G_TYPE_VARIANT: 1585s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1585s # break; 1585s # default: 1585s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1585s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1585s # else 1585s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1585s # break; 1585s # } 1585s # return ret; 1585s # } 1585s # 1585s # static void 1585s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1585s # GClosure *closure, 1585s # GValue *return_value, 1585s # unsigned int n_param_values, 1585s # const GValue *param_values, 1585s # void *invocation_hint G_GNUC_UNUSED, 1585s # void *marshal_data) 1585s # { 1585s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1585s # (void *data1, 1585s # GDBusMethodInvocation *arg_method_invocation, 1585s # guchar arg_arg_y, 1585s # void *data2); 1585s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1585s # GCClosure *cc = (GCClosure*) closure; 1585s # void *data1, *data2; 1585s # gboolean v_return; 1585s # 1585s # g_return_if_fail (return_value != NULL); 1585s # g_return_if_fail (n_param_values == 3); 1585s # 1585s # if (G_CCLOSURE_SWAP_DATA (closure)) 1585s # { 1585s # data1 = closure->data; 1585s # data2 = g_value_peek_pointer (param_values + 0); 1585s # } 1585s # else 1585s # { 1585s # data1 = g_value_peek_pointer (param_values + 0); 1585s # data2 = closure->data; 1585s # } 1585s # 1585s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1585s # (marshal_data ? marshal_data : cc->callback); 1585s # 1585s # v_return = 1585s # callback (data1, 1585s # g_marshal_value_peek_object (param_values + 1), 1585s # g_marshal_value_peek_uchar (param_values + 2), 1585s # data2); 1585s # 1585s # g_value_set_boolean (return_value, v_return); 1585s # } 1585s # 1585s # /* ------------------------------------------------------------------------ 1585s # * Code for interface org.project.UsefulInterface 1585s # * ------------------------------------------------------------------------ 1585s # */ 1585s # 1585s # /** 1585s # * SECTION:OrgProjectUsefulInterface 1585s # * @title: OrgProjectUsefulInterface 1585s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1585s # * 1585s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1585s # */ 1585s # 1585s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1585s # 1585s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "arg_y", 1585s # (gchar *) "y", 1585s # NULL 1585s # }, 1585s # FALSE 1585s # }; 1585s # 1585s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1585s # { 1585s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1585s # NULL 1585s # }; 1585s # 1585s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "SingleArgMethodY", 1585s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1585s # NULL, 1585s # NULL 1585s # }, 1585s # "handle-single-arg-method-y", 1585s # FALSE 1585s # }; 1585s # 1585s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1585s # { 1585s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1585s # NULL 1585s # }; 1585s # 1585s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "org.project.UsefulInterface", 1585s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1585s # NULL, 1585s # NULL, 1585s # NULL 1585s # }, 1585s # "org-project-useful-interface", 1585s # }; 1585s # 1585s # 1585s # /** 1585s # * org_project_useful_interface_interface_info: 1585s # * 1585s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1585s # * 1585s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1585s # */ 1585s # GDBusInterfaceInfo * 1585s # org_project_useful_interface_interface_info (void) 1585s # { 1585s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_override_properties: 1585s # * @klass: The class structure for a #GObject derived class. 1585s # * @property_id_begin: The property id to assign to the first overridden property. 1585s # * 1585s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1585s # * The properties are overridden in the order they are defined. 1585s # * 1585s # * Returns: The last property id. 1585s # */ 1585s # guint 1585s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1585s # { 1585s # return property_id_begin - 1; 1585s # } 1585s # 1585s # 1585s # inline static void 1585s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1585s # GClosure *closure, 1585s # GValue *return_value, 1585s # unsigned int n_param_values, 1585s # const GValue *param_values, 1585s # void *invocation_hint, 1585s # void *marshal_data) 1585s # { 1585s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1585s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1585s # } 1585s # 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterface: 1585s # * 1585s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1585s # */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceIface: 1585s # * @parent_iface: The parent interface. 1585s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1585s # * 1585s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1585s # */ 1585s # 1585s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1585s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1585s # 1585s # static void 1585s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1585s # { 1585s # /* GObject signals for incoming D-Bus method calls: */ 1585s # /** 1585s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1585s # * @object: A #OrgProjectUsefulInterface. 1585s # * @invocation: A #GDBusMethodInvocation. 1585s # * @arg_arg_y: Argument passed by remote caller. 1585s # * 1585s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1585s # * 1585s # * 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. 1585s # * 1585s # * 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. 1585s # */ 1585s # g_signal_new ("handle-single-arg-method-y", 1585s # G_TYPE_FROM_INTERFACE (iface), 1585s # G_SIGNAL_RUN_LAST, 1585s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1585s # g_signal_accumulator_true_handled, 1585s # NULL, 1585s # org_project_useful_interface_method_marshal_single_arg_method_y, 1585s # G_TYPE_BOOLEAN, 1585s # 2, 1585s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1585s # 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_call_single_arg_method_y: 1585s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1585s # * @arg_arg_y: Argument to pass with the method invocation. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1585s # * @user_data: User data to pass to @callback. 1585s # * 1585s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1585s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1585s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1585s # * 1585s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1585s # */ 1585s # void 1585s # org_project_useful_interface_call_single_arg_method_y ( 1585s # OrgProjectUsefulInterface *proxy, 1585s # guchar arg_arg_y, 1585s # GCancellable *cancellable, 1585s # GAsyncReadyCallback callback, 1585s # gpointer user_data) 1585s # { 1585s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1585s # "SingleArgMethodY", 1585s # g_variant_new ("(y)", 1585s # arg_arg_y), 1585s # G_DBUS_CALL_FLAGS_NONE, 1585s # -1, 1585s # cancellable, 1585s # callback, 1585s # user_data); 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_call_single_arg_method_y_finish: 1585s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1585s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1585s # * @error: Return location for error or %NULL. 1585s # * 1585s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1585s # * 1585s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1585s # */ 1585s # gboolean 1585s # org_project_useful_interface_call_single_arg_method_y_finish ( 1585s # OrgProjectUsefulInterface *proxy, 1585s # GAsyncResult *res, 1585s # GError **error) 1585s # { 1585s # GVariant *_ret; 1585s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1585s # if (_ret == NULL) 1585s # goto _out; 1585s # g_variant_get (_ret, 1585s # "()"); 1585s # g_variant_unref (_ret); 1585s # _out: 1585s # return _ret != NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_call_single_arg_method_y_sync: 1585s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1585s # * @arg_arg_y: Argument to pass with the method invocation. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @error: Return location for error or %NULL. 1585s # * 1585s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1585s # * 1585s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1585s # * 1585s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1585s # */ 1585s # gboolean 1585s # org_project_useful_interface_call_single_arg_method_y_sync ( 1585s # OrgProjectUsefulInterface *proxy, 1585s # guchar arg_arg_y, 1585s # GCancellable *cancellable, 1585s # GError **error) 1585s # { 1585s # GVariant *_ret; 1585s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1585s # "SingleArgMethodY", 1585s # g_variant_new ("(y)", 1585s # arg_arg_y), 1585s # G_DBUS_CALL_FLAGS_NONE, 1585s # -1, 1585s # cancellable, 1585s # error); 1585s # if (_ret == NULL) 1585s # goto _out; 1585s # g_variant_get (_ret, 1585s # "()"); 1585s # g_variant_unref (_ret); 1585s # _out: 1585s # return _ret != NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_complete_single_arg_method_y: 1585s # * @object: A #OrgProjectUsefulInterface. 1585s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1585s # * 1585s # * 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. 1585s # * 1585s # * This method will free @invocation, you cannot use it afterwards. 1585s # */ 1585s # void 1585s # org_project_useful_interface_complete_single_arg_method_y ( 1585s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1585s # GDBusMethodInvocation *invocation) 1585s # { 1585s # g_dbus_method_invocation_return_value (invocation, 1585s # g_variant_new ("()")); 1585s # } 1585s # 1585s # /* ------------------------------------------------------------------------ */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceProxy: 1585s # * 1585s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1585s # */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceProxyClass: 1585s # * @parent_class: The parent class. 1585s # * 1585s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1585s # */ 1585s # 1585s # struct _OrgProjectUsefulInterfaceProxyPrivate 1585s # { 1585s # GData *qdata; 1585s # }; 1585s # 1585s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1585s # 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1585s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1585s # 1585s # #else 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1585s # 1585s # #endif 1585s # static void 1585s # org_project_useful_interface_proxy_finalize (GObject *object) 1585s # { 1585s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1585s # g_datalist_clear (&proxy->priv->qdata); 1585s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1585s # guint prop_id G_GNUC_UNUSED, 1585s # GValue *value G_GNUC_UNUSED, 1585s # GParamSpec *pspec G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1585s # guint prop_id G_GNUC_UNUSED, 1585s # const GValue *value G_GNUC_UNUSED, 1585s # GParamSpec *pspec G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1585s # const gchar *sender_name G_GNUC_UNUSED, 1585s # const gchar *signal_name, 1585s # GVariant *parameters) 1585s # { 1585s # _ExtendedGDBusSignalInfo *info; 1585s # GVariantIter iter; 1585s # GVariant *child; 1585s # GValue *paramv; 1585s # gsize num_params; 1585s # gsize n; 1585s # guint signal_id; 1585s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1585s # if (info == NULL) 1585s # return; 1585s # num_params = g_variant_n_children (parameters); 1585s # paramv = g_new0 (GValue, num_params + 1); 1585s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_value_set_object (¶mv[0], proxy); 1585s # g_variant_iter_init (&iter, parameters); 1585s # n = 1; 1585s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1585s # { 1585s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1585s # if (arg_info->use_gvariant) 1585s # { 1585s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1585s # g_value_set_variant (¶mv[n], child); 1585s # n++; 1585s # } 1585s # else 1585s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1585s # g_variant_unref (child); 1585s # } 1585s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_signal_emitv (paramv, signal_id, 0, NULL); 1585s # for (n = 0; n < num_params + 1; n++) 1585s # g_value_unset (¶mv[n]); 1585s # g_free (paramv); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1585s # GVariant *changed_properties, 1585s # const gchar *const *invalidated_properties) 1585s # { 1585s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1585s # guint n; 1585s # const gchar *key; 1585s # GVariantIter *iter; 1585s # _ExtendedGDBusPropertyInfo *info; 1585s # g_variant_get (changed_properties, "a{sv}", &iter); 1585s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1585s # { 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1585s # g_datalist_remove_data (&proxy->priv->qdata, key); 1585s # if (info != NULL) 1585s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1585s # } 1585s # g_variant_iter_free (iter); 1585s # for (n = 0; invalidated_properties[n] != NULL; n++) 1585s # { 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1585s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1585s # if (info != NULL) 1585s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1585s # } 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1585s # { 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1585s # #else 1585s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1585s # #endif 1585s # 1585s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1585s # { 1585s # GObjectClass *gobject_class; 1585s # GDBusProxyClass *proxy_class; 1585s # 1585s # gobject_class = G_OBJECT_CLASS (klass); 1585s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1585s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1585s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1585s # 1585s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1585s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1585s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1585s # 1585s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1585s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1585s # #endif 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new: 1585s # * @connection: A #GDBusConnection. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1585s # * @user_data: User data to pass to @callback. 1585s # * 1585s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1585s # * 1585s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1585s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1585s # * 1585s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1585s # */ 1585s # void 1585s # org_project_useful_interface_proxy_new ( 1585s # GDBusConnection *connection, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GAsyncReadyCallback callback, 1585s # gpointer user_data) 1585s # { 1585s # g_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); 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_finish: 1585s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_finish ( 1585s # GAsyncResult *res, 1585s # GError **error) 1585s # { 1585s # GObject *ret; 1585s # GObject *source_object; 1585s # source_object = g_async_result_get_source_object (res); 1585s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1585s # g_object_unref (source_object); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_sync: 1585s # * @connection: A #GDBusConnection. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1585s # * 1585s # * The calling thread is blocked until a reply is received. 1585s # * 1585s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_sync ( 1585s # GDBusConnection *connection, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GError **error) 1585s # { 1585s # GInitable *ret; 1585s # 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); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_for_bus: 1585s # * @bus_type: A #GBusType. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: A bus name (well-known or unique). 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1585s # * @user_data: User data to pass to @callback. 1585s # * 1585s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1585s # * 1585s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1585s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1585s # * 1585s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1585s # */ 1585s # void 1585s # org_project_useful_interface_proxy_new_for_bus ( 1585s # GBusType bus_type, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GAsyncReadyCallback callback, 1585s # gpointer user_data) 1585s # { 1585s # g_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); 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_for_bus_finish: 1585s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_for_bus_finish ( 1585s # GAsyncResult *res, 1585s # GError **error) 1585s # { 1585s # GObject *ret; 1585s # GObject *source_object; 1585s # source_object = g_async_result_get_source_object (res); 1585s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1585s # g_object_unref (source_object); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_for_bus_sync: 1585s # * @bus_type: A #GBusType. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: A bus name (well-known or unique). 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1585s # * 1585s # * The calling thread is blocked until a reply is received. 1585s # * 1585s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_for_bus_sync ( 1585s # GBusType bus_type, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GError **error) 1585s # { 1585s # GInitable *ret; 1585s # 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); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # 1585s # /* ------------------------------------------------------------------------ */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceSkeleton: 1585s # * 1585s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1585s # */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceSkeletonClass: 1585s # * @parent_class: The parent class. 1585s # * 1585s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1585s # */ 1585s # 1585s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1585s # { 1585s # GValue *properties; 1585s # GList *changed_properties; 1585s # GSource *changed_properties_idle_source; 1585s # GMainContext *context; 1585s # GMutex lock; 1585s # }; 1585s # 1585s # static void 1585s # _org_project_useful_interface_skeleton_handle_method_call ( 1585s # GDBusConnection *connection G_GNUC_UNUSED, 1585s # const gchar *sender G_GNUC_UNUSED, 1585s # const gchar *object_path G_GNUC_UNUSED, 1585s # const gchar *interface_name, 1585s # const gchar *method_name, 1585s # GVariant *parameters, 1585s # GDBusMethodInvocation *invocation, 1585s # gpointer user_data) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1585s # _ExtendedGDBusMethodInfo *info; 1585s # GVariantIter iter; 1585s # GVariant *child; 1585s # GValue *paramv; 1585s # gsize num_params; 1585s # guint num_extra; 1585s # gsize n; 1585s # guint signal_id; 1585s # GValue return_value = G_VALUE_INIT; 1585s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1585s # g_assert (info != NULL); 1585s # num_params = g_variant_n_children (parameters); 1585s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1585s # n = 0; 1585s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_value_set_object (¶mv[n++], skeleton); 1585s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1585s # g_value_set_object (¶mv[n++], invocation); 1585s # if (info->pass_fdlist) 1585s # { 1585s # #ifdef G_OS_UNIX 1585s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1585s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1585s # #else 1585s # g_assert_not_reached (); 1585s # #endif 1585s # } 1585s # g_variant_iter_init (&iter, parameters); 1585s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1585s # { 1585s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1585s # if (arg_info->use_gvariant) 1585s # { 1585s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1585s # g_value_set_variant (¶mv[n], child); 1585s # n++; 1585s # } 1585s # else 1585s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1585s # g_variant_unref (child); 1585s # } 1585s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1585s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1585s # if (!g_value_get_boolean (&return_value)) 1585s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1585s # g_value_unset (&return_value); 1585s # for (n = 0; n < num_params + num_extra; n++) 1585s # g_value_unset (¶mv[n]); 1585s # g_free (paramv); 1585s # } 1585s # 1585s # static GVariant * 1585s # _org_project_useful_interface_skeleton_handle_get_property ( 1585s # GDBusConnection *connection G_GNUC_UNUSED, 1585s # const gchar *sender G_GNUC_UNUSED, 1585s # const gchar *object_path G_GNUC_UNUSED, 1585s # const gchar *interface_name G_GNUC_UNUSED, 1585s # const gchar *property_name, 1585s # GError **error, 1585s # gpointer user_data) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1585s # GValue value = G_VALUE_INIT; 1585s # GParamSpec *pspec; 1585s # _ExtendedGDBusPropertyInfo *info; 1585s # GVariant *ret; 1585s # ret = NULL; 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1585s # g_assert (info != NULL); 1585s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1585s # if (pspec == NULL) 1585s # { 1585s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1585s # } 1585s # else 1585s # { 1585s # g_value_init (&value, pspec->value_type); 1585s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1585s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1585s # g_value_unset (&value); 1585s # } 1585s # return ret; 1585s # } 1585s # 1585s # static gboolean 1585s # _org_project_useful_interface_skeleton_handle_set_property ( 1585s # GDBusConnection *connection G_GNUC_UNUSED, 1585s # const gchar *sender G_GNUC_UNUSED, 1585s # const gchar *object_path G_GNUC_UNUSED, 1585s # const gchar *interface_name G_GNUC_UNUSED, 1585s # const gchar *property_name, 1585s # GVariant *variant, 1585s # GError **error, 1585s # gpointer user_data) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1585s # GValue value = G_VALUE_INIT; 1585s # GParamSpec *pspec; 1585s # _ExtendedGDBusPropertyInfo *info; 1585s # gboolean ret; 1585s # ret = FALSE; 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1585s # g_assert (info != NULL); 1585s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1585s # if (pspec == NULL) 1585s # { 1585s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1585s # } 1585s # else 1585s # { 1585s # if (info->use_gvariant) 1585s # g_value_set_variant (&value, variant); 1585s # else 1585s # g_dbus_gvariant_to_gvalue (variant, &value); 1585s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1585s # g_value_unset (&value); 1585s # ret = TRUE; 1585s # } 1585s # return ret; 1585s # } 1585s # 1585s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1585s # { 1585s # _org_project_useful_interface_skeleton_handle_method_call, 1585s # _org_project_useful_interface_skeleton_handle_get_property, 1585s # _org_project_useful_interface_skeleton_handle_set_property, 1585s # {NULL} 1585s # }; 1585s # 1585s # static GDBusInterfaceInfo * 1585s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1585s # { 1585s # return org_project_useful_interface_interface_info (); 1585s # } 1585s # 1585s # static GDBusInterfaceVTable * 1585s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1585s # { 1585s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1585s # } 1585s # 1585s # static GVariant * 1585s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1585s # 1585s # GVariantBuilder builder; 1585s # guint n; 1585s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1585s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1585s # goto out; 1585s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1585s # { 1585s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1585s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1585s # { 1585s # GVariant *value; 1585s # 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); 1585s # if (value != NULL) 1585s # { 1585s # g_variant_take_ref (value); 1585s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1585s # g_variant_unref (value); 1585s # } 1585s # } 1585s # } 1585s # out: 1585s # return g_variant_builder_end (&builder); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1585s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1585s # 1585s # #else 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1585s # 1585s # #endif 1585s # static void 1585s # org_project_useful_interface_skeleton_finalize (GObject *object) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1585s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1585s # if (skeleton->priv->changed_properties_idle_source != NULL) 1585s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1585s # g_main_context_unref (skeleton->priv->context); 1585s # g_mutex_clear (&skeleton->priv->lock); 1585s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1585s # { 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1585s # #else 1585s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1585s # #endif 1585s # 1585s # g_mutex_init (&skeleton->priv->lock); 1585s # skeleton->priv->context = g_main_context_ref_thread_default (); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1585s # { 1585s # GObjectClass *gobject_class; 1585s # GDBusInterfaceSkeletonClass *skeleton_class; 1585s # 1585s # gobject_class = G_OBJECT_CLASS (klass); 1585s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1585s # 1585s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1585s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1585s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1585s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1585s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1585s # 1585s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1585s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1585s # #endif 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_skeleton_new: 1585s # * 1585s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_skeleton_new (void) 1585s # { 1585s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1585s # } 1585s # /tmp/tmpqis8wy1w/tmpudryvrli.xml: 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmpudryvrli.xml', '--output', '-', '--body'] 1585s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1585s # Output: /* 1585s # * This file is generated by gdbus-codegen, do not modify it. 1585s # * 1585s # * The license of this code is the same as for the D-Bus interface description 1585s # * it was derived from. Note that it links to GLib, so must comply with the 1585s # * LGPL linking clauses. 1585s # */ 1585s # 1585s # #ifdef HAVE_CONFIG_H 1585s # # include "config.h" 1585s # #endif 1585s # 1585s # #include 1585s # #ifdef G_OS_UNIX 1585s # # include 1585s # #endif 1585s # 1585s # #ifdef G_ENABLE_DEBUG 1585s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1585s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1585s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1585s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1585s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1585s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1585s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1585s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1585s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1585s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1585s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1585s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1585s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1585s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1585s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1585s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1585s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1585s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1585s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1585s # #else /* !G_ENABLE_DEBUG */ 1585s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1585s # * Do not access GValues directly in your code. Instead, use the 1585s # * g_value_get_*() functions 1585s # */ 1585s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1585s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1585s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1585s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1585s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1585s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1585s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1585s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1585s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1585s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1585s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1585s # #endif /* !G_ENABLE_DEBUG */ 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusArgInfo parent_struct; 1585s # gboolean use_gvariant; 1585s # } _ExtendedGDBusArgInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusMethodInfo parent_struct; 1585s # const gchar *signal_name; 1585s # gboolean pass_fdlist; 1585s # } _ExtendedGDBusMethodInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusSignalInfo parent_struct; 1585s # const gchar *signal_name; 1585s # } _ExtendedGDBusSignalInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusPropertyInfo parent_struct; 1585s # const gchar *hyphen_name; 1585s # guint use_gvariant : 1; 1585s # guint emits_changed_signal : 1; 1585s # } _ExtendedGDBusPropertyInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusInterfaceInfo parent_struct; 1585s # const gchar *hyphen_name; 1585s # } _ExtendedGDBusInterfaceInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # const _ExtendedGDBusPropertyInfo *info; 1585s # guint prop_id; 1585s # GValue orig_value; /* the value before the change */ 1585s # } ChangedProperty; 1585s # 1585s # static void 1585s # _changed_property_free (ChangedProperty *data) 1585s # { 1585s # g_value_unset (&data->orig_value); 1585s # g_free (data); 1585s # } 1585s # 1585s # static gboolean 1585s # _g_strv_equal0 (gchar **a, gchar **b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # guint n; 1585s # if (a == NULL && b == NULL) 1585s # { 1585s # ret = TRUE; 1585s # goto out; 1585s # } 1585s # if (a == NULL || b == NULL) 1585s # goto out; 1585s # if (g_strv_length (a) != g_strv_length (b)) 1585s # goto out; 1585s # for (n = 0; a[n] != NULL; n++) 1585s # if (g_strcmp0 (a[n], b[n]) != 0) 1585s # goto out; 1585s # ret = TRUE; 1585s # out: 1585s # return ret; 1585s # } 1585s # 1585s # static gboolean 1585s # _g_variant_equal0 (GVariant *a, GVariant *b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # if (a == NULL && b == NULL) 1585s # { 1585s # ret = TRUE; 1585s # goto out; 1585s # } 1585s # if (a == NULL || b == NULL) 1585s # goto out; 1585s # ret = g_variant_equal (a, b); 1585s # out: 1585s # return ret; 1585s # } 1585s # 1585s # G_GNUC_UNUSED static gboolean 1585s # _g_value_equal (const GValue *a, const GValue *b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1585s # switch (G_VALUE_TYPE (a)) 1585s # { 1585s # case G_TYPE_BOOLEAN: 1585s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1585s # break; 1585s # case G_TYPE_UCHAR: 1585s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1585s # break; 1585s # case G_TYPE_INT: 1585s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1585s # break; 1585s # case G_TYPE_UINT: 1585s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1585s # break; 1585s # case G_TYPE_INT64: 1585s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1585s # break; 1585s # case G_TYPE_UINT64: 1585s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1585s # break; 1585s # case G_TYPE_DOUBLE: 1585s # { 1585s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1585s # gdouble da = g_value_get_double (a); 1585s # gdouble db = g_value_get_double (b); 1585s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1585s # } 1585s # break; 1585s # case G_TYPE_STRING: 1585s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1585s # break; 1585s # case G_TYPE_VARIANT: 1585s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1585s # break; 1585s # default: 1585s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1585s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1585s # else 1585s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1585s # break; 1585s # } 1585s # return ret; 1585s # } 1585s # 1585s # static void 1585s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1585s # GClosure *closure, 1585s # GValue *return_value, 1585s # unsigned int n_param_values, 1585s # const GValue *param_values, 1585s # void *invocation_hint G_GNUC_UNUSED, 1585s # void *marshal_data) 1585s # { 1585s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1585s # (void *data1, 1585s # GDBusMethodInvocation *arg_method_invocation, 1585s # gint16 arg_arg_n, 1585s # void *data2); 1585s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1585s # GCClosure *cc = (GCClosure*) closure; 1585s # void *data1, *data2; 1585s # gboolean v_return; 1585s # 1585s # g_return_if_fail (return_value != NULL); 1585s # g_return_if_fail (n_param_values == 3); 1585s # 1585s # if (G_CCLOSURE_SWAP_DATA (closure)) 1585s # { 1585s # data1 = closure->data; 1585s # data2 = g_value_peek_pointer (param_values + 0); 1585s # } 1585s # else 1585s # { 1585s # data1 = g_value_peek_pointer (param_values + 0); 1585s # data2 = closure->data; 1585s # } 1585s # 1585s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1585s # (marshal_data ? marshal_data : cc->callback); 1585s # 1585s # v_return = 1585s # callback (data1, 1585s # g_marshal_value_peek_object (param_values + 1), 1585s # g_marshal_value_peek_int (param_values + 2), 1585s # data2); 1585s # 1585s # g_value_set_boolean (return_value, v_return); 1585s # } 1585s # 1585s # /* ------------------------------------------------------------------------ 1585s # * Code for interface org.project.UsefulInterface 1585s # * ------------------------------------------------------------------------ 1585s # */ 1585s # 1585s # /** 1585s # * SECTION:OrgProjectUsefulInterface 1585s # * @title: OrgProjectUsefulInterface 1585s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1585s # * 1585s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1585s # */ 1585s # 1585s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1585s # 1585s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "arg_n", 1585s # (gchar *) "n", 1585s # NULL 1585s # }, 1585s # FALSE 1585s # }; 1585s # 1585s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1585s # { 1585s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1585s # NULL 1585s # }; 1585s # 1585s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "SingleArgMethodN", 1585s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1585s # NULL, 1585s # NULL 1585s # }, 1585s # "handle-single-arg-method-n", 1585s # FALSE 1585s # }; 1585s # 1585s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1585s # { 1585s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1585s # NULL 1585s # }; 1585s # 1585s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "org.project.UsefulInterface", 1585s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1585s # NULL, 1585s # NULL, 1585s # NULL 1585s # }, 1585s # "org-project-useful-interface", 1585s # }; 1585s # 1585s # 1585s # /** 1585s # * org_project_useful_interface_interface_info: 1585s # * 1585s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1585s # * 1585s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1585s # */ 1585s # GDBusInterfaceInfo * 1585s # org_project_useful_interface_interface_info (void) 1585s # { 1585s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_override_properties: 1585s # * @klass: The class structure for a #GObject derived class. 1585s # * @property_id_begin: The property id to assign to the first overridden property. 1585s # * 1585s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1585s # * The properties are overridden in the order they are defined. 1585s # * 1585s # * Returns: The last property id. 1585s # */ 1585s # guint 1585s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1585s # { 1585s # return property_id_begin - 1; 1585s # } 1585s # 1585s # 1585s # inline static void 1585s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1585s # GClosure *closure, 1585s # GValue *return_value, 1585s # unsigned int n_param_values, 1585s # const GValue *param_values, 1585s # void *invocation_hint, 1585s # void *marshal_data) 1585s # { 1585s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1585s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1585s # } 1585s # 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterface: 1585s # * 1585s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1585s # */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceIface: 1585s # * @parent_iface: The parent interface. 1585s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1585s # * 1585s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1585s # */ 1585s # 1585s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1585s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1585s # 1585s # static void 1585s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1585s # { 1585s # /* GObject signals for incoming D-Bus method calls: */ 1585s # /** 1585s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1585s # * @object: A #OrgProjectUsefulInterface. 1585s # * @invocation: A #GDBusMethodInvocation. 1585s # * @arg_arg_n: Argument passed by remote caller. 1585s # * 1585s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1585s # * 1585s # * 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. 1585s # * 1585s # * 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. 1585s # */ 1585s # g_signal_new ("handle-single-arg-method-n", 1585s # G_TYPE_FROM_INTERFACE (iface), 1585s # G_SIGNAL_RUN_LAST, 1585s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1585s # g_signal_accumulator_true_handled, 1585s # NULL, 1585s # org_project_useful_interface_method_marshal_single_arg_method_n, 1585s # G_TYPE_BOOLEAN, 1585s # 2, 1585s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1585s # 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_call_single_arg_method_n: 1585s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1585s # * @arg_arg_n: Argument to pass with the method invocation. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1585s # * @user_data: User data to pass to @callback. 1585s # * 1585s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1585s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1585s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1585s # * 1585s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1585s # */ 1585s # void 1585s # org_project_useful_interface_call_single_arg_method_n ( 1585s # OrgProjectUsefulInterface *proxy, 1585s # gint16 arg_arg_n, 1585s # GCancellable *cancellable, 1585s # GAsyncReadyCallback callback, 1585s # gpointer user_data) 1585s # { 1585s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1585s # "SingleArgMethodN", 1585s # g_variant_new ("(n)", 1585s # arg_arg_n), 1585s # G_DBUS_CALL_FLAGS_NONE, 1585s # -1, 1585s # cancellable, 1585s # callback, 1585s # user_data); 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_call_single_arg_method_n_finish: 1585s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1585s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1585s # * @error: Return location for error or %NULL. 1585s # * 1585s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1585s # * 1585s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1585s # */ 1585s # gboolean 1585s # org_project_useful_interface_call_single_arg_method_n_finish ( 1585s # OrgProjectUsefulInterface *proxy, 1585s # GAsyncResult *res, 1585s # GError **error) 1585s # { 1585s # GVariant *_ret; 1585s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1585s # if (_ret == NULL) 1585s # goto _out; 1585s # g_variant_get (_ret, 1585s # "()"); 1585s # g_variant_unref (_ret); 1585s # _out: 1585s # return _ret != NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_call_single_arg_method_n_sync: 1585s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1585s # * @arg_arg_n: Argument to pass with the method invocation. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @error: Return location for error or %NULL. 1585s # * 1585s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1585s # * 1585s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1585s # * 1585s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1585s # */ 1585s # gboolean 1585s # org_project_useful_interface_call_single_arg_method_n_sync ( 1585s # OrgProjectUsefulInterface *proxy, 1585s # gint16 arg_arg_n, 1585s # GCancellable *cancellable, 1585s # GError **error) 1585s # { 1585s # GVariant *_ret; 1585s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1585s # "SingleArgMethodN", 1585s # g_variant_new ("(n)", 1585s # arg_arg_n), 1585s # G_DBUS_CALL_FLAGS_NONE, 1585s # -1, 1585s # cancellable, 1585s # error); 1585s # if (_ret == NULL) 1585s # goto _out; 1585s # g_variant_get (_ret, 1585s # "()"); 1585s # g_variant_unref (_ret); 1585s # _out: 1585s # return _ret != NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_complete_single_arg_method_n: 1585s # * @object: A #OrgProjectUsefulInterface. 1585s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1585s # * 1585s # * 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. 1585s # * 1585s # * This method will free @invocation, you cannot use it afterwards. 1585s # */ 1585s # void 1585s # org_project_useful_interface_complete_single_arg_method_n ( 1585s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1585s # GDBusMethodInvocation *invocation) 1585s # { 1585s # g_dbus_method_invocation_return_value (invocation, 1585s # g_variant_new ("()")); 1585s # } 1585s # 1585s # /* ------------------------------------------------------------------------ */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceProxy: 1585s # * 1585s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1585s # */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceProxyClass: 1585s # * @parent_class: The parent class. 1585s # * 1585s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1585s # */ 1585s # 1585s # struct _OrgProjectUsefulInterfaceProxyPrivate 1585s # { 1585s # GData *qdata; 1585s # }; 1585s # 1585s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1585s # 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1585s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1585s # 1585s # #else 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1585s # 1585s # #endif 1585s # static void 1585s # org_project_useful_interface_proxy_finalize (GObject *object) 1585s # { 1585s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1585s # g_datalist_clear (&proxy->priv->qdata); 1585s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1585s # guint prop_id G_GNUC_UNUSED, 1585s # GValue *value G_GNUC_UNUSED, 1585s # GParamSpec *pspec G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1585s # guint prop_id G_GNUC_UNUSED, 1585s # const GValue *value G_GNUC_UNUSED, 1585s # GParamSpec *pspec G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1585s # const gchar *sender_name G_GNUC_UNUSED, 1585s # const gchar *signal_name, 1585s # GVariant *parameters) 1585s # { 1585s # _ExtendedGDBusSignalInfo *info; 1585s # GVariantIter iter; 1585s # GVariant *child; 1585s # GValue *paramv; 1585s # gsize num_params; 1585s # gsize n; 1585s # guint signal_id; 1585s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1585s # if (info == NULL) 1585s # return; 1585s # num_params = g_variant_n_children (parameters); 1585s # paramv = g_new0 (GValue, num_params + 1); 1585s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_value_set_object (¶mv[0], proxy); 1585s # g_variant_iter_init (&iter, parameters); 1585s # n = 1; 1585s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1585s # { 1585s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1585s # if (arg_info->use_gvariant) 1585s # { 1585s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1585s # g_value_set_variant (¶mv[n], child); 1585s # n++; 1585s # } 1585s # else 1585s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1585s # g_variant_unref (child); 1585s # } 1585s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_signal_emitv (paramv, signal_id, 0, NULL); 1585s # for (n = 0; n < num_params + 1; n++) 1585s # g_value_unset (¶mv[n]); 1585s # g_free (paramv); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1585s # GVariant *changed_properties, 1585s # const gchar *const *invalidated_properties) 1585s # { 1585s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1585s # guint n; 1585s # const gchar *key; 1585s # GVariantIter *iter; 1585s # _ExtendedGDBusPropertyInfo *info; 1585s # g_variant_get (changed_properties, "a{sv}", &iter); 1585s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1585s # { 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1585s # g_datalist_remove_data (&proxy->priv->qdata, key); 1585s # if (info != NULL) 1585s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1585s # } 1585s # g_variant_iter_free (iter); 1585s # for (n = 0; invalidated_properties[n] != NULL; n++) 1585s # { 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1585s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1585s # if (info != NULL) 1585s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1585s # } 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1585s # { 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1585s # #else 1585s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1585s # #endif 1585s # 1585s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1585s # { 1585s # GObjectClass *gobject_class; 1585s # GDBusProxyClass *proxy_class; 1585s # 1585s # gobject_class = G_OBJECT_CLASS (klass); 1585s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1585s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1585s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1585s # 1585s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1585s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1585s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1585s # 1585s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1585s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1585s # #endif 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new: 1585s # * @connection: A #GDBusConnection. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1585s # * @user_data: User data to pass to @callback. 1585s # * 1585s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1585s # * 1585s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1585s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1585s # * 1585s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1585s # */ 1585s # void 1585s # org_project_useful_interface_proxy_new ( 1585s # GDBusConnection *connection, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GAsyncReadyCallback callback, 1585s # gpointer user_data) 1585s # { 1585s # g_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); 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_finish: 1585s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_finish ( 1585s # GAsyncResult *res, 1585s # GError **error) 1585s # { 1585s # GObject *ret; 1585s # GObject *source_object; 1585s # source_object = g_async_result_get_source_object (res); 1585s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1585s # g_object_unref (source_object); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_sync: 1585s # * @connection: A #GDBusConnection. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1585s # * 1585s # * The calling thread is blocked until a reply is received. 1585s # * 1585s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_sync ( 1585s # GDBusConnection *connection, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GError **error) 1585s # { 1585s # GInitable *ret; 1585s # 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); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_for_bus: 1585s # * @bus_type: A #GBusType. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: A bus name (well-known or unique). 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1585s # * @user_data: User data to pass to @callback. 1585s # * 1585s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1585s # * 1585s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1585s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1585s # * 1585s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1585s # */ 1585s # void 1585s # org_project_useful_interface_proxy_new_for_bus ( 1585s # GBusType bus_type, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GAsyncReadyCallback callback, 1585s # gpointer user_data) 1585s # { 1585s # g_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); 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_for_bus_finish: 1585s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_for_bus_finish ( 1585s # GAsyncResult *res, 1585s # GError **error) 1585s # { 1585s # GObject *ret; 1585s # GObject *source_object; 1585s # source_object = g_async_result_get_source_object (res); 1585s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1585s # g_object_unref (source_object); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_for_bus_sync: 1585s # * @bus_type: A #GBusType. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: A bus name (well-known or unique). 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1585s # * 1585s # * The calling thread is blocked until a reply is received. 1585s # * 1585s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_for_bus_sync ( 1585s # GBusType bus_type, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GError **error) 1585s # { 1585s # GInitable *ret; 1585s # 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); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # 1585s # /* ------------------------------------------------------------------------ */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceSkeleton: 1585s # * 1585s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1585s # */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceSkeletonClass: 1585s # * @parent_class: The parent class. 1585s # * 1585s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1585s # */ 1585s # 1585s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1585s # { 1585s # GValue *properties; 1585s # GList *changed_properties; 1585s # GSource *changed_properties_idle_source; 1585s # GMainContext *context; 1585s # GMutex lock; 1585s # }; 1585s # 1585s # static void 1585s # _org_project_useful_interface_skeleton_handle_method_call ( 1585s # GDBusConnection *connection G_GNUC_UNUSED, 1585s # const gchar *sender G_GNUC_UNUSED, 1585s # const gchar *object_path G_GNUC_UNUSED, 1585s # const gchar *interface_name, 1585s # const gchar *method_name, 1585s # GVariant *parameters, 1585s # GDBusMethodInvocation *invocation, 1585s # gpointer user_data) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1585s # _ExtendedGDBusMethodInfo *info; 1585s # GVariantIter iter; 1585s # GVariant *child; 1585s # GValue *paramv; 1585s # gsize num_params; 1585s # guint num_extra; 1585s # gsize n; 1585s # guint signal_id; 1585s # GValue return_value = G_VALUE_INIT; 1585s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1585s # g_assert (info != NULL); 1585s # num_params = g_variant_n_children (parameters); 1585s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1585s # n = 0; 1585s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_value_set_object (¶mv[n++], skeleton); 1585s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1585s # g_value_set_object (¶mv[n++], invocation); 1585s # if (info->pass_fdlist) 1585s # { 1585s # #ifdef G_OS_UNIX 1585s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1585s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1585s # #else 1585s # g_assert_not_reached (); 1585s # #endif 1585s # } 1585s # g_variant_iter_init (&iter, parameters); 1585s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1585s # { 1585s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1585s # if (arg_info->use_gvariant) 1585s # { 1585s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1585s # g_value_set_variant (¶mv[n], child); 1585s # n++; 1585s # } 1585s # else 1585s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1585s # g_variant_unref (child); 1585s # } 1585s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1585s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1585s # if (!g_value_get_boolean (&return_value)) 1585s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1585s # g_value_unset (&return_value); 1585s # for (n = 0; n < num_params + num_extra; n++) 1585s # g_value_unset (¶mv[n]); 1585s # g_free (paramv); 1585s # } 1585s # 1585s # static GVariant * 1585s # _org_project_useful_interface_skeleton_handle_get_property ( 1585s # GDBusConnection *connection G_GNUC_UNUSED, 1585s # const gchar *sender G_GNUC_UNUSED, 1585s # const gchar *object_path G_GNUC_UNUSED, 1585s # const gchar *interface_name G_GNUC_UNUSED, 1585s # const gchar *property_name, 1585s # GError **error, 1585s # gpointer user_data) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1585s # GValue value = G_VALUE_INIT; 1585s # GParamSpec *pspec; 1585s # _ExtendedGDBusPropertyInfo *info; 1585s # GVariant *ret; 1585s # ret = NULL; 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1585s # g_assert (info != NULL); 1585s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1585s # if (pspec == NULL) 1585s # { 1585s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1585s # } 1585s # else 1585s # { 1585s # g_value_init (&value, pspec->value_type); 1585s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1585s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1585s # g_value_unset (&value); 1585s # } 1585s # return ret; 1585s # } 1585s # 1585s # static gboolean 1585s # _org_project_useful_interface_skeleton_handle_set_property ( 1585s # GDBusConnection *connection G_GNUC_UNUSED, 1585s # const gchar *sender G_GNUC_UNUSED, 1585s # const gchar *object_path G_GNUC_UNUSED, 1585s # const gchar *interface_name G_GNUC_UNUSED, 1585s # const gchar *property_name, 1585s # GVariant *variant, 1585s # GError **error, 1585s # gpointer user_data) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1585s # GValue value = G_VALUE_INIT; 1585s # GParamSpec *pspec; 1585s # _ExtendedGDBusPropertyInfo *info; 1585s # gboolean ret; 1585s # ret = FALSE; 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1585s # g_assert (info != NULL); 1585s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1585s # if (pspec == NULL) 1585s # { 1585s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1585s # } 1585s # else 1585s # { 1585s # if (info->use_gvariant) 1585s # g_value_set_variant (&value, variant); 1585s # else 1585s # g_dbus_gvariant_to_gvalue (variant, &value); 1585s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1585s # g_value_unset (&value); 1585s # ret = TRUE; 1585s # } 1585s # return ret; 1585s # } 1585s # 1585s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1585s # { 1585s # _org_project_useful_interface_skeleton_handle_method_call, 1585s # _org_project_useful_interface_skeleton_handle_get_property, 1585s # _org_project_useful_interface_skeleton_handle_set_property, 1585s # {NULL} 1585s # }; 1585s # 1585s # static GDBusInterfaceInfo * 1585s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1585s # { 1585s # return org_project_useful_interface_interface_info (); 1585s # } 1585s # 1585s # static GDBusInterfaceVTable * 1585s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1585s # { 1585s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1585s # } 1585s # 1585s # static GVariant * 1585s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1585s # 1585s # GVariantBuilder builder; 1585s # guint n; 1585s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1585s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1585s # goto out; 1585s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1585s # { 1585s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1585s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1585s # { 1585s # GVariant *value; 1585s # 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); 1585s # if (value != NULL) 1585s # { 1585s # g_variant_take_ref (value); 1585s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1585s # g_variant_unref (value); 1585s # } 1585s # } 1585s # } 1585s # out: 1585s # return g_variant_builder_end (&builder); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1585s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1585s # 1585s # #else 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1585s # 1585s # #endif 1585s # static void 1585s # org_project_useful_interface_skeleton_finalize (GObject *object) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1585s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1585s # if (skeleton->priv->changed_properties_idle_source != NULL) 1585s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1585s # g_main_context_unref (skeleton->priv->context); 1585s # g_mutex_clear (&skeleton->priv->lock); 1585s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1585s # { 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1585s # #else 1585s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1585s # #endif 1585s # 1585s # g_mutex_init (&skeleton->priv->lock); 1585s # skeleton->priv->context = g_main_context_ref_thread_default (); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1585s # { 1585s # GObjectClass *gobject_class; 1585s # GDBusInterfaceSkeletonClass *skeleton_class; 1585s # 1585s # gobject_class = G_OBJECT_CLASS (klass); 1585s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1585s # 1585s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1585s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1585s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1585s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1585s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1585s # 1585s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1585s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1585s # #endif 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_skeleton_new: 1585s # * 1585s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_skeleton_new (void) 1585s # { 1585s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1585s # } 1585s # /tmp/tmpqis8wy1w/tmpdgzqyb18.xml: 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmpdgzqyb18.xml', '--output', '-', '--body'] 1585s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1585s # Output: /* 1585s # * This file is generated by gdbus-codegen, do not modify it. 1585s # * 1585s # * The license of this code is the same as for the D-Bus interface description 1585s # * it was derived from. Note that it links to GLib, so must comply with the 1585s # * LGPL linking clauses. 1585s # */ 1585s # 1585s # #ifdef HAVE_CONFIG_H 1585s # # include "config.h" 1585s # #endif 1585s # 1585s # #include 1585s # #ifdef G_OS_UNIX 1585s # # include 1585s # #endif 1585s # 1585s # #ifdef G_ENABLE_DEBUG 1585s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1585s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1585s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1585s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1585s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1585s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1585s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1585s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1585s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1585s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1585s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1585s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1585s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1585s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1585s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1585s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1585s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1585s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1585s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1585s # #else /* !G_ENABLE_DEBUG */ 1585s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1585s # * Do not access GValues directly in your code. Instead, use the 1585s # * g_value_get_*() functions 1585s # */ 1585s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1585s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1585s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1585s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1585s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1585s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1585s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1585s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1585s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1585s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1585s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1585s # #endif /* !G_ENABLE_DEBUG */ 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusArgInfo parent_struct; 1585s # gboolean use_gvariant; 1585s # } _ExtendedGDBusArgInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusMethodInfo parent_struct; 1585s # const gchar *signal_name; 1585s # gboolean pass_fdlist; 1585s # } _ExtendedGDBusMethodInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusSignalInfo parent_struct; 1585s # const gchar *signal_name; 1585s # } _ExtendedGDBusSignalInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusPropertyInfo parent_struct; 1585s # const gchar *hyphen_name; 1585s # guint use_gvariant : 1; 1585s # guint emits_changed_signal : 1; 1585s # } _ExtendedGDBusPropertyInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusInterfaceInfo parent_struct; 1585s # const gchar *hyphen_name; 1585s # } _ExtendedGDBusInterfaceInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # const _ExtendedGDBusPropertyInfo *info; 1585s # guint prop_id; 1585s # GValue orig_value; /* the value before the change */ 1585s # } ChangedProperty; 1585s # 1585s # static void 1585s # _changed_property_free (ChangedProperty *data) 1585s # { 1585s # g_value_unset (&data->orig_value); 1585s # g_free (data); 1585s # } 1585s # 1585s # static gboolean 1585s # _g_strv_equal0 (gchar **a, gchar **b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # guint n; 1585s # if (a == NULL && b == NULL) 1585s # { 1585s # ret = TRUE; 1585s # goto out; 1585s # } 1585s # if (a == NULL || b == NULL) 1585s # goto out; 1585s # if (g_strv_length (a) != g_strv_length (b)) 1585s # goto out; 1585s # for (n = 0; a[n] != NULL; n++) 1585s # if (g_strcmp0 (a[n], b[n]) != 0) 1585s # goto out; 1585s # ret = TRUE; 1585s # out: 1585s # return ret; 1585s # } 1585s # 1585s # static gboolean 1585s # _g_variant_equal0 (GVariant *a, GVariant *b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # if (a == NULL && b == NULL) 1585s # { 1585s # ret = TRUE; 1585s # goto out; 1585s # } 1585s # if (a == NULL || b == NULL) 1585s # goto out; 1585s # ret = g_variant_equal (a, b); 1585s # out: 1585s # return ret; 1585s # } 1585s # 1585s # G_GNUC_UNUSED static gboolean 1585s # _g_value_equal (const GValue *a, const GValue *b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1585s # switch (G_VALUE_TYPE (a)) 1585s # { 1585s # case G_TYPE_BOOLEAN: 1585s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1585s # break; 1585s # case G_TYPE_UCHAR: 1585s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1585s # break; 1585s # case G_TYPE_INT: 1585s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1585s # break; 1585s # case G_TYPE_UINT: 1585s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1585s # break; 1585s # case G_TYPE_INT64: 1585s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1585s # break; 1585s # case G_TYPE_UINT64: 1585s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1585s # break; 1585s # case G_TYPE_DOUBLE: 1585s # { 1585s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1585s # gdouble da = g_value_get_double (a); 1585s # gdouble db = g_value_get_double (b); 1585s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1585s # } 1585s # break; 1585s # case G_TYPE_STRING: 1585s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1585s # break; 1585s # case G_TYPE_VARIANT: 1585s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1585s # break; 1585s # default: 1585s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1585s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1585s # else 1585s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1585s # break; 1585s # } 1585s # return ret; 1585s # } 1585s # 1585s # static void 1585s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1585s # GClosure *closure, 1585s # GValue *return_value, 1585s # unsigned int n_param_values, 1585s # const GValue *param_values, 1585s # void *invocation_hint G_GNUC_UNUSED, 1585s # void *marshal_data) 1585s # { 1585s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1585s # (void *data1, 1585s # GDBusMethodInvocation *arg_method_invocation, 1585s # guint16 arg_arg_q, 1585s # void *data2); 1585s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1585s # GCClosure *cc = (GCClosure*) closure; 1585s # void *data1, *data2; 1585s # gboolean v_return; 1585s # 1585s # g_return_if_fail (return_value != NULL); 1585s # g_return_if_fail (n_param_values == 3); 1585s # 1585s # if (G_CCLOSURE_SWAP_DATA (closure)) 1585s # { 1585s # data1 = closure->data; 1585s # data2 = g_value_peek_pointer (param_values + 0); 1585s # } 1585s # else 1585s # { 1585s # data1 = g_value_peek_pointer (param_values + 0); 1585s # data2 = closure->data; 1585s # } 1585s # 1585s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1585s # (marshal_data ? marshal_data : cc->callback); 1585s # 1585s # v_return = 1585s # callback (data1, 1585s # g_marshal_value_peek_object (param_values + 1), 1585s # g_marshal_value_peek_uint (param_values + 2), 1585s # data2); 1585s # 1585s # g_value_set_boolean (return_value, v_return); 1585s # } 1585s # 1585s # /* ------------------------------------------------------------------------ 1585s # * Code for interface org.project.UsefulInterface 1585s # * ------------------------------------------------------------------------ 1585s # */ 1585s # 1585s # /** 1585s # * SECTION:OrgProjectUsefulInterface 1585s # * @title: OrgProjectUsefulInterface 1585s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1585s # * 1585s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1585s # */ 1585s # 1585s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1585s # 1585s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "arg_q", 1585s # (gchar *) "q", 1585s # NULL 1585s # }, 1585s # FALSE 1585s # }; 1585s # 1585s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1585s # { 1585s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1585s # NULL 1585s # }; 1585s # 1585s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "SingleArgMethodQ", 1585s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1585s # NULL, 1585s # NULL 1585s # }, 1585s # "handle-single-arg-method-q", 1585s # FALSE 1585s # }; 1585s # 1585s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1585s # { 1585s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1585s # NULL 1585s # }; 1585s # 1585s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "org.project.UsefulInterface", 1585s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1585s # NULL, 1585s # NULL, 1585s # NULL 1585s # }, 1585s # "org-project-useful-interface", 1585s # }; 1585s # 1585s # 1585s # /** 1585s # * org_project_useful_interface_interface_info: 1585s # * 1585s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1585s # * 1585s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1585s # */ 1585s # GDBusInterfaceInfo * 1585s # org_project_useful_interface_interface_info (void) 1585s # { 1585s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_override_properties: 1585s # * @klass: The class structure for a #GObject derived class. 1585s # * @property_id_begin: The property id to assign to the first overridden property. 1585s # * 1585s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1585s # * The properties are overridden in the order they are defined. 1585s # * 1585s # * Returns: The last property id. 1585s # */ 1585s # guint 1585s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1585s # { 1585s # return property_id_begin - 1; 1585s # } 1585s # 1585s # 1585s # inline static void 1585s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1585s # GClosure *closure, 1585s # GValue *return_value, 1585s # unsigned int n_param_values, 1585s # const GValue *param_values, 1585s # void *invocation_hint, 1585s # void *marshal_data) 1585s # { 1585s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1585s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1585s # } 1585s # 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterface: 1585s # * 1585s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1585s # */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceIface: 1585s # * @parent_iface: The parent interface. 1585s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1585s # * 1585s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1585s # */ 1585s # 1585s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1585s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1585s # 1585s # static void 1585s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1585s # { 1585s # /* GObject signals for incoming D-Bus method calls: */ 1585s # /** 1585s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1585s # * @object: A #OrgProjectUsefulInterface. 1585s # * @invocation: A #GDBusMethodInvocation. 1585s # * @arg_arg_q: Argument passed by remote caller. 1585s # * 1585s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1585s # * 1585s # * 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. 1585s # * 1585s # * 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. 1585s # */ 1585s # g_signal_new ("handle-single-arg-method-q", 1585s # G_TYPE_FROM_INTERFACE (iface), 1585s # G_SIGNAL_RUN_LAST, 1585s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1585s # g_signal_accumulator_true_handled, 1585s # NULL, 1585s # org_project_useful_interface_method_marshal_single_arg_method_q, 1585s # G_TYPE_BOOLEAN, 1585s # 2, 1585s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1585s # 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_call_single_arg_method_q: 1585s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1585s # * @arg_arg_q: Argument to pass with the method invocation. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1585s # * @user_data: User data to pass to @callback. 1585s # * 1585s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1585s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1585s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1585s # * 1585s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1585s # */ 1585s # void 1585s # org_project_useful_interface_call_single_arg_method_q ( 1585s # OrgProjectUsefulInterface *proxy, 1585s # guint16 arg_arg_q, 1585s # GCancellable *cancellable, 1585s # GAsyncReadyCallback callback, 1585s # gpointer user_data) 1585s # { 1585s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1585s # "SingleArgMethodQ", 1585s # g_variant_new ("(q)", 1585s # arg_arg_q), 1585s # G_DBUS_CALL_FLAGS_NONE, 1585s # -1, 1585s # cancellable, 1585s # callback, 1585s # user_data); 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_call_single_arg_method_q_finish: 1585s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1585s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1585s # * @error: Return location for error or %NULL. 1585s # * 1585s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1585s # * 1585s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1585s # */ 1585s # gboolean 1585s # org_project_useful_interface_call_single_arg_method_q_finish ( 1585s # OrgProjectUsefulInterface *proxy, 1585s # GAsyncResult *res, 1585s # GError **error) 1585s # { 1585s # GVariant *_ret; 1585s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1585s # if (_ret == NULL) 1585s # goto _out; 1585s # g_variant_get (_ret, 1585s # "()"); 1585s # g_variant_unref (_ret); 1585s # _out: 1585s # return _ret != NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_call_single_arg_method_q_sync: 1585s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1585s # * @arg_arg_q: Argument to pass with the method invocation. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @error: Return location for error or %NULL. 1585s # * 1585s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1585s # * 1585s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1585s # * 1585s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1585s # */ 1585s # gboolean 1585s # org_project_useful_interface_call_single_arg_method_q_sync ( 1585s # OrgProjectUsefulInterface *proxy, 1585s # guint16 arg_arg_q, 1585s # GCancellable *cancellable, 1585s # GError **error) 1585s # { 1585s # GVariant *_ret; 1585s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1585s # "SingleArgMethodQ", 1585s # g_variant_new ("(q)", 1585s # arg_arg_q), 1585s # G_DBUS_CALL_FLAGS_NONE, 1585s # -1, 1585s # cancellable, 1585s # error); 1585s # if (_ret == NULL) 1585s # goto _out; 1585s # g_variant_get (_ret, 1585s # "()"); 1585s # g_variant_unref (_ret); 1585s # _out: 1585s # return _ret != NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_complete_single_arg_method_q: 1585s # * @object: A #OrgProjectUsefulInterface. 1585s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1585s # * 1585s # * 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. 1585s # * 1585s # * This method will free @invocation, you cannot use it afterwards. 1585s # */ 1585s # void 1585s # org_project_useful_interface_complete_single_arg_method_q ( 1585s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1585s # GDBusMethodInvocation *invocation) 1585s # { 1585s # g_dbus_method_invocation_return_value (invocation, 1585s # g_variant_new ("()")); 1585s # } 1585s # 1585s # /* ------------------------------------------------------------------------ */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceProxy: 1585s # * 1585s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1585s # */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceProxyClass: 1585s # * @parent_class: The parent class. 1585s # * 1585s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1585s # */ 1585s # 1585s # struct _OrgProjectUsefulInterfaceProxyPrivate 1585s # { 1585s # GData *qdata; 1585s # }; 1585s # 1585s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1585s # 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1585s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1585s # 1585s # #else 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1585s # 1585s # #endif 1585s # static void 1585s # org_project_useful_interface_proxy_finalize (GObject *object) 1585s # { 1585s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1585s # g_datalist_clear (&proxy->priv->qdata); 1585s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1585s # guint prop_id G_GNUC_UNUSED, 1585s # GValue *value G_GNUC_UNUSED, 1585s # GParamSpec *pspec G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1585s # guint prop_id G_GNUC_UNUSED, 1585s # const GValue *value G_GNUC_UNUSED, 1585s # GParamSpec *pspec G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1585s # const gchar *sender_name G_GNUC_UNUSED, 1585s # const gchar *signal_name, 1585s # GVariant *parameters) 1585s # { 1585s # _ExtendedGDBusSignalInfo *info; 1585s # GVariantIter iter; 1585s # GVariant *child; 1585s # GValue *paramv; 1585s # gsize num_params; 1585s # gsize n; 1585s # guint signal_id; 1585s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1585s # if (info == NULL) 1585s # return; 1585s # num_params = g_variant_n_children (parameters); 1585s # paramv = g_new0 (GValue, num_params + 1); 1585s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_value_set_object (¶mv[0], proxy); 1585s # g_variant_iter_init (&iter, parameters); 1585s # n = 1; 1585s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1585s # { 1585s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1585s # if (arg_info->use_gvariant) 1585s # { 1585s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1585s # g_value_set_variant (¶mv[n], child); 1585s # n++; 1585s # } 1585s # else 1585s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1585s # g_variant_unref (child); 1585s # } 1585s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_signal_emitv (paramv, signal_id, 0, NULL); 1585s # for (n = 0; n < num_params + 1; n++) 1585s # g_value_unset (¶mv[n]); 1585s # g_free (paramv); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1585s # GVariant *changed_properties, 1585s # const gchar *const *invalidated_properties) 1585s # { 1585s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1585s # guint n; 1585s # const gchar *key; 1585s # GVariantIter *iter; 1585s # _ExtendedGDBusPropertyInfo *info; 1585s # g_variant_get (changed_properties, "a{sv}", &iter); 1585s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1585s # { 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1585s # g_datalist_remove_data (&proxy->priv->qdata, key); 1585s # if (info != NULL) 1585s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1585s # } 1585s # g_variant_iter_free (iter); 1585s # for (n = 0; invalidated_properties[n] != NULL; n++) 1585s # { 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1585s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1585s # if (info != NULL) 1585s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1585s # } 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1585s # { 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1585s # #else 1585s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1585s # #endif 1585s # 1585s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1585s # { 1585s # GObjectClass *gobject_class; 1585s # GDBusProxyClass *proxy_class; 1585s # 1585s # gobject_class = G_OBJECT_CLASS (klass); 1585s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1585s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1585s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1585s # 1585s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1585s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1585s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1585s # 1585s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1585s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1585s # #endif 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new: 1585s # * @connection: A #GDBusConnection. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1585s # * @user_data: User data to pass to @callback. 1585s # * 1585s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1585s # * 1585s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1585s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1585s # * 1585s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1585s # */ 1585s # void 1585s # org_project_useful_interface_proxy_new ( 1585s # GDBusConnection *connection, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GAsyncReadyCallback callback, 1585s # gpointer user_data) 1585s # { 1585s # g_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); 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_finish: 1585s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_finish ( 1585s # GAsyncResult *res, 1585s # GError **error) 1585s # { 1585s # GObject *ret; 1585s # GObject *source_object; 1585s # source_object = g_async_result_get_source_object (res); 1585s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1585s # g_object_unref (source_object); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_sync: 1585s # * @connection: A #GDBusConnection. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1585s # * 1585s # * The calling thread is blocked until a reply is received. 1585s # * 1585s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_sync ( 1585s # GDBusConnection *connection, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GError **error) 1585s # { 1585s # GInitable *ret; 1585s # 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); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_for_bus: 1585s # * @bus_type: A #GBusType. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: A bus name (well-known or unique). 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1585s # * @user_data: User data to pass to @callback. 1585s # * 1585s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1585s # * 1585s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1585s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1585s # * 1585s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1585s # */ 1585s # void 1585s # org_project_useful_interface_proxy_new_for_bus ( 1585s # GBusType bus_type, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GAsyncReadyCallback callback, 1585s # gpointer user_data) 1585s # { 1585s # g_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); 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_for_bus_finish: 1585s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_for_bus_finish ( 1585s # GAsyncResult *res, 1585s # GError **error) 1585s # { 1585s # GObject *ret; 1585s # GObject *source_object; 1585s # source_object = g_async_result_get_source_object (res); 1585s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1585s # g_object_unref (source_object); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_proxy_new_for_bus_sync: 1585s # * @bus_type: A #GBusType. 1585s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1585s # * @name: A bus name (well-known or unique). 1585s # * @object_path: An object path. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @error: Return location for error or %NULL 1585s # * 1585s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1585s # * 1585s # * The calling thread is blocked until a reply is received. 1585s # * 1585s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_proxy_new_for_bus_sync ( 1585s # GBusType bus_type, 1585s # GDBusProxyFlags flags, 1585s # const gchar *name, 1585s # const gchar *object_path, 1585s # GCancellable *cancellable, 1585s # GError **error) 1585s # { 1585s # GInitable *ret; 1585s # 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); 1585s # if (ret != NULL) 1585s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1585s # else 1585s # return NULL; 1585s # } 1585s # 1585s # 1585s # /* ------------------------------------------------------------------------ */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceSkeleton: 1585s # * 1585s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1585s # */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceSkeletonClass: 1585s # * @parent_class: The parent class. 1585s # * 1585s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1585s # */ 1585s # 1585s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1585s # { 1585s # GValue *properties; 1585s # GList *changed_properties; 1585s # GSource *changed_properties_idle_source; 1585s # GMainContext *context; 1585s # GMutex lock; 1585s # }; 1585s # 1585s # static void 1585s # _org_project_useful_interface_skeleton_handle_method_call ( 1585s # GDBusConnection *connection G_GNUC_UNUSED, 1585s # const gchar *sender G_GNUC_UNUSED, 1585s # const gchar *object_path G_GNUC_UNUSED, 1585s # const gchar *interface_name, 1585s # const gchar *method_name, 1585s # GVariant *parameters, 1585s # GDBusMethodInvocation *invocation, 1585s # gpointer user_data) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1585s # _ExtendedGDBusMethodInfo *info; 1585s # GVariantIter iter; 1585s # GVariant *child; 1585s # GValue *paramv; 1585s # gsize num_params; 1585s # guint num_extra; 1585s # gsize n; 1585s # guint signal_id; 1585s # GValue return_value = G_VALUE_INIT; 1585s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1585s # g_assert (info != NULL); 1585s # num_params = g_variant_n_children (parameters); 1585s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1585s # n = 0; 1585s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_value_set_object (¶mv[n++], skeleton); 1585s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1585s # g_value_set_object (¶mv[n++], invocation); 1585s # if (info->pass_fdlist) 1585s # { 1585s # #ifdef G_OS_UNIX 1585s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1585s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1585s # #else 1585s # g_assert_not_reached (); 1585s # #endif 1585s # } 1585s # g_variant_iter_init (&iter, parameters); 1585s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1585s # { 1585s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1585s # if (arg_info->use_gvariant) 1585s # { 1585s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1585s # g_value_set_variant (¶mv[n], child); 1585s # n++; 1585s # } 1585s # else 1585s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1585s # g_variant_unref (child); 1585s # } 1585s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1585s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1585s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1585s # if (!g_value_get_boolean (&return_value)) 1585s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1585s # g_value_unset (&return_value); 1585s # for (n = 0; n < num_params + num_extra; n++) 1585s # g_value_unset (¶mv[n]); 1585s # g_free (paramv); 1585s # } 1585s # 1585s # static GVariant * 1585s # _org_project_useful_interface_skeleton_handle_get_property ( 1585s # GDBusConnection *connection G_GNUC_UNUSED, 1585s # const gchar *sender G_GNUC_UNUSED, 1585s # const gchar *object_path G_GNUC_UNUSED, 1585s # const gchar *interface_name G_GNUC_UNUSED, 1585s # const gchar *property_name, 1585s # GError **error, 1585s # gpointer user_data) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1585s # GValue value = G_VALUE_INIT; 1585s # GParamSpec *pspec; 1585s # _ExtendedGDBusPropertyInfo *info; 1585s # GVariant *ret; 1585s # ret = NULL; 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1585s # g_assert (info != NULL); 1585s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1585s # if (pspec == NULL) 1585s # { 1585s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1585s # } 1585s # else 1585s # { 1585s # g_value_init (&value, pspec->value_type); 1585s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1585s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1585s # g_value_unset (&value); 1585s # } 1585s # return ret; 1585s # } 1585s # 1585s # static gboolean 1585s # _org_project_useful_interface_skeleton_handle_set_property ( 1585s # GDBusConnection *connection G_GNUC_UNUSED, 1585s # const gchar *sender G_GNUC_UNUSED, 1585s # const gchar *object_path G_GNUC_UNUSED, 1585s # const gchar *interface_name G_GNUC_UNUSED, 1585s # const gchar *property_name, 1585s # GVariant *variant, 1585s # GError **error, 1585s # gpointer user_data) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1585s # GValue value = G_VALUE_INIT; 1585s # GParamSpec *pspec; 1585s # _ExtendedGDBusPropertyInfo *info; 1585s # gboolean ret; 1585s # ret = FALSE; 1585s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1585s # g_assert (info != NULL); 1585s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1585s # if (pspec == NULL) 1585s # { 1585s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1585s # } 1585s # else 1585s # { 1585s # if (info->use_gvariant) 1585s # g_value_set_variant (&value, variant); 1585s # else 1585s # g_dbus_gvariant_to_gvalue (variant, &value); 1585s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1585s # g_value_unset (&value); 1585s # ret = TRUE; 1585s # } 1585s # return ret; 1585s # } 1585s # 1585s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1585s # { 1585s # _org_project_useful_interface_skeleton_handle_method_call, 1585s # _org_project_useful_interface_skeleton_handle_get_property, 1585s # _org_project_useful_interface_skeleton_handle_set_property, 1585s # {NULL} 1585s # }; 1585s # 1585s # static GDBusInterfaceInfo * 1585s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1585s # { 1585s # return org_project_useful_interface_interface_info (); 1585s # } 1585s # 1585s # static GDBusInterfaceVTable * 1585s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1585s # { 1585s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1585s # } 1585s # 1585s # static GVariant * 1585s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1585s # 1585s # GVariantBuilder builder; 1585s # guint n; 1585s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1585s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1585s # goto out; 1585s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1585s # { 1585s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1585s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1585s # { 1585s # GVariant *value; 1585s # 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); 1585s # if (value != NULL) 1585s # { 1585s # g_variant_take_ref (value); 1585s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1585s # g_variant_unref (value); 1585s # } 1585s # } 1585s # } 1585s # out: 1585s # return g_variant_builder_end (&builder); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1585s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1585s # 1585s # #else 1585s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1585s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1585s # 1585s # #endif 1585s # static void 1585s # org_project_useful_interface_skeleton_finalize (GObject *object) 1585s # { 1585s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1585s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1585s # if (skeleton->priv->changed_properties_idle_source != NULL) 1585s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1585s # g_main_context_unref (skeleton->priv->context); 1585s # g_mutex_clear (&skeleton->priv->lock); 1585s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1585s # { 1585s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1585s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1585s # #else 1585s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1585s # #endif 1585s # 1585s # g_mutex_init (&skeleton->priv->lock); 1585s # skeleton->priv->context = g_main_context_ref_thread_default (); 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1585s # { 1585s # GObjectClass *gobject_class; 1585s # GDBusInterfaceSkeletonClass *skeleton_class; 1585s # 1585s # gobject_class = G_OBJECT_CLASS (klass); 1585s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1585s # 1585s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1585s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1585s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1585s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1585s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1585s # 1585s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1585s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1585s # #endif 1585s # } 1585s # 1585s # static void 1585s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1585s # { 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_skeleton_new: 1585s # * 1585s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1585s # * 1585s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1585s # */ 1585s # OrgProjectUsefulInterface * 1585s # org_project_useful_interface_skeleton_new (void) 1585s # { 1585s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1585s # } 1585s # /tmp/tmpqis8wy1w/tmp3h5ghgos.xml: 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # 1585s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmp3h5ghgos.xml', '--output', '-', '--body'] 1585s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1585s # Output: /* 1585s # * This file is generated by gdbus-codegen, do not modify it. 1585s # * 1585s # * The license of this code is the same as for the D-Bus interface description 1585s # * it was derived from. Note that it links to GLib, so must comply with the 1585s # * LGPL linking clauses. 1585s # */ 1585s # 1585s # #ifdef HAVE_CONFIG_H 1585s # # include "config.h" 1585s # #endif 1585s # 1585s # #include 1585s # #ifdef G_OS_UNIX 1585s # # include 1585s # #endif 1585s # 1585s # #ifdef G_ENABLE_DEBUG 1585s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1585s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1585s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1585s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1585s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1585s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1585s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1585s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1585s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1585s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1585s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1585s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1585s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1585s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1585s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1585s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1585s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1585s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1585s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1585s # #else /* !G_ENABLE_DEBUG */ 1585s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1585s # * Do not access GValues directly in your code. Instead, use the 1585s # * g_value_get_*() functions 1585s # */ 1585s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1585s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1585s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1585s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1585s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1585s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1585s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1585s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1585s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1585s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1585s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1585s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1585s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1585s # #endif /* !G_ENABLE_DEBUG */ 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusArgInfo parent_struct; 1585s # gboolean use_gvariant; 1585s # } _ExtendedGDBusArgInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusMethodInfo parent_struct; 1585s # const gchar *signal_name; 1585s # gboolean pass_fdlist; 1585s # } _ExtendedGDBusMethodInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusSignalInfo parent_struct; 1585s # const gchar *signal_name; 1585s # } _ExtendedGDBusSignalInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusPropertyInfo parent_struct; 1585s # const gchar *hyphen_name; 1585s # guint use_gvariant : 1; 1585s # guint emits_changed_signal : 1; 1585s # } _ExtendedGDBusPropertyInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # GDBusInterfaceInfo parent_struct; 1585s # const gchar *hyphen_name; 1585s # } _ExtendedGDBusInterfaceInfo; 1585s # 1585s # typedef struct 1585s # { 1585s # const _ExtendedGDBusPropertyInfo *info; 1585s # guint prop_id; 1585s # GValue orig_value; /* the value before the change */ 1585s # } ChangedProperty; 1585s # 1585s # static void 1585s # _changed_property_free (ChangedProperty *data) 1585s # { 1585s # g_value_unset (&data->orig_value); 1585s # g_free (data); 1585s # } 1585s # 1585s # static gboolean 1585s # _g_strv_equal0 (gchar **a, gchar **b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # guint n; 1585s # if (a == NULL && b == NULL) 1585s # { 1585s # ret = TRUE; 1585s # goto out; 1585s # } 1585s # if (a == NULL || b == NULL) 1585s # goto out; 1585s # if (g_strv_length (a) != g_strv_length (b)) 1585s # goto out; 1585s # for (n = 0; a[n] != NULL; n++) 1585s # if (g_strcmp0 (a[n], b[n]) != 0) 1585s # goto out; 1585s # ret = TRUE; 1585s # out: 1585s # return ret; 1585s # } 1585s # 1585s # static gboolean 1585s # _g_variant_equal0 (GVariant *a, GVariant *b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # if (a == NULL && b == NULL) 1585s # { 1585s # ret = TRUE; 1585s # goto out; 1585s # } 1585s # if (a == NULL || b == NULL) 1585s # goto out; 1585s # ret = g_variant_equal (a, b); 1585s # out: 1585s # return ret; 1585s # } 1585s # 1585s # G_GNUC_UNUSED static gboolean 1585s # _g_value_equal (const GValue *a, const GValue *b) 1585s # { 1585s # gboolean ret = FALSE; 1585s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1585s # switch (G_VALUE_TYPE (a)) 1585s # { 1585s # case G_TYPE_BOOLEAN: 1585s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1585s # break; 1585s # case G_TYPE_UCHAR: 1585s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1585s # break; 1585s # case G_TYPE_INT: 1585s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1585s # break; 1585s # case G_TYPE_UINT: 1585s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1585s # break; 1585s # case G_TYPE_INT64: 1585s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1585s # break; 1585s # case G_TYPE_UINT64: 1585s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1585s # break; 1585s # case G_TYPE_DOUBLE: 1585s # { 1585s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1585s # gdouble da = g_value_get_double (a); 1585s # gdouble db = g_value_get_double (b); 1585s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1585s # } 1585s # break; 1585s # case G_TYPE_STRING: 1585s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1585s # break; 1585s # case G_TYPE_VARIANT: 1585s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1585s # break; 1585s # default: 1585s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1585s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1585s # else 1585s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1585s # break; 1585s # } 1585s # return ret; 1585s # } 1585s # 1585s # static void 1585s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1585s # GClosure *closure, 1585s # GValue *return_value, 1585s # unsigned int n_param_values, 1585s # const GValue *param_values, 1585s # void *invocation_hint G_GNUC_UNUSED, 1585s # void *marshal_data) 1585s # { 1585s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1585s # (void *data1, 1585s # GDBusMethodInvocation *arg_method_invocation, 1585s # gint arg_arg_i, 1585s # void *data2); 1585s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1585s # GCClosure *cc = (GCClosure*) closure; 1585s # void *data1, *data2; 1585s # gboolean v_return; 1585s # 1585s # g_return_if_fail (return_value != NULL); 1585s # g_return_if_fail (n_param_values == 3); 1585s # 1585s # if (G_CCLOSURE_SWAP_DATA (closure)) 1585s # { 1585s # data1 = closure->data; 1585s # data2 = g_value_peek_pointer (param_values + 0); 1585s # } 1585s # else 1585s # { 1585s # data1 = g_value_peek_pointer (param_values + 0); 1585s # data2 = closure->data; 1585s # } 1585s # 1585s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1585s # (marshal_data ? marshal_data : cc->callback); 1585s # 1585s # v_return = 1585s # callback (data1, 1585s # g_marshal_value_peek_object (param_values + 1), 1585s # g_marshal_value_peek_int (param_values + 2), 1585s # data2); 1585s # 1585s # g_value_set_boolean (return_value, v_return); 1585s # } 1585s # 1585s # /* ------------------------------------------------------------------------ 1585s # * Code for interface org.project.UsefulInterface 1585s # * ------------------------------------------------------------------------ 1585s # */ 1585s # 1585s # /** 1585s # * SECTION:OrgProjectUsefulInterface 1585s # * @title: OrgProjectUsefulInterface 1585s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1585s # * 1585s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1585s # */ 1585s # 1585s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1585s # 1585s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "arg_i", 1585s # (gchar *) "i", 1585s # NULL 1585s # }, 1585s # FALSE 1585s # }; 1585s # 1585s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1585s # { 1585s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1585s # NULL 1585s # }; 1585s # 1585s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "SingleArgMethodI", 1585s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1585s # NULL, 1585s # NULL 1585s # }, 1585s # "handle-single-arg-method-i", 1585s # FALSE 1585s # }; 1585s # 1585s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1585s # { 1585s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1585s # NULL 1585s # }; 1585s # 1585s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1585s # { 1585s # { 1585s # -1, 1585s # (gchar *) "org.project.UsefulInterface", 1585s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1585s # NULL, 1585s # NULL, 1585s # NULL 1585s # }, 1585s # "org-project-useful-interface", 1585s # }; 1585s # 1585s # 1585s # /** 1585s # * org_project_useful_interface_interface_info: 1585s # * 1585s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1585s # * 1585s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1585s # */ 1585s # GDBusInterfaceInfo * 1585s # org_project_useful_interface_interface_info (void) 1585s # { 1585s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_override_properties: 1585s # * @klass: The class structure for a #GObject derived class. 1585s # * @property_id_begin: The property id to assign to the first overridden property. 1585s # * 1585s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1585s # * The properties are overridden in the order they are defined. 1585s # * 1585s # * Returns: The last property id. 1585s # */ 1585s # guint 1585s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1585s # { 1585s # return property_id_begin - 1; 1585s # } 1585s # 1585s # 1585s # inline static void 1585s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1585s # GClosure *closure, 1585s # GValue *return_value, 1585s # unsigned int n_param_values, 1585s # const GValue *param_values, 1585s # void *invocation_hint, 1585s # void *marshal_data) 1585s # { 1585s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1585s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1585s # } 1585s # 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterface: 1585s # * 1585s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1585s # */ 1585s # 1585s # /** 1585s # * OrgProjectUsefulInterfaceIface: 1585s # * @parent_iface: The parent interface. 1585s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1585s # * 1585s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1585s # */ 1585s # 1585s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1585s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1585s # 1585s # static void 1585s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1585s # { 1585s # /* GObject signals for incoming D-Bus method calls: */ 1585s # /** 1585s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1585s # * @object: A #OrgProjectUsefulInterface. 1585s # * @invocation: A #GDBusMethodInvocation. 1585s # * @arg_arg_i: Argument passed by remote caller. 1585s # * 1585s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1585s # * 1585s # * 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. 1585s # * 1585s # * 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. 1585s # */ 1585s # g_signal_new ("handle-single-arg-method-i", 1585s # G_TYPE_FROM_INTERFACE (iface), 1585s # G_SIGNAL_RUN_LAST, 1585s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1585s # g_signal_accumulator_true_handled, 1585s # NULL, 1585s # org_project_useful_interface_method_marshal_single_arg_method_i, 1585s # G_TYPE_BOOLEAN, 1585s # 2, 1585s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1585s # 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_call_single_arg_method_i: 1585s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1585s # * @arg_arg_i: Argument to pass with the method invocation. 1585s # * @cancellable: (nullable): A #GCancellable or %NULL. 1585s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1585s # * @user_data: User data to pass to @callback. 1585s # * 1585s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1585s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1585s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1585s # * 1585s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1585s # */ 1585s # void 1585s # org_project_useful_interface_call_single_arg_method_i ( 1585s # OrgProjectUsefulInterface *proxy, 1585s # gint arg_arg_i, 1585s # GCancellable *cancellable, 1585s # GAsyncReadyCallback callback, 1585s # gpointer user_data) 1585s # { 1585s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1585s # "SingleArgMethodI", 1585s # g_variant_new ("(i)", 1585s # arg_arg_i), 1585s # G_DBUS_CALL_FLAGS_NONE, 1585s # -1, 1585s # cancellable, 1585s # callback, 1585s # user_data); 1585s # } 1585s # 1585s # /** 1585s # * org_project_useful_interface_call_single_arg_method_i_finish: 1585s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1585s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_i_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_i_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_i: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_i_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # gint arg_arg_i, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodI", 1586s # g_variant_new ("(i)", 1586s # arg_arg_i), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_i: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_i ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("()")); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmpqis8wy1w/tmpr5gvgkv6.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmpr5gvgkv6.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # guint arg_arg_u, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 3); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # g_marshal_value_peek_uint (param_values + 2), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_u", 1586s # (gchar *) "u", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodU", 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-u", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * @arg_arg_u: Argument passed by remote caller. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-u", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_u, 1586s # G_TYPE_BOOLEAN, 1586s # 2, 1586s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_u: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_u: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_u ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # guint arg_arg_u, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodU", 1586s # g_variant_new ("(u)", 1586s # arg_arg_u), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_u_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_u_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_u_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_u: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_u_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # guint arg_arg_u, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodU", 1586s # g_variant_new ("(u)", 1586s # arg_arg_u), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_u: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_u ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("()")); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmpqis8wy1w/tmpy0ykk9ca.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmpy0ykk9ca.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # gint64 arg_arg_x, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 3); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # g_marshal_value_peek_int64 (param_values + 2), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_x", 1586s # (gchar *) "x", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodX", 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-x", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * @arg_arg_x: Argument passed by remote caller. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-x", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_x, 1586s # G_TYPE_BOOLEAN, 1586s # 2, 1586s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_x: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_x: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_x ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # gint64 arg_arg_x, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodX", 1586s # g_variant_new ("(x)", 1586s # arg_arg_x), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_x_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_x_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_x_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_x: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_x_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # gint64 arg_arg_x, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodX", 1586s # g_variant_new ("(x)", 1586s # arg_arg_x), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_x: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_x ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("()")); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmpqis8wy1w/tmp65lzltd2.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmp65lzltd2.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # guint64 arg_arg_t, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 3); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # g_marshal_value_peek_uint64 (param_values + 2), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_t", 1586s # (gchar *) "t", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodT", 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-t", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * @arg_arg_t: Argument passed by remote caller. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-t", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_t, 1586s # G_TYPE_BOOLEAN, 1586s # 2, 1586s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_t: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_t: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_t ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # guint64 arg_arg_t, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodT", 1586s # g_variant_new ("(t)", 1586s # arg_arg_t), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_t_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_t_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_t_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_t: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_t_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # guint64 arg_arg_t, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodT", 1586s # g_variant_new ("(t)", 1586s # arg_arg_t), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_t: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_t ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("()")); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmpqis8wy1w/tmpzf9fxoll.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmpzf9fxoll.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # gdouble arg_arg_d, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 3); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # g_marshal_value_peek_double (param_values + 2), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_d", 1586s # (gchar *) "d", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodD", 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-d", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * @arg_arg_d: Argument passed by remote caller. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-d", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_d, 1586s # G_TYPE_BOOLEAN, 1586s # 2, 1586s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_d: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_d: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_d ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # gdouble arg_arg_d, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodD", 1586s # g_variant_new ("(d)", 1586s # arg_arg_d), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_d_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_d_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_d_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_d: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_d_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # gdouble arg_arg_d, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodD", 1586s # g_variant_new ("(d)", 1586s # arg_arg_d), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_d: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_d ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("()")); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmpqis8wy1w/tmpddqq2nyg.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmpddqq2nyg.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # const gchar *arg_arg_s, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 3); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # g_marshal_value_peek_string (param_values + 2), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_s", 1586s # (gchar *) "s", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodS", 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-s", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * @arg_arg_s: Argument passed by remote caller. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-s", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_s, 1586s # G_TYPE_BOOLEAN, 1586s # 2, 1586s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_s: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_s: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_s ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # const gchar *arg_arg_s, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodS", 1586s # g_variant_new ("(s)", 1586s # arg_arg_s), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_s_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_s_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_s_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_s: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_s_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # const gchar *arg_arg_s, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodS", 1586s # g_variant_new ("(s)", 1586s # arg_arg_s), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_s: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_s ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("()")); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmpqis8wy1w/tmpmgyahyub.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmpmgyahyub.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # const gchar *arg_arg_o, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 3); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # g_marshal_value_peek_string (param_values + 2), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_o", 1586s # (gchar *) "o", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodO", 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-o", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * @arg_arg_o: Argument passed by remote caller. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-o", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_o, 1586s # G_TYPE_BOOLEAN, 1586s # 2, 1586s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_o: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_o: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_o ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # const gchar *arg_arg_o, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodO", 1586s # g_variant_new ("(o)", 1586s # arg_arg_o), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_o_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_o_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_o_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_o: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_o_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # const gchar *arg_arg_o, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodO", 1586s # g_variant_new ("(o)", 1586s # arg_arg_o), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_o: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_o ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("()")); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmpqis8wy1w/tmpww4swz2d.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmpww4swz2d.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # const gchar *arg_arg_g, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 3); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # g_marshal_value_peek_string (param_values + 2), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_g", 1586s # (gchar *) "g", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodG", 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-g", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * @arg_arg_g: Argument passed by remote caller. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-g", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_g, 1586s # G_TYPE_BOOLEAN, 1586s # 2, 1586s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_g: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_g: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_g ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # const gchar *arg_arg_g, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodG", 1586s # g_variant_new ("(g)", 1586s # arg_arg_g), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_g_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_g_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_g_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_g: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_g_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # const gchar *arg_arg_g, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodG", 1586s # g_variant_new ("(g)", 1586s # arg_arg_g), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_g: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_g ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("()")); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmpqis8wy1w/tmp731ytua9.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmp731ytua9.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # GVariant *arg_arg_h, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 3); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # g_marshal_value_peek_variant (param_values + 2), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_h", 1586s # (gchar *) "h", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodH", 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-h", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * @arg_arg_h: Argument passed by remote caller. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-h", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_h, 1586s # G_TYPE_BOOLEAN, 1586s # 2, 1586s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_h: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_h: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_h ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GVariant *arg_arg_h, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodH", 1586s # g_variant_new ("(@h)", 1586s # arg_arg_h), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_h_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_h_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_h_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_h: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_h_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GVariant *arg_arg_h, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodH", 1586s # g_variant_new ("(@h)", 1586s # arg_arg_h), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_h: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_h ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("()")); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmpqis8wy1w/tmp67t79q1c.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmp67t79q1c.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # const gchar *arg_arg_ay, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 3); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # g_marshal_value_peek_string (param_values + 2), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_ay", 1586s # (gchar *) "ay", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodAy", 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-ay", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * @arg_arg_ay: Argument passed by remote caller. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-ay", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1586s # G_TYPE_BOOLEAN, 1586s # 2, 1586s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_ay: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_ay: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_ay ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # const gchar *arg_arg_ay, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodAy", 1586s # g_variant_new ("(^ay)", 1586s # arg_arg_ay), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_ay: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # const gchar *arg_arg_ay, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodAy", 1586s # g_variant_new ("(^ay)", 1586s # arg_arg_ay), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_ay: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_ay ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("()")); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmpqis8wy1w/tmp5vzu88rd.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmp5vzu88rd.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # const gchar *const *arg_arg_as, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 3); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # g_marshal_value_peek_boxed (param_values + 2), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_as", 1586s # (gchar *) "as", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodAs", 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-as", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * @arg_arg_as: Argument passed by remote caller. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-as", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_as, 1586s # G_TYPE_BOOLEAN, 1586s # 2, 1586s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_as: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_as: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_as ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # const gchar *const *arg_arg_as, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodAs", 1586s # g_variant_new ("(^as)", 1586s # arg_arg_as), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_as_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_as_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_as_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_as: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_as_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # const gchar *const *arg_arg_as, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodAs", 1586s # g_variant_new ("(^as)", 1586s # arg_arg_as), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_as: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_as ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("()")); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmpqis8wy1w/tmpjxaxd390.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmpjxaxd390.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # const gchar *const *arg_arg_ao, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 3); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # g_marshal_value_peek_boxed (param_values + 2), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_ao", 1586s # (gchar *) "ao", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodAo", 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-ao", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * @arg_arg_ao: Argument passed by remote caller. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-ao", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1586s # G_TYPE_BOOLEAN, 1586s # 2, 1586s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_ao: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_ao: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_ao ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # const gchar *const *arg_arg_ao, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodAo", 1586s # g_variant_new ("(^ao)", 1586s # arg_arg_ao), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_ao: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # const gchar *const *arg_arg_ao, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodAo", 1586s # g_variant_new ("(^ao)", 1586s # arg_arg_ao), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_ao: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_ao ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("()")); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmpqis8wy1w/tmpsn3wmy_h.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmpsn3wmy_h.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # const gchar *const *arg_arg_aay, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 3); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # g_marshal_value_peek_boxed (param_values + 2), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_aay", 1586s # (gchar *) "aay", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodAay", 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-aay", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * @arg_arg_aay: Argument passed by remote caller. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-aay", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1586s # G_TYPE_BOOLEAN, 1586s # 2, 1586s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_aay: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_aay: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_aay ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # const gchar *const *arg_arg_aay, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodAay", 1586s # g_variant_new ("(^aay)", 1586s # arg_arg_aay), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_aay: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # const gchar *const *arg_arg_aay, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodAay", 1586s # g_variant_new ("(^aay)", 1586s # arg_arg_aay), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_aay: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_aay ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("()")); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmpqis8wy1w/tmpg39xabzw.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqis8wy1w/tmpg39xabzw.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # GVariant *arg_arg_asv, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 3); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # g_marshal_value_peek_variant (param_values + 2), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_asv", 1586s # (gchar *) "a{sv}", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodAsv", 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-asv", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * @arg_arg_asv: Argument passed by remote caller. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-asv", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1586s # G_TYPE_BOOLEAN, 1586s # 2, 1586s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_asv: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_asv: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_asv ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GVariant *arg_arg_asv, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodAsv", 1586s # g_variant_new ("(@a{sv})", 1586s # arg_arg_asv), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @arg_arg_asv: Argument to pass with the method invocation. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GVariant *arg_arg_asv, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodAsv", 1586s # g_variant_new ("(@a{sv})", 1586s # arg_arg_asv), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "()"); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_asv: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_asv ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("()")); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1586s # tmpdir: /tmp/tmp4zfwqow_ 1586s # codegen: /usr/bin/gdbus-codegen 1586s # /tmp/tmp4zfwqow_/tmpdp9n5gt1.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmpdp9n5gt1.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 2); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_b", 1586s # (gchar *) "b", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodB", 1586s # NULL, 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-b", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-b", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_b, 1586s # G_TYPE_BOOLEAN, 1586s # 1, 1586s # G_TYPE_DBUS_METHOD_INVOCATION); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_b: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_b ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodB", 1586s # g_variant_new ("()"), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_b_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_b_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # gboolean *out_arg_b, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "(b)", 1586s # out_arg_b); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_b_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_b_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # gboolean *out_arg_b, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodB", 1586s # g_variant_new ("()"), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "(b)", 1586s # out_arg_b); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_b: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * @arg_b: Parameter to return. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_b ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation, 1586s # gboolean arg_b) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("(b)", 1586s # arg_b)); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmp4zfwqow_/tmpa0fic4lo.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmpa0fic4lo.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 2); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_y", 1586s # (gchar *) "y", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodY", 1586s # NULL, 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-y", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-y", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_y, 1586s # G_TYPE_BOOLEAN, 1586s # 1, 1586s # G_TYPE_DBUS_METHOD_INVOCATION); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_y: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_y ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodY", 1586s # g_variant_new ("()"), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_y_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_y_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # guchar *out_arg_y, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "(y)", 1586s # out_arg_y); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_y_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_y_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # guchar *out_arg_y, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodY", 1586s # g_variant_new ("()"), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "(y)", 1586s # out_arg_y); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_y: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * @arg_y: Parameter to return. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_y ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation, 1586s # guchar arg_y) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("(y)", 1586s # arg_y)); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmp4zfwqow_/tmptu6yrgpi.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmptu6yrgpi.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 2); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_n", 1586s # (gchar *) "n", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodN", 1586s # NULL, 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-n", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-n", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_n, 1586s # G_TYPE_BOOLEAN, 1586s # 1, 1586s # G_TYPE_DBUS_METHOD_INVOCATION); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_n: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_n ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodN", 1586s # g_variant_new ("()"), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_n_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_n_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # gint16 *out_arg_n, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "(n)", 1586s # out_arg_n); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_n_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_n_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # gint16 *out_arg_n, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodN", 1586s # g_variant_new ("()"), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "(n)", 1586s # out_arg_n); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_n: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * @arg_n: Parameter to return. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_n ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation, 1586s # gint16 arg_n) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("(n)", 1586s # arg_n)); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmp4zfwqow_/tmpqw_u96bp.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmpqw_u96bp.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 2); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_q", 1586s # (gchar *) "q", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodQ", 1586s # NULL, 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-q", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1586s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1586s # * 1586s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1586s # */ 1586s # GDBusInterfaceInfo * 1586s # org_project_useful_interface_interface_info (void) 1586s # { 1586s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_override_properties: 1586s # * @klass: The class structure for a #GObject derived class. 1586s # * @property_id_begin: The property id to assign to the first overridden property. 1586s # * 1586s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1586s # * The properties are overridden in the order they are defined. 1586s # * 1586s # * Returns: The last property id. 1586s # */ 1586s # guint 1586s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1586s # { 1586s # return property_id_begin - 1; 1586s # } 1586s # 1586s # 1586s # inline static void 1586s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint, 1586s # void *marshal_data) 1586s # { 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1586s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1586s # } 1586s # 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterface: 1586s # * 1586s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceIface: 1586s # * @parent_iface: The parent interface. 1586s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1586s # * 1586s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1586s # */ 1586s # 1586s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1586s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1586s # 1586s # static void 1586s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1586s # { 1586s # /* GObject signals for incoming D-Bus method calls: */ 1586s # /** 1586s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: A #GDBusMethodInvocation. 1586s # * 1586s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1586s # * 1586s # * 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. 1586s # * 1586s # * 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. 1586s # */ 1586s # g_signal_new ("handle-single-arg-method-q", 1586s # G_TYPE_FROM_INTERFACE (iface), 1586s # G_SIGNAL_RUN_LAST, 1586s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1586s # g_signal_accumulator_true_handled, 1586s # NULL, 1586s # org_project_useful_interface_method_marshal_single_arg_method_q, 1586s # G_TYPE_BOOLEAN, 1586s # 1, 1586s # G_TYPE_DBUS_METHOD_INVOCATION); 1586s # 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_q: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1586s # */ 1586s # void 1586s # org_project_useful_interface_call_single_arg_method_q ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodQ", 1586s # g_variant_new ("()"), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # callback, 1586s # user_data); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_q_finish: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_q_finish ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # guint16 *out_arg_q, 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "(q)", 1586s # out_arg_q); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_call_single_arg_method_q_sync: 1586s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1586s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL. 1586s # * 1586s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1586s # * 1586s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1586s # */ 1586s # gboolean 1586s # org_project_useful_interface_call_single_arg_method_q_sync ( 1586s # OrgProjectUsefulInterface *proxy, 1586s # guint16 *out_arg_q, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GVariant *_ret; 1586s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1586s # "SingleArgMethodQ", 1586s # g_variant_new ("()"), 1586s # G_DBUS_CALL_FLAGS_NONE, 1586s # -1, 1586s # cancellable, 1586s # error); 1586s # if (_ret == NULL) 1586s # goto _out; 1586s # g_variant_get (_ret, 1586s # "(q)", 1586s # out_arg_q); 1586s # g_variant_unref (_ret); 1586s # _out: 1586s # return _ret != NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_complete_single_arg_method_q: 1586s # * @object: A #OrgProjectUsefulInterface. 1586s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1586s # * @arg_q: Parameter to return. 1586s # * 1586s # * 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. 1586s # * 1586s # * This method will free @invocation, you cannot use it afterwards. 1586s # */ 1586s # void 1586s # org_project_useful_interface_complete_single_arg_method_q ( 1586s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1586s # GDBusMethodInvocation *invocation, 1586s # guint16 arg_q) 1586s # { 1586s # g_dbus_method_invocation_return_value (invocation, 1586s # g_variant_new ("(q)", 1586s # arg_q)); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxy: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceProxyClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceProxyPrivate 1586s # { 1586s # GData *qdata; 1586s # }; 1586s # 1586s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_proxy_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1586s # g_datalist_clear (&proxy->priv->qdata); 1586s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1586s # guint prop_id G_GNUC_UNUSED, 1586s # const GValue *value G_GNUC_UNUSED, 1586s # GParamSpec *pspec G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1586s # const gchar *sender_name G_GNUC_UNUSED, 1586s # const gchar *signal_name, 1586s # GVariant *parameters) 1586s # { 1586s # _ExtendedGDBusSignalInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # gsize n; 1586s # guint signal_id; 1586s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1586s # if (info == NULL) 1586s # return; 1586s # num_params = g_variant_n_children (parameters); 1586s # paramv = g_new0 (GValue, num_params + 1); 1586s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[0], proxy); 1586s # g_variant_iter_init (&iter, parameters); 1586s # n = 1; 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_signal_emitv (paramv, signal_id, 0, NULL); 1586s # for (n = 0; n < num_params + 1; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1586s # GVariant *changed_properties, 1586s # const gchar *const *invalidated_properties) 1586s # { 1586s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1586s # guint n; 1586s # const gchar *key; 1586s # GVariantIter *iter; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # g_variant_get (changed_properties, "a{sv}", &iter); 1586s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1586s # g_datalist_remove_data (&proxy->priv->qdata, key); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # g_variant_iter_free (iter); 1586s # for (n = 0; invalidated_properties[n] != NULL; n++) 1586s # { 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1586s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1586s # if (info != NULL) 1586s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1586s # } 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1586s # #else 1586s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1586s # #endif 1586s # 1586s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusProxyClass *proxy_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1586s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1586s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1586s # 1586s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1586s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1586s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_sync: 1586s # * @connection: A #GDBusConnection. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_sync ( 1586s # GDBusConnection *connection, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1586s # * @user_data: User data to pass to @callback. 1586s # * 1586s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1586s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1586s # */ 1586s # void 1586s # org_project_useful_interface_proxy_new_for_bus ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GAsyncReadyCallback callback, 1586s # gpointer user_data) 1586s # { 1586s # g_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); 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_finish: 1586s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_finish ( 1586s # GAsyncResult *res, 1586s # GError **error) 1586s # { 1586s # GObject *ret; 1586s # GObject *source_object; 1586s # source_object = g_async_result_get_source_object (res); 1586s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1586s # g_object_unref (source_object); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_proxy_new_for_bus_sync: 1586s # * @bus_type: A #GBusType. 1586s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1586s # * @name: A bus name (well-known or unique). 1586s # * @object_path: An object path. 1586s # * @cancellable: (nullable): A #GCancellable or %NULL. 1586s # * @error: Return location for error or %NULL 1586s # * 1586s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1586s # * 1586s # * The calling thread is blocked until a reply is received. 1586s # * 1586s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_proxy_new_for_bus_sync ( 1586s # GBusType bus_type, 1586s # GDBusProxyFlags flags, 1586s # const gchar *name, 1586s # const gchar *object_path, 1586s # GCancellable *cancellable, 1586s # GError **error) 1586s # { 1586s # GInitable *ret; 1586s # 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); 1586s # if (ret != NULL) 1586s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1586s # else 1586s # return NULL; 1586s # } 1586s # 1586s # 1586s # /* ------------------------------------------------------------------------ */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeleton: 1586s # * 1586s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1586s # */ 1586s # 1586s # /** 1586s # * OrgProjectUsefulInterfaceSkeletonClass: 1586s # * @parent_class: The parent class. 1586s # * 1586s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1586s # */ 1586s # 1586s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1586s # { 1586s # GValue *properties; 1586s # GList *changed_properties; 1586s # GSource *changed_properties_idle_source; 1586s # GMainContext *context; 1586s # GMutex lock; 1586s # }; 1586s # 1586s # static void 1586s # _org_project_useful_interface_skeleton_handle_method_call ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name, 1586s # const gchar *method_name, 1586s # GVariant *parameters, 1586s # GDBusMethodInvocation *invocation, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # _ExtendedGDBusMethodInfo *info; 1586s # GVariantIter iter; 1586s # GVariant *child; 1586s # GValue *paramv; 1586s # gsize num_params; 1586s # guint num_extra; 1586s # gsize n; 1586s # guint signal_id; 1586s # GValue return_value = G_VALUE_INIT; 1586s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1586s # g_assert (info != NULL); 1586s # num_params = g_variant_n_children (parameters); 1586s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1586s # n = 0; 1586s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_set_object (¶mv[n++], skeleton); 1586s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1586s # g_value_set_object (¶mv[n++], invocation); 1586s # if (info->pass_fdlist) 1586s # { 1586s # #ifdef G_OS_UNIX 1586s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1586s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1586s # #else 1586s # g_assert_not_reached (); 1586s # #endif 1586s # } 1586s # g_variant_iter_init (&iter, parameters); 1586s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1586s # { 1586s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1586s # if (arg_info->use_gvariant) 1586s # { 1586s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1586s # g_value_set_variant (¶mv[n], child); 1586s # n++; 1586s # } 1586s # else 1586s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1586s # g_variant_unref (child); 1586s # } 1586s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1586s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1586s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1586s # if (!g_value_get_boolean (&return_value)) 1586s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1586s # g_value_unset (&return_value); 1586s # for (n = 0; n < num_params + num_extra; n++) 1586s # g_value_unset (¶mv[n]); 1586s # g_free (paramv); 1586s # } 1586s # 1586s # static GVariant * 1586s # _org_project_useful_interface_skeleton_handle_get_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # GVariant *ret; 1586s # ret = NULL; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # g_value_init (&value, pspec->value_type); 1586s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1586s # g_value_unset (&value); 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _org_project_useful_interface_skeleton_handle_set_property ( 1586s # GDBusConnection *connection G_GNUC_UNUSED, 1586s # const gchar *sender G_GNUC_UNUSED, 1586s # const gchar *object_path G_GNUC_UNUSED, 1586s # const gchar *interface_name G_GNUC_UNUSED, 1586s # const gchar *property_name, 1586s # GVariant *variant, 1586s # GError **error, 1586s # gpointer user_data) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1586s # GValue value = G_VALUE_INIT; 1586s # GParamSpec *pspec; 1586s # _ExtendedGDBusPropertyInfo *info; 1586s # gboolean ret; 1586s # ret = FALSE; 1586s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1586s # g_assert (info != NULL); 1586s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1586s # if (pspec == NULL) 1586s # { 1586s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1586s # } 1586s # else 1586s # { 1586s # if (info->use_gvariant) 1586s # g_value_set_variant (&value, variant); 1586s # else 1586s # g_dbus_gvariant_to_gvalue (variant, &value); 1586s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1586s # g_value_unset (&value); 1586s # ret = TRUE; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1586s # { 1586s # _org_project_useful_interface_skeleton_handle_method_call, 1586s # _org_project_useful_interface_skeleton_handle_get_property, 1586s # _org_project_useful_interface_skeleton_handle_set_property, 1586s # {NULL} 1586s # }; 1586s # 1586s # static GDBusInterfaceInfo * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return org_project_useful_interface_interface_info (); 1586s # } 1586s # 1586s # static GDBusInterfaceVTable * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1586s # { 1586s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1586s # } 1586s # 1586s # static GVariant * 1586s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1586s # 1586s # GVariantBuilder builder; 1586s # guint n; 1586s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1586s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1586s # goto out; 1586s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1586s # { 1586s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1586s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1586s # { 1586s # GVariant *value; 1586s # 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); 1586s # if (value != NULL) 1586s # { 1586s # g_variant_take_ref (value); 1586s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1586s # g_variant_unref (value); 1586s # } 1586s # } 1586s # } 1586s # out: 1586s # return g_variant_builder_end (&builder); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #else 1586s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1586s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1586s # 1586s # #endif 1586s # static void 1586s # org_project_useful_interface_skeleton_finalize (GObject *object) 1586s # { 1586s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1586s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1586s # if (skeleton->priv->changed_properties_idle_source != NULL) 1586s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1586s # g_main_context_unref (skeleton->priv->context); 1586s # g_mutex_clear (&skeleton->priv->lock); 1586s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1586s # { 1586s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1586s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1586s # #else 1586s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1586s # #endif 1586s # 1586s # g_mutex_init (&skeleton->priv->lock); 1586s # skeleton->priv->context = g_main_context_ref_thread_default (); 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1586s # { 1586s # GObjectClass *gobject_class; 1586s # GDBusInterfaceSkeletonClass *skeleton_class; 1586s # 1586s # gobject_class = G_OBJECT_CLASS (klass); 1586s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1586s # 1586s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1586s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1586s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1586s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1586s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1586s # 1586s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1586s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1586s # #endif 1586s # } 1586s # 1586s # static void 1586s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1586s # { 1586s # } 1586s # 1586s # /** 1586s # * org_project_useful_interface_skeleton_new: 1586s # * 1586s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1586s # * 1586s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1586s # */ 1586s # OrgProjectUsefulInterface * 1586s # org_project_useful_interface_skeleton_new (void) 1586s # { 1586s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1586s # } 1586s # /tmp/tmp4zfwqow_/tmpkl_flwsd.xml: 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # 1586s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmpkl_flwsd.xml', '--output', '-', '--body'] 1586s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1586s # Output: /* 1586s # * This file is generated by gdbus-codegen, do not modify it. 1586s # * 1586s # * The license of this code is the same as for the D-Bus interface description 1586s # * it was derived from. Note that it links to GLib, so must comply with the 1586s # * LGPL linking clauses. 1586s # */ 1586s # 1586s # #ifdef HAVE_CONFIG_H 1586s # # include "config.h" 1586s # #endif 1586s # 1586s # #include 1586s # #ifdef G_OS_UNIX 1586s # # include 1586s # #endif 1586s # 1586s # #ifdef G_ENABLE_DEBUG 1586s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1586s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1586s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1586s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1586s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1586s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1586s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1586s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1586s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1586s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1586s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1586s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1586s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1586s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1586s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1586s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1586s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1586s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1586s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1586s # #else /* !G_ENABLE_DEBUG */ 1586s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1586s # * Do not access GValues directly in your code. Instead, use the 1586s # * g_value_get_*() functions 1586s # */ 1586s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1586s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1586s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1586s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1586s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1586s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1586s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1586s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1586s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1586s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1586s # #endif /* !G_ENABLE_DEBUG */ 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusArgInfo parent_struct; 1586s # gboolean use_gvariant; 1586s # } _ExtendedGDBusArgInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusMethodInfo parent_struct; 1586s # const gchar *signal_name; 1586s # gboolean pass_fdlist; 1586s # } _ExtendedGDBusMethodInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusSignalInfo parent_struct; 1586s # const gchar *signal_name; 1586s # } _ExtendedGDBusSignalInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusPropertyInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # guint use_gvariant : 1; 1586s # guint emits_changed_signal : 1; 1586s # } _ExtendedGDBusPropertyInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # GDBusInterfaceInfo parent_struct; 1586s # const gchar *hyphen_name; 1586s # } _ExtendedGDBusInterfaceInfo; 1586s # 1586s # typedef struct 1586s # { 1586s # const _ExtendedGDBusPropertyInfo *info; 1586s # guint prop_id; 1586s # GValue orig_value; /* the value before the change */ 1586s # } ChangedProperty; 1586s # 1586s # static void 1586s # _changed_property_free (ChangedProperty *data) 1586s # { 1586s # g_value_unset (&data->orig_value); 1586s # g_free (data); 1586s # } 1586s # 1586s # static gboolean 1586s # _g_strv_equal0 (gchar **a, gchar **b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # guint n; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # if (g_strv_length (a) != g_strv_length (b)) 1586s # goto out; 1586s # for (n = 0; a[n] != NULL; n++) 1586s # if (g_strcmp0 (a[n], b[n]) != 0) 1586s # goto out; 1586s # ret = TRUE; 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # static gboolean 1586s # _g_variant_equal0 (GVariant *a, GVariant *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # if (a == NULL && b == NULL) 1586s # { 1586s # ret = TRUE; 1586s # goto out; 1586s # } 1586s # if (a == NULL || b == NULL) 1586s # goto out; 1586s # ret = g_variant_equal (a, b); 1586s # out: 1586s # return ret; 1586s # } 1586s # 1586s # G_GNUC_UNUSED static gboolean 1586s # _g_value_equal (const GValue *a, const GValue *b) 1586s # { 1586s # gboolean ret = FALSE; 1586s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1586s # switch (G_VALUE_TYPE (a)) 1586s # { 1586s # case G_TYPE_BOOLEAN: 1586s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1586s # break; 1586s # case G_TYPE_UCHAR: 1586s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1586s # break; 1586s # case G_TYPE_INT: 1586s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1586s # break; 1586s # case G_TYPE_UINT: 1586s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1586s # break; 1586s # case G_TYPE_INT64: 1586s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1586s # break; 1586s # case G_TYPE_UINT64: 1586s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1586s # break; 1586s # case G_TYPE_DOUBLE: 1586s # { 1586s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1586s # gdouble da = g_value_get_double (a); 1586s # gdouble db = g_value_get_double (b); 1586s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1586s # } 1586s # break; 1586s # case G_TYPE_STRING: 1586s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1586s # break; 1586s # case G_TYPE_VARIANT: 1586s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1586s # break; 1586s # default: 1586s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1586s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1586s # else 1586s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1586s # break; 1586s # } 1586s # return ret; 1586s # } 1586s # 1586s # static void 1586s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1586s # GClosure *closure, 1586s # GValue *return_value, 1586s # unsigned int n_param_values, 1586s # const GValue *param_values, 1586s # void *invocation_hint G_GNUC_UNUSED, 1586s # void *marshal_data) 1586s # { 1586s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1586s # (void *data1, 1586s # GDBusMethodInvocation *arg_method_invocation, 1586s # void *data2); 1586s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1586s # GCClosure *cc = (GCClosure*) closure; 1586s # void *data1, *data2; 1586s # gboolean v_return; 1586s # 1586s # g_return_if_fail (return_value != NULL); 1586s # g_return_if_fail (n_param_values == 2); 1586s # 1586s # if (G_CCLOSURE_SWAP_DATA (closure)) 1586s # { 1586s # data1 = closure->data; 1586s # data2 = g_value_peek_pointer (param_values + 0); 1586s # } 1586s # else 1586s # { 1586s # data1 = g_value_peek_pointer (param_values + 0); 1586s # data2 = closure->data; 1586s # } 1586s # 1586s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1586s # (marshal_data ? marshal_data : cc->callback); 1586s # 1586s # v_return = 1586s # callback (data1, 1586s # g_marshal_value_peek_object (param_values + 1), 1586s # data2); 1586s # 1586s # g_value_set_boolean (return_value, v_return); 1586s # } 1586s # 1586s # /* ------------------------------------------------------------------------ 1586s # * Code for interface org.project.UsefulInterface 1586s # * ------------------------------------------------------------------------ 1586s # */ 1586s # 1586s # /** 1586s # * SECTION:OrgProjectUsefulInterface 1586s # * @title: OrgProjectUsefulInterface 1586s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1586s # * 1586s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1586s # */ 1586s # 1586s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1586s # 1586s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "arg_i", 1586s # (gchar *) "i", 1586s # NULL 1586s # }, 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "SingleArgMethodI", 1586s # NULL, 1586s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1586s # NULL 1586s # }, 1586s # "handle-single-arg-method-i", 1586s # FALSE 1586s # }; 1586s # 1586s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1586s # { 1586s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1586s # NULL 1586s # }; 1586s # 1586s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1586s # { 1586s # { 1586s # -1, 1586s # (gchar *) "org.project.UsefulInterface", 1586s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1586s # NULL, 1586s # NULL, 1586s # NULL 1586s # }, 1586s # "org-project-useful-interface", 1586s # }; 1586s # 1586s # 1586s # /** 1586s # * org_project_useful_interface_interface_info: 1586s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-single-arg-method-i", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_useful_interface_method_marshal_single_arg_method_i, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_i: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_useful_interface_call_single_arg_method_i ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodI", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_i_finish: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_i_finish ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gint *out_arg_i, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(i)", 1587s # out_arg_i); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_i_sync: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_i_sync ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gint *out_arg_i, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodI", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(i)", 1587s # out_arg_i); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_complete_single_arg_method_i: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @arg_i: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_useful_interface_complete_single_arg_method_i ( 1587s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # gint arg_i) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(i)", 1587s # arg_i)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s # /tmp/tmp4zfwqow_/tmpg1kiiekf.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmpg1kiiekf.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.UsefulInterface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectUsefulInterface 1587s # * @title: OrgProjectUsefulInterface 1587s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "arg_u", 1587s # (gchar *) "u", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgMethodU", 1587s # NULL, 1587s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-single-arg-method-u", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.UsefulInterface", 1587s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-useful-interface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-single-arg-method-u", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_useful_interface_method_marshal_single_arg_method_u, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_u: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_useful_interface_call_single_arg_method_u ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodU", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_u_finish: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_u_finish ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # guint *out_arg_u, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(u)", 1587s # out_arg_u); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_u_sync: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_u_sync ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # guint *out_arg_u, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodU", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(u)", 1587s # out_arg_u); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_complete_single_arg_method_u: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @arg_u: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_useful_interface_complete_single_arg_method_u ( 1587s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # guint arg_u) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(u)", 1587s # arg_u)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s # /tmp/tmp4zfwqow_/tmp3ebaa2wd.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmp3ebaa2wd.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.UsefulInterface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectUsefulInterface 1587s # * @title: OrgProjectUsefulInterface 1587s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "arg_x", 1587s # (gchar *) "x", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgMethodX", 1587s # NULL, 1587s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-single-arg-method-x", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.UsefulInterface", 1587s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-useful-interface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-single-arg-method-x", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_useful_interface_method_marshal_single_arg_method_x, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_x: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_useful_interface_call_single_arg_method_x ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodX", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_x_finish: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_x_finish ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gint64 *out_arg_x, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(x)", 1587s # out_arg_x); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_x_sync: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_x_sync ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gint64 *out_arg_x, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodX", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(x)", 1587s # out_arg_x); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_complete_single_arg_method_x: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @arg_x: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_useful_interface_complete_single_arg_method_x ( 1587s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # gint64 arg_x) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(x)", 1587s # arg_x)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s # /tmp/tmp4zfwqow_/tmp39jvxmwa.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmp39jvxmwa.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.UsefulInterface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectUsefulInterface 1587s # * @title: OrgProjectUsefulInterface 1587s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "arg_t", 1587s # (gchar *) "t", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgMethodT", 1587s # NULL, 1587s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-single-arg-method-t", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.UsefulInterface", 1587s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-useful-interface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-single-arg-method-t", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_useful_interface_method_marshal_single_arg_method_t, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_t: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_useful_interface_call_single_arg_method_t ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodT", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_t_finish: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_t_finish ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # guint64 *out_arg_t, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(t)", 1587s # out_arg_t); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_t_sync: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_t_sync ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # guint64 *out_arg_t, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodT", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(t)", 1587s # out_arg_t); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_complete_single_arg_method_t: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @arg_t: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_useful_interface_complete_single_arg_method_t ( 1587s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # guint64 arg_t) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(t)", 1587s # arg_t)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s # /tmp/tmp4zfwqow_/tmp29kozbar.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmp29kozbar.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.UsefulInterface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectUsefulInterface 1587s # * @title: OrgProjectUsefulInterface 1587s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "arg_d", 1587s # (gchar *) "d", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgMethodD", 1587s # NULL, 1587s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-single-arg-method-d", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.UsefulInterface", 1587s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-useful-interface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-single-arg-method-d", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_useful_interface_method_marshal_single_arg_method_d, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_d: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_useful_interface_call_single_arg_method_d ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodD", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_d_finish: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_d_finish ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gdouble *out_arg_d, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(d)", 1587s # out_arg_d); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_d_sync: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_d_sync ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gdouble *out_arg_d, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodD", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(d)", 1587s # out_arg_d); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_complete_single_arg_method_d: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @arg_d: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_useful_interface_complete_single_arg_method_d ( 1587s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # gdouble arg_d) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(d)", 1587s # arg_d)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s # /tmp/tmp4zfwqow_/tmpm6lq_uom.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmpm6lq_uom.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.UsefulInterface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectUsefulInterface 1587s # * @title: OrgProjectUsefulInterface 1587s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "arg_s", 1587s # (gchar *) "s", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgMethodS", 1587s # NULL, 1587s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-single-arg-method-s", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.UsefulInterface", 1587s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-useful-interface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-single-arg-method-s", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_useful_interface_method_marshal_single_arg_method_s, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_s: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_useful_interface_call_single_arg_method_s ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodS", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_s_finish: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_s_finish ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gchar **out_arg_s, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(s)", 1587s # out_arg_s); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_s_sync: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_s_sync ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gchar **out_arg_s, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodS", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(s)", 1587s # out_arg_s); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_complete_single_arg_method_s: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @arg_s: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_useful_interface_complete_single_arg_method_s ( 1587s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # const gchar *arg_s) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(s)", 1587s # arg_s)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s # /tmp/tmp4zfwqow_/tmp85dvch8t.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmp85dvch8t.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.UsefulInterface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectUsefulInterface 1587s # * @title: OrgProjectUsefulInterface 1587s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "arg_o", 1587s # (gchar *) "o", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgMethodO", 1587s # NULL, 1587s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-single-arg-method-o", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.UsefulInterface", 1587s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-useful-interface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-single-arg-method-o", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_useful_interface_method_marshal_single_arg_method_o, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_o: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_useful_interface_call_single_arg_method_o ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodO", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_o_finish: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_o_finish ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gchar **out_arg_o, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(o)", 1587s # out_arg_o); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_o_sync: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_o_sync ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gchar **out_arg_o, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodO", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(o)", 1587s # out_arg_o); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_complete_single_arg_method_o: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @arg_o: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_useful_interface_complete_single_arg_method_o ( 1587s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # const gchar *arg_o) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(o)", 1587s # arg_o)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s # /tmp/tmp4zfwqow_/tmpydt4qlva.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmpydt4qlva.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.UsefulInterface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectUsefulInterface 1587s # * @title: OrgProjectUsefulInterface 1587s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "arg_g", 1587s # (gchar *) "g", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgMethodG", 1587s # NULL, 1587s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-single-arg-method-g", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.UsefulInterface", 1587s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-useful-interface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-single-arg-method-g", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_useful_interface_method_marshal_single_arg_method_g, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_g: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_useful_interface_call_single_arg_method_g ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodG", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_g_finish: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_g_finish ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gchar **out_arg_g, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(g)", 1587s # out_arg_g); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_g_sync: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_g_sync ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gchar **out_arg_g, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodG", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(g)", 1587s # out_arg_g); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_complete_single_arg_method_g: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @arg_g: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_useful_interface_complete_single_arg_method_g ( 1587s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # const gchar *arg_g) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(g)", 1587s # arg_g)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s # /tmp/tmp4zfwqow_/tmpkt0h8izk.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmpkt0h8izk.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.UsefulInterface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectUsefulInterface 1587s # * @title: OrgProjectUsefulInterface 1587s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "arg_h", 1587s # (gchar *) "h", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgMethodH", 1587s # NULL, 1587s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-single-arg-method-h", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.UsefulInterface", 1587s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-useful-interface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-single-arg-method-h", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_useful_interface_method_marshal_single_arg_method_h, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_h: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_useful_interface_call_single_arg_method_h ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodH", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_h_finish: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_h_finish ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GVariant **out_arg_h, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(@h)", 1587s # out_arg_h); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_h_sync: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_h_sync ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GVariant **out_arg_h, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodH", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(@h)", 1587s # out_arg_h); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_complete_single_arg_method_h: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @arg_h: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_useful_interface_complete_single_arg_method_h ( 1587s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # GVariant *arg_h) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(@h)", 1587s # arg_h)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s # /tmp/tmp4zfwqow_/tmpqmxqwkjy.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmpqmxqwkjy.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.UsefulInterface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectUsefulInterface 1587s # * @title: OrgProjectUsefulInterface 1587s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "arg_ay", 1587s # (gchar *) "ay", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgMethodAy", 1587s # NULL, 1587s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-single-arg-method-ay", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.UsefulInterface", 1587s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-useful-interface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-single-arg-method-ay", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_ay: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_useful_interface_call_single_arg_method_ay ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodAy", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gchar **out_arg_ay, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(^ay)", 1587s # out_arg_ay); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gchar **out_arg_ay, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodAy", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(^ay)", 1587s # out_arg_ay); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_complete_single_arg_method_ay: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @arg_ay: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_useful_interface_complete_single_arg_method_ay ( 1587s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # const gchar *arg_ay) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(^ay)", 1587s # arg_ay)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s # /tmp/tmp4zfwqow_/tmp4ct5hloj.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmp4ct5hloj.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.UsefulInterface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectUsefulInterface 1587s # * @title: OrgProjectUsefulInterface 1587s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "arg_as", 1587s # (gchar *) "as", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgMethodAs", 1587s # NULL, 1587s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-single-arg-method-as", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.UsefulInterface", 1587s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-useful-interface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-single-arg-method-as", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_useful_interface_method_marshal_single_arg_method_as, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_as: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_useful_interface_call_single_arg_method_as ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodAs", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_as_finish: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_as_finish ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gchar ***out_arg_as, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(^as)", 1587s # out_arg_as); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_as_sync: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_as_sync ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gchar ***out_arg_as, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodAs", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(^as)", 1587s # out_arg_as); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_complete_single_arg_method_as: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @arg_as: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_useful_interface_complete_single_arg_method_as ( 1587s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # const gchar *const *arg_as) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(^as)", 1587s # arg_as)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s # /tmp/tmp4zfwqow_/tmpmjsi5var.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmpmjsi5var.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.UsefulInterface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectUsefulInterface 1587s # * @title: OrgProjectUsefulInterface 1587s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "arg_ao", 1587s # (gchar *) "ao", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgMethodAo", 1587s # NULL, 1587s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-single-arg-method-ao", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.UsefulInterface", 1587s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-useful-interface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-single-arg-method-ao", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_ao: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_useful_interface_call_single_arg_method_ao ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodAo", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gchar ***out_arg_ao, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(^ao)", 1587s # out_arg_ao); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gchar ***out_arg_ao, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodAo", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(^ao)", 1587s # out_arg_ao); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_complete_single_arg_method_ao: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @arg_ao: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_useful_interface_complete_single_arg_method_ao ( 1587s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # const gchar *const *arg_ao) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(^ao)", 1587s # arg_ao)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s # /tmp/tmp4zfwqow_/tmpr_co29fi.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmpr_co29fi.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.UsefulInterface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectUsefulInterface 1587s # * @title: OrgProjectUsefulInterface 1587s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "arg_aay", 1587s # (gchar *) "aay", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgMethodAay", 1587s # NULL, 1587s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-single-arg-method-aay", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.UsefulInterface", 1587s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-useful-interface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-single-arg-method-aay", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_aay: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_useful_interface_call_single_arg_method_aay ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodAay", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gchar ***out_arg_aay, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(^aay)", 1587s # out_arg_aay); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # gchar ***out_arg_aay, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodAay", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(^aay)", 1587s # out_arg_aay); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_complete_single_arg_method_aay: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @arg_aay: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_useful_interface_complete_single_arg_method_aay ( 1587s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # const gchar *const *arg_aay) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(^aay)", 1587s # arg_aay)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s # /tmp/tmp4zfwqow_/tmpior2vz0i.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfwqow_/tmpior2vz0i.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.UsefulInterface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectUsefulInterface 1587s # * @title: OrgProjectUsefulInterface 1587s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "arg_asv", 1587s # (gchar *) "a{sv}", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgMethodAsv", 1587s # NULL, 1587s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-single-arg-method-asv", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.UsefulInterface", 1587s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-useful-interface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-single-arg-method-asv", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_asv: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_useful_interface_call_single_arg_method_asv ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodAsv", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GVariant **out_arg_asv, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(@a{sv})", 1587s # out_arg_asv); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1587s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1587s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1587s # OrgProjectUsefulInterface *proxy, 1587s # GVariant **out_arg_asv, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SingleArgMethodAsv", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(@a{sv})", 1587s # out_arg_asv); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_complete_single_arg_method_asv: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @arg_asv: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_useful_interface_complete_single_arg_method_asv ( 1587s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # GVariant *arg_asv) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(@a{sv})", 1587s # arg_asv)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1587s # tmpdir: /tmp/tmpdzg9dtyb 1587s # codegen: /usr/bin/gdbus-codegen 1587s # /tmp/tmpdzg9dtyb/tmp0dotikdr.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdzg9dtyb/tmp0dotikdr.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # gboolean arg_an_b, 1587s # guchar arg_an_y, 1587s # gint16 arg_an_n, 1587s # guint16 arg_an_q, 1587s # gint arg_an_i, 1587s # guint arg_an_u, 1587s # gint64 arg_an_x, 1587s # guint64 arg_an_t, 1587s # gdouble arg_an_d, 1587s # const gchar *arg_an_s, 1587s # const gchar *arg_an_o, 1587s # const gchar *arg_an_g, 1587s # GVariant *arg_an_h, 1587s # const gchar *arg_an_ay, 1587s # const gchar *const *arg_an_as, 1587s # const gchar *const *arg_an_ao, 1587s # const gchar *const *arg_an_aay, 1587s # GVariant *arg_an_asv, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 20); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # g_marshal_value_peek_boolean (param_values + 2), 1587s # g_marshal_value_peek_uchar (param_values + 3), 1587s # g_marshal_value_peek_int (param_values + 4), 1587s # g_marshal_value_peek_uint (param_values + 5), 1587s # g_marshal_value_peek_int (param_values + 6), 1587s # g_marshal_value_peek_uint (param_values + 7), 1587s # g_marshal_value_peek_int64 (param_values + 8), 1587s # g_marshal_value_peek_uint64 (param_values + 9), 1587s # g_marshal_value_peek_double (param_values + 10), 1587s # g_marshal_value_peek_string (param_values + 11), 1587s # g_marshal_value_peek_string (param_values + 12), 1587s # g_marshal_value_peek_string (param_values + 13), 1587s # g_marshal_value_peek_variant (param_values + 14), 1587s # g_marshal_value_peek_string (param_values + 15), 1587s # g_marshal_value_peek_boxed (param_values + 16), 1587s # g_marshal_value_peek_boxed (param_values + 17), 1587s # g_marshal_value_peek_boxed (param_values + 18), 1587s # g_marshal_value_peek_variant (param_values + 19), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.CallableIface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectCallableIface 1587s # * @title: OrgProjectCallableIface 1587s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.CallableIface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_b", 1587s # (gchar *) "b", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_y", 1587s # (gchar *) "y", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_n", 1587s # (gchar *) "n", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_q", 1587s # (gchar *) "q", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_i", 1587s # (gchar *) "i", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_u", 1587s # (gchar *) "u", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_x", 1587s # (gchar *) "x", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_t", 1587s # (gchar *) "t", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_d", 1587s # (gchar *) "d", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_s", 1587s # (gchar *) "s", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_o", 1587s # (gchar *) "o", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_g", 1587s # (gchar *) "g", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_h", 1587s # (gchar *) "h", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_ay", 1587s # (gchar *) "ay", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_as", 1587s # (gchar *) "as", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_ao", 1587s # (gchar *) "ao", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_aay", 1587s # (gchar *) "aay", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_asv", 1587s # (gchar *) "a{sv}", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1587s # { 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "MethodWithManyArgs", 1587s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "handle-method-with-many-args", 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_b", 1587s # (gchar *) "b", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_y", 1587s # (gchar *) "y", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_n", 1587s # (gchar *) "n", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_q", 1587s # (gchar *) "q", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_i", 1587s # (gchar *) "i", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_u", 1587s # (gchar *) "u", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_x", 1587s # (gchar *) "x", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_t", 1587s # (gchar *) "t", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_d", 1587s # (gchar *) "d", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_s", 1587s # (gchar *) "s", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_o", 1587s # (gchar *) "o", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_g", 1587s # (gchar *) "g", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_h", 1587s # (gchar *) "h", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_ay", 1587s # (gchar *) "ay", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_as", 1587s # (gchar *) "as", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_ao", 1587s # (gchar *) "ao", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_aay", 1587s # (gchar *) "aay", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_asv", 1587s # (gchar *) "a{sv}", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1587s # { 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SameMethodWithManyArgs", 1587s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "handle-same-method-with-many-args", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1587s # { 1587s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1587s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.CallableIface", 1587s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-callable-iface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_callable_iface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_callable_iface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_callable_iface_method_marshal_method_with_many_args ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _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, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _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, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectCallableIface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectCallableIfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1587s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.CallableIface. 1587s # */ 1587s # 1587s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectCallableIface::handle-method-with-many-args: 1587s # * @object: A #OrgProjectCallableIface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * @arg_an_b: Argument passed by remote caller. 1587s # * @arg_an_y: Argument passed by remote caller. 1587s # * @arg_an_n: Argument passed by remote caller. 1587s # * @arg_an_q: Argument passed by remote caller. 1587s # * @arg_an_i: Argument passed by remote caller. 1587s # * @arg_an_u: Argument passed by remote caller. 1587s # * @arg_an_x: Argument passed by remote caller. 1587s # * @arg_an_t: Argument passed by remote caller. 1587s # * @arg_an_d: Argument passed by remote caller. 1587s # * @arg_an_s: Argument passed by remote caller. 1587s # * @arg_an_o: Argument passed by remote caller. 1587s # * @arg_an_g: Argument passed by remote caller. 1587s # * @arg_an_h: Argument passed by remote caller. 1587s # * @arg_an_ay: Argument passed by remote caller. 1587s # * @arg_an_as: Argument passed by remote caller. 1587s # * @arg_an_ao: Argument passed by remote caller. 1587s # * @arg_an_aay: Argument passed by remote caller. 1587s # * @arg_an_asv: Argument passed by remote caller. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-method-with-many-args", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_callable_iface_method_marshal_method_with_many_args, 1587s # G_TYPE_BOOLEAN, 1587s # 19, 1587s # 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); 1587s # 1587s # /** 1587s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1587s # * @object: A #OrgProjectCallableIface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * @arg_an_b: Argument passed by remote caller. 1587s # * @arg_an_y: Argument passed by remote caller. 1587s # * @arg_an_n: Argument passed by remote caller. 1587s # * @arg_an_q: Argument passed by remote caller. 1587s # * @arg_an_i: Argument passed by remote caller. 1587s # * @arg_an_u: Argument passed by remote caller. 1587s # * @arg_an_x: Argument passed by remote caller. 1587s # * @arg_an_t: Argument passed by remote caller. 1587s # * @arg_an_d: Argument passed by remote caller. 1587s # * @arg_an_s: Argument passed by remote caller. 1587s # * @arg_an_o: Argument passed by remote caller. 1587s # * @arg_an_g: Argument passed by remote caller. 1587s # * @arg_an_h: Argument passed by remote caller. 1587s # * @arg_an_ay: Argument passed by remote caller. 1587s # * @arg_an_as: Argument passed by remote caller. 1587s # * @arg_an_ao: Argument passed by remote caller. 1587s # * @arg_an_aay: Argument passed by remote caller. 1587s # * @arg_an_asv: Argument passed by remote caller. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-same-method-with-many-args", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1587s # G_TYPE_BOOLEAN, 1587s # 19, 1587s # 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); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_call_method_with_many_args: 1587s # * @proxy: A #OrgProjectCallableIfaceProxy. 1587s # * @arg_an_b: Argument to pass with the method invocation. 1587s # * @arg_an_y: Argument to pass with the method invocation. 1587s # * @arg_an_n: Argument to pass with the method invocation. 1587s # * @arg_an_q: Argument to pass with the method invocation. 1587s # * @arg_an_i: Argument to pass with the method invocation. 1587s # * @arg_an_u: Argument to pass with the method invocation. 1587s # * @arg_an_x: Argument to pass with the method invocation. 1587s # * @arg_an_t: Argument to pass with the method invocation. 1587s # * @arg_an_d: Argument to pass with the method invocation. 1587s # * @arg_an_s: Argument to pass with the method invocation. 1587s # * @arg_an_o: Argument to pass with the method invocation. 1587s # * @arg_an_g: Argument to pass with the method invocation. 1587s # * @arg_an_h: Argument to pass with the method invocation. 1587s # * @arg_an_ay: Argument to pass with the method invocation. 1587s # * @arg_an_as: Argument to pass with the method invocation. 1587s # * @arg_an_ao: Argument to pass with the method invocation. 1587s # * @arg_an_aay: Argument to pass with the method invocation. 1587s # * @arg_an_asv: Argument to pass with the method invocation. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_callable_iface_call_method_with_many_args ( 1587s # OrgProjectCallableIface *proxy, 1587s # gboolean arg_an_b, 1587s # guchar arg_an_y, 1587s # gint16 arg_an_n, 1587s # guint16 arg_an_q, 1587s # gint arg_an_i, 1587s # guint arg_an_u, 1587s # gint64 arg_an_x, 1587s # guint64 arg_an_t, 1587s # gdouble arg_an_d, 1587s # const gchar *arg_an_s, 1587s # const gchar *arg_an_o, 1587s # const gchar *arg_an_g, 1587s # GVariant *arg_an_h, 1587s # const gchar *arg_an_ay, 1587s # const gchar *const *arg_an_as, 1587s # const gchar *const *arg_an_ao, 1587s # const gchar *const *arg_an_aay, 1587s # GVariant *arg_an_asv, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "MethodWithManyArgs", 1587s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1587s # arg_an_b, 1587s # arg_an_y, 1587s # arg_an_n, 1587s # arg_an_q, 1587s # arg_an_i, 1587s # arg_an_u, 1587s # arg_an_x, 1587s # arg_an_t, 1587s # arg_an_d, 1587s # arg_an_s, 1587s # arg_an_o, 1587s # arg_an_g, 1587s # arg_an_h, 1587s # arg_an_ay, 1587s # arg_an_as, 1587s # arg_an_ao, 1587s # arg_an_aay, 1587s # arg_an_asv), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_call_method_with_many_args_finish: 1587s # * @proxy: A #OrgProjectCallableIfaceProxy. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_callable_iface_call_method_with_many_args_finish ( 1587s # OrgProjectCallableIface *proxy, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "()"); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_call_method_with_many_args_sync: 1587s # * @proxy: A #OrgProjectCallableIfaceProxy. 1587s # * @arg_an_b: Argument to pass with the method invocation. 1587s # * @arg_an_y: Argument to pass with the method invocation. 1587s # * @arg_an_n: Argument to pass with the method invocation. 1587s # * @arg_an_q: Argument to pass with the method invocation. 1587s # * @arg_an_i: Argument to pass with the method invocation. 1587s # * @arg_an_u: Argument to pass with the method invocation. 1587s # * @arg_an_x: Argument to pass with the method invocation. 1587s # * @arg_an_t: Argument to pass with the method invocation. 1587s # * @arg_an_d: Argument to pass with the method invocation. 1587s # * @arg_an_s: Argument to pass with the method invocation. 1587s # * @arg_an_o: Argument to pass with the method invocation. 1587s # * @arg_an_g: Argument to pass with the method invocation. 1587s # * @arg_an_h: Argument to pass with the method invocation. 1587s # * @arg_an_ay: Argument to pass with the method invocation. 1587s # * @arg_an_as: Argument to pass with the method invocation. 1587s # * @arg_an_ao: Argument to pass with the method invocation. 1587s # * @arg_an_aay: Argument to pass with the method invocation. 1587s # * @arg_an_asv: Argument to pass with the method invocation. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_callable_iface_call_method_with_many_args_sync ( 1587s # OrgProjectCallableIface *proxy, 1587s # gboolean arg_an_b, 1587s # guchar arg_an_y, 1587s # gint16 arg_an_n, 1587s # guint16 arg_an_q, 1587s # gint arg_an_i, 1587s # guint arg_an_u, 1587s # gint64 arg_an_x, 1587s # guint64 arg_an_t, 1587s # gdouble arg_an_d, 1587s # const gchar *arg_an_s, 1587s # const gchar *arg_an_o, 1587s # const gchar *arg_an_g, 1587s # GVariant *arg_an_h, 1587s # const gchar *arg_an_ay, 1587s # const gchar *const *arg_an_as, 1587s # const gchar *const *arg_an_ao, 1587s # const gchar *const *arg_an_aay, 1587s # GVariant *arg_an_asv, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "MethodWithManyArgs", 1587s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1587s # arg_an_b, 1587s # arg_an_y, 1587s # arg_an_n, 1587s # arg_an_q, 1587s # arg_an_i, 1587s # arg_an_u, 1587s # arg_an_x, 1587s # arg_an_t, 1587s # arg_an_d, 1587s # arg_an_s, 1587s # arg_an_o, 1587s # arg_an_g, 1587s # arg_an_h, 1587s # arg_an_ay, 1587s # arg_an_as, 1587s # arg_an_ao, 1587s # arg_an_aay, 1587s # arg_an_asv), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "()"); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_call_same_method_with_many_args: 1587s # * @proxy: A #OrgProjectCallableIfaceProxy. 1587s # * @arg_an_b: Argument to pass with the method invocation. 1587s # * @arg_an_y: Argument to pass with the method invocation. 1587s # * @arg_an_n: Argument to pass with the method invocation. 1587s # * @arg_an_q: Argument to pass with the method invocation. 1587s # * @arg_an_i: Argument to pass with the method invocation. 1587s # * @arg_an_u: Argument to pass with the method invocation. 1587s # * @arg_an_x: Argument to pass with the method invocation. 1587s # * @arg_an_t: Argument to pass with the method invocation. 1587s # * @arg_an_d: Argument to pass with the method invocation. 1587s # * @arg_an_s: Argument to pass with the method invocation. 1587s # * @arg_an_o: Argument to pass with the method invocation. 1587s # * @arg_an_g: Argument to pass with the method invocation. 1587s # * @arg_an_h: Argument to pass with the method invocation. 1587s # * @arg_an_ay: Argument to pass with the method invocation. 1587s # * @arg_an_as: Argument to pass with the method invocation. 1587s # * @arg_an_ao: Argument to pass with the method invocation. 1587s # * @arg_an_aay: Argument to pass with the method invocation. 1587s # * @arg_an_asv: Argument to pass with the method invocation. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_callable_iface_call_same_method_with_many_args ( 1587s # OrgProjectCallableIface *proxy, 1587s # gboolean arg_an_b, 1587s # guchar arg_an_y, 1587s # gint16 arg_an_n, 1587s # guint16 arg_an_q, 1587s # gint arg_an_i, 1587s # guint arg_an_u, 1587s # gint64 arg_an_x, 1587s # guint64 arg_an_t, 1587s # gdouble arg_an_d, 1587s # const gchar *arg_an_s, 1587s # const gchar *arg_an_o, 1587s # const gchar *arg_an_g, 1587s # GVariant *arg_an_h, 1587s # const gchar *arg_an_ay, 1587s # const gchar *const *arg_an_as, 1587s # const gchar *const *arg_an_ao, 1587s # const gchar *const *arg_an_aay, 1587s # GVariant *arg_an_asv, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "SameMethodWithManyArgs", 1587s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1587s # arg_an_b, 1587s # arg_an_y, 1587s # arg_an_n, 1587s # arg_an_q, 1587s # arg_an_i, 1587s # arg_an_u, 1587s # arg_an_x, 1587s # arg_an_t, 1587s # arg_an_d, 1587s # arg_an_s, 1587s # arg_an_o, 1587s # arg_an_g, 1587s # arg_an_h, 1587s # arg_an_ay, 1587s # arg_an_as, 1587s # arg_an_ao, 1587s # arg_an_aay, 1587s # arg_an_asv), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1587s # * @proxy: A #OrgProjectCallableIfaceProxy. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1587s # OrgProjectCallableIface *proxy, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "()"); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1587s # * @proxy: A #OrgProjectCallableIfaceProxy. 1587s # * @arg_an_b: Argument to pass with the method invocation. 1587s # * @arg_an_y: Argument to pass with the method invocation. 1587s # * @arg_an_n: Argument to pass with the method invocation. 1587s # * @arg_an_q: Argument to pass with the method invocation. 1587s # * @arg_an_i: Argument to pass with the method invocation. 1587s # * @arg_an_u: Argument to pass with the method invocation. 1587s # * @arg_an_x: Argument to pass with the method invocation. 1587s # * @arg_an_t: Argument to pass with the method invocation. 1587s # * @arg_an_d: Argument to pass with the method invocation. 1587s # * @arg_an_s: Argument to pass with the method invocation. 1587s # * @arg_an_o: Argument to pass with the method invocation. 1587s # * @arg_an_g: Argument to pass with the method invocation. 1587s # * @arg_an_h: Argument to pass with the method invocation. 1587s # * @arg_an_ay: Argument to pass with the method invocation. 1587s # * @arg_an_as: Argument to pass with the method invocation. 1587s # * @arg_an_ao: Argument to pass with the method invocation. 1587s # * @arg_an_aay: Argument to pass with the method invocation. 1587s # * @arg_an_asv: Argument to pass with the method invocation. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1587s # OrgProjectCallableIface *proxy, 1587s # gboolean arg_an_b, 1587s # guchar arg_an_y, 1587s # gint16 arg_an_n, 1587s # guint16 arg_an_q, 1587s # gint arg_an_i, 1587s # guint arg_an_u, 1587s # gint64 arg_an_x, 1587s # guint64 arg_an_t, 1587s # gdouble arg_an_d, 1587s # const gchar *arg_an_s, 1587s # const gchar *arg_an_o, 1587s # const gchar *arg_an_g, 1587s # GVariant *arg_an_h, 1587s # const gchar *arg_an_ay, 1587s # const gchar *const *arg_an_as, 1587s # const gchar *const *arg_an_ao, 1587s # const gchar *const *arg_an_aay, 1587s # GVariant *arg_an_asv, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "SameMethodWithManyArgs", 1587s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1587s # arg_an_b, 1587s # arg_an_y, 1587s # arg_an_n, 1587s # arg_an_q, 1587s # arg_an_i, 1587s # arg_an_u, 1587s # arg_an_x, 1587s # arg_an_t, 1587s # arg_an_d, 1587s # arg_an_s, 1587s # arg_an_o, 1587s # arg_an_g, 1587s # arg_an_h, 1587s # arg_an_ay, 1587s # arg_an_as, 1587s # arg_an_ao, 1587s # arg_an_aay, 1587s # arg_an_asv), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "()"); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_complete_method_with_many_args: 1587s # * @object: A #OrgProjectCallableIface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_callable_iface_complete_method_with_many_args ( 1587s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("()")); 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_complete_same_method_with_many_args: 1587s # * @object: A #OrgProjectCallableIface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_callable_iface_complete_same_method_with_many_args ( 1587s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("()")); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectCallableIfaceProxy: 1587s # * 1587s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectCallableIfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectCallableIfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectCallableIfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_callable_iface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1587s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1587s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_callable_iface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectCallableIface * 1587s # org_project_callable_iface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectCallableIface * 1587s # org_project_callable_iface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_callable_iface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_callable_iface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectCallableIface * 1587s # org_project_callable_iface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectCallableIface * 1587s # org_project_callable_iface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectCallableIfaceSkeleton: 1587s # * 1587s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectCallableIfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectCallableIfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_callable_iface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_callable_iface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_callable_iface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1587s # { 1587s # _org_project_callable_iface_skeleton_handle_method_call, 1587s # _org_project_callable_iface_skeleton_handle_get_property, 1587s # _org_project_callable_iface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_callable_iface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_callable_iface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectCallableIface * 1587s # org_project_callable_iface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.OtherCallableIface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectOtherCallableIface 1587s # * @title: OrgProjectOtherCallableIface 1587s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_b", 1587s # (gchar *) "b", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_y", 1587s # (gchar *) "y", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_n", 1587s # (gchar *) "n", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_q", 1587s # (gchar *) "q", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_i", 1587s # (gchar *) "i", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_u", 1587s # (gchar *) "u", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_x", 1587s # (gchar *) "x", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_t", 1587s # (gchar *) "t", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_d", 1587s # (gchar *) "d", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_s", 1587s # (gchar *) "s", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_o", 1587s # (gchar *) "o", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_g", 1587s # (gchar *) "g", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_h", 1587s # (gchar *) "h", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_ay", 1587s # (gchar *) "ay", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_as", 1587s # (gchar *) "as", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_ao", 1587s # (gchar *) "ao", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_aay", 1587s # (gchar *) "aay", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_asv", 1587s # (gchar *) "a{sv}", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1587s # { 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "MethodWithManyArgs", 1587s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "handle-method-with-many-args", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1587s # { 1587s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.OtherCallableIface", 1587s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-other-callable-iface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_other_callable_iface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_other_callable_iface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_callable_iface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _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, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectOtherCallableIface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectOtherCallableIfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1587s # */ 1587s # 1587s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1587s # * @object: A #OrgProjectOtherCallableIface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * @arg_an_b: Argument passed by remote caller. 1587s # * @arg_an_y: Argument passed by remote caller. 1587s # * @arg_an_n: Argument passed by remote caller. 1587s # * @arg_an_q: Argument passed by remote caller. 1587s # * @arg_an_i: Argument passed by remote caller. 1587s # * @arg_an_u: Argument passed by remote caller. 1587s # * @arg_an_x: Argument passed by remote caller. 1587s # * @arg_an_t: Argument passed by remote caller. 1587s # * @arg_an_d: Argument passed by remote caller. 1587s # * @arg_an_s: Argument passed by remote caller. 1587s # * @arg_an_o: Argument passed by remote caller. 1587s # * @arg_an_g: Argument passed by remote caller. 1587s # * @arg_an_h: Argument passed by remote caller. 1587s # * @arg_an_ay: Argument passed by remote caller. 1587s # * @arg_an_as: Argument passed by remote caller. 1587s # * @arg_an_ao: Argument passed by remote caller. 1587s # * @arg_an_aay: Argument passed by remote caller. 1587s # * @arg_an_asv: Argument passed by remote caller. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-method-with-many-args", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1587s # G_TYPE_BOOLEAN, 1587s # 19, 1587s # 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); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_callable_iface_call_method_with_many_args: 1587s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1587s # * @arg_an_b: Argument to pass with the method invocation. 1587s # * @arg_an_y: Argument to pass with the method invocation. 1587s # * @arg_an_n: Argument to pass with the method invocation. 1587s # * @arg_an_q: Argument to pass with the method invocation. 1587s # * @arg_an_i: Argument to pass with the method invocation. 1587s # * @arg_an_u: Argument to pass with the method invocation. 1587s # * @arg_an_x: Argument to pass with the method invocation. 1587s # * @arg_an_t: Argument to pass with the method invocation. 1587s # * @arg_an_d: Argument to pass with the method invocation. 1587s # * @arg_an_s: Argument to pass with the method invocation. 1587s # * @arg_an_o: Argument to pass with the method invocation. 1587s # * @arg_an_g: Argument to pass with the method invocation. 1587s # * @arg_an_h: Argument to pass with the method invocation. 1587s # * @arg_an_ay: Argument to pass with the method invocation. 1587s # * @arg_an_as: Argument to pass with the method invocation. 1587s # * @arg_an_ao: Argument to pass with the method invocation. 1587s # * @arg_an_aay: Argument to pass with the method invocation. 1587s # * @arg_an_asv: Argument to pass with the method invocation. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_other_callable_iface_call_method_with_many_args ( 1587s # OrgProjectOtherCallableIface *proxy, 1587s # gboolean arg_an_b, 1587s # guchar arg_an_y, 1587s # gint16 arg_an_n, 1587s # guint16 arg_an_q, 1587s # gint arg_an_i, 1587s # guint arg_an_u, 1587s # gint64 arg_an_x, 1587s # guint64 arg_an_t, 1587s # gdouble arg_an_d, 1587s # const gchar *arg_an_s, 1587s # const gchar *arg_an_o, 1587s # const gchar *arg_an_g, 1587s # GVariant *arg_an_h, 1587s # const gchar *arg_an_ay, 1587s # const gchar *const *arg_an_as, 1587s # const gchar *const *arg_an_ao, 1587s # const gchar *const *arg_an_aay, 1587s # GVariant *arg_an_asv, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "MethodWithManyArgs", 1587s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1587s # arg_an_b, 1587s # arg_an_y, 1587s # arg_an_n, 1587s # arg_an_q, 1587s # arg_an_i, 1587s # arg_an_u, 1587s # arg_an_x, 1587s # arg_an_t, 1587s # arg_an_d, 1587s # arg_an_s, 1587s # arg_an_o, 1587s # arg_an_g, 1587s # arg_an_h, 1587s # arg_an_ay, 1587s # arg_an_as, 1587s # arg_an_ao, 1587s # arg_an_aay, 1587s # arg_an_asv), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1587s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1587s # OrgProjectOtherCallableIface *proxy, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "()"); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1587s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1587s # * @arg_an_b: Argument to pass with the method invocation. 1587s # * @arg_an_y: Argument to pass with the method invocation. 1587s # * @arg_an_n: Argument to pass with the method invocation. 1587s # * @arg_an_q: Argument to pass with the method invocation. 1587s # * @arg_an_i: Argument to pass with the method invocation. 1587s # * @arg_an_u: Argument to pass with the method invocation. 1587s # * @arg_an_x: Argument to pass with the method invocation. 1587s # * @arg_an_t: Argument to pass with the method invocation. 1587s # * @arg_an_d: Argument to pass with the method invocation. 1587s # * @arg_an_s: Argument to pass with the method invocation. 1587s # * @arg_an_o: Argument to pass with the method invocation. 1587s # * @arg_an_g: Argument to pass with the method invocation. 1587s # * @arg_an_h: Argument to pass with the method invocation. 1587s # * @arg_an_ay: Argument to pass with the method invocation. 1587s # * @arg_an_as: Argument to pass with the method invocation. 1587s # * @arg_an_ao: Argument to pass with the method invocation. 1587s # * @arg_an_aay: Argument to pass with the method invocation. 1587s # * @arg_an_asv: Argument to pass with the method invocation. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1587s # OrgProjectOtherCallableIface *proxy, 1587s # gboolean arg_an_b, 1587s # guchar arg_an_y, 1587s # gint16 arg_an_n, 1587s # guint16 arg_an_q, 1587s # gint arg_an_i, 1587s # guint arg_an_u, 1587s # gint64 arg_an_x, 1587s # guint64 arg_an_t, 1587s # gdouble arg_an_d, 1587s # const gchar *arg_an_s, 1587s # const gchar *arg_an_o, 1587s # const gchar *arg_an_g, 1587s # GVariant *arg_an_h, 1587s # const gchar *arg_an_ay, 1587s # const gchar *const *arg_an_as, 1587s # const gchar *const *arg_an_ao, 1587s # const gchar *const *arg_an_aay, 1587s # GVariant *arg_an_asv, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "MethodWithManyArgs", 1587s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1587s # arg_an_b, 1587s # arg_an_y, 1587s # arg_an_n, 1587s # arg_an_q, 1587s # arg_an_i, 1587s # arg_an_u, 1587s # arg_an_x, 1587s # arg_an_t, 1587s # arg_an_d, 1587s # arg_an_s, 1587s # arg_an_o, 1587s # arg_an_g, 1587s # arg_an_h, 1587s # arg_an_ay, 1587s # arg_an_as, 1587s # arg_an_ao, 1587s # arg_an_aay, 1587s # arg_an_asv), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "()"); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_callable_iface_complete_method_with_many_args: 1587s # * @object: A #OrgProjectOtherCallableIface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_other_callable_iface_complete_method_with_many_args ( 1587s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("()")); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectOtherCallableIfaceProxy: 1587s # * 1587s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectOtherCallableIfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1587s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1587s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_callable_iface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_other_callable_iface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_callable_iface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectOtherCallableIface * 1587s # org_project_other_callable_iface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_callable_iface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectOtherCallableIface * 1587s # org_project_other_callable_iface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_other_callable_iface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_other_callable_iface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectOtherCallableIface * 1587s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectOtherCallableIface * 1587s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectOtherCallableIfaceSkeleton: 1587s # * 1587s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectOtherCallableIfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1587s # { 1587s # _org_project_other_callable_iface_skeleton_handle_method_call, 1587s # _org_project_other_callable_iface_skeleton_handle_get_property, 1587s # _org_project_other_callable_iface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_other_callable_iface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_callable_iface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectOtherCallableIface * 1587s # org_project_other_callable_iface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1587s # } 1587s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1587s # tmpdir: /tmp/tmp9du495wm 1587s # codegen: /usr/bin/gdbus-codegen 1587s # /tmp/tmp9du495wm/tmp4m2snr8g.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9du495wm/tmp4m2snr8g.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (void *data1, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.CallableIface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectCallableIface 1587s # * @title: OrgProjectCallableIface 1587s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for org.project.CallableIface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_b", 1587s # (gchar *) "b", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_y", 1587s # (gchar *) "y", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_n", 1587s # (gchar *) "n", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_q", 1587s # (gchar *) "q", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_i", 1587s # (gchar *) "i", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_u", 1587s # (gchar *) "u", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_x", 1587s # (gchar *) "x", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_t", 1587s # (gchar *) "t", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_d", 1587s # (gchar *) "d", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_s", 1587s # (gchar *) "s", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_o", 1587s # (gchar *) "o", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_g", 1587s # (gchar *) "g", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_h", 1587s # (gchar *) "h", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_ay", 1587s # (gchar *) "ay", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_as", 1587s # (gchar *) "as", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_ao", 1587s # (gchar *) "ao", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_aay", 1587s # (gchar *) "aay", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_asv", 1587s # (gchar *) "a{sv}", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1587s # { 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1587s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "MethodWithManyArgs", 1587s # NULL, 1587s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-method-with-many-args", 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1587s # { 1587s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.CallableIface", 1587s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-callable-iface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_callable_iface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_callable_iface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_callable_iface_method_marshal_method_with_many_args ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectCallableIface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectCallableIfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.CallableIface. 1587s # */ 1587s # 1587s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * OrgProjectCallableIface::handle-method-with-many-args: 1587s # * @object: A #OrgProjectCallableIface. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-method-with-many-args", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # org_project_callable_iface_method_marshal_method_with_many_args, 1587s # G_TYPE_BOOLEAN, 1587s # 1, 1587s # G_TYPE_DBUS_METHOD_INVOCATION); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_call_method_with_many_args: 1587s # * @proxy: A #OrgProjectCallableIfaceProxy. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # org_project_callable_iface_call_method_with_many_args ( 1587s # OrgProjectCallableIface *proxy, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1587s # "MethodWithManyArgs", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_call_method_with_many_args_finish: 1587s # * @proxy: A #OrgProjectCallableIfaceProxy. 1587s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_callable_iface_call_method_with_many_args_finish ( 1587s # OrgProjectCallableIface *proxy, 1587s # gboolean *out_an_b, 1587s # guchar *out_an_y, 1587s # gint16 *out_an_n, 1587s # guint16 *out_an_q, 1587s # gint *out_an_i, 1587s # guint *out_an_u, 1587s # gint64 *out_an_x, 1587s # guint64 *out_an_t, 1587s # gdouble *out_an_d, 1587s # gchar **out_an_s, 1587s # gchar **out_an_o, 1587s # gchar **out_an_g, 1587s # GVariant **out_an_h, 1587s # gchar **out_an_ay, 1587s # gchar ***out_an_as, 1587s # gchar ***out_an_ao, 1587s # gchar ***out_an_aay, 1587s # GVariant **out_an_asv, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1587s # out_an_b, 1587s # out_an_y, 1587s # out_an_n, 1587s # out_an_q, 1587s # out_an_i, 1587s # out_an_u, 1587s # out_an_x, 1587s # out_an_t, 1587s # out_an_d, 1587s # out_an_s, 1587s # out_an_o, 1587s # out_an_g, 1587s # out_an_h, 1587s # out_an_ay, 1587s # out_an_as, 1587s # out_an_ao, 1587s # out_an_aay, 1587s # out_an_asv); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_call_method_with_many_args_sync: 1587s # * @proxy: A #OrgProjectCallableIfaceProxy. 1587s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1587s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # org_project_callable_iface_call_method_with_many_args_sync ( 1587s # OrgProjectCallableIface *proxy, 1587s # gboolean *out_an_b, 1587s # guchar *out_an_y, 1587s # gint16 *out_an_n, 1587s # guint16 *out_an_q, 1587s # gint *out_an_i, 1587s # guint *out_an_u, 1587s # gint64 *out_an_x, 1587s # guint64 *out_an_t, 1587s # gdouble *out_an_d, 1587s # gchar **out_an_s, 1587s # gchar **out_an_o, 1587s # gchar **out_an_g, 1587s # GVariant **out_an_h, 1587s # gchar **out_an_ay, 1587s # gchar ***out_an_as, 1587s # gchar ***out_an_ao, 1587s # gchar ***out_an_aay, 1587s # GVariant **out_an_asv, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1587s # "MethodWithManyArgs", 1587s # g_variant_new ("()"), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1587s # out_an_b, 1587s # out_an_y, 1587s # out_an_n, 1587s # out_an_q, 1587s # out_an_i, 1587s # out_an_u, 1587s # out_an_x, 1587s # out_an_t, 1587s # out_an_d, 1587s # out_an_s, 1587s # out_an_o, 1587s # out_an_g, 1587s # out_an_h, 1587s # out_an_ay, 1587s # out_an_as, 1587s # out_an_ao, 1587s # out_an_aay, 1587s # out_an_asv); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_complete_method_with_many_args: 1587s # * @object: A #OrgProjectCallableIface. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @an_b: Parameter to return. 1587s # * @an_y: Parameter to return. 1587s # * @an_n: Parameter to return. 1587s # * @an_q: Parameter to return. 1587s # * @an_i: Parameter to return. 1587s # * @an_u: Parameter to return. 1587s # * @an_x: Parameter to return. 1587s # * @an_t: Parameter to return. 1587s # * @an_d: Parameter to return. 1587s # * @an_s: Parameter to return. 1587s # * @an_o: Parameter to return. 1587s # * @an_g: Parameter to return. 1587s # * @an_h: Parameter to return. 1587s # * @an_ay: Parameter to return. 1587s # * @an_as: Parameter to return. 1587s # * @an_ao: Parameter to return. 1587s # * @an_aay: Parameter to return. 1587s # * @an_asv: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # org_project_callable_iface_complete_method_with_many_args ( 1587s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # gboolean an_b, 1587s # guchar an_y, 1587s # gint16 an_n, 1587s # guint16 an_q, 1587s # gint an_i, 1587s # guint an_u, 1587s # gint64 an_x, 1587s # guint64 an_t, 1587s # gdouble an_d, 1587s # const gchar *an_s, 1587s # const gchar *an_o, 1587s # const gchar *an_g, 1587s # GVariant *an_h, 1587s # const gchar *an_ay, 1587s # const gchar *const *an_as, 1587s # const gchar *const *an_ao, 1587s # const gchar *const *an_aay, 1587s # GVariant *an_asv) 1587s # { 1587s # g_dbus_method_invocation_return_value (invocation, 1587s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1587s # an_b, 1587s # an_y, 1587s # an_n, 1587s # an_q, 1587s # an_i, 1587s # an_u, 1587s # an_x, 1587s # an_t, 1587s # an_d, 1587s # an_s, 1587s # an_o, 1587s # an_g, 1587s # an_h, 1587s # an_ay, 1587s # an_as, 1587s # an_ao, 1587s # an_aay, 1587s # an_asv)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectCallableIfaceProxy: 1587s # * 1587s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectCallableIfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectCallableIfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectCallableIfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_callable_iface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1587s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1587s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_callable_iface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectCallableIface * 1587s # org_project_callable_iface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectCallableIface * 1587s # org_project_callable_iface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_callable_iface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_callable_iface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectCallableIface * 1587s # org_project_callable_iface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectCallableIface * 1587s # org_project_callable_iface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectCallableIfaceSkeleton: 1587s # * 1587s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectCallableIfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectCallableIfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_callable_iface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_callable_iface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_callable_iface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1587s # { 1587s # _org_project_callable_iface_skeleton_handle_method_call, 1587s # _org_project_callable_iface_skeleton_handle_get_property, 1587s # _org_project_callable_iface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_callable_iface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_callable_iface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_callable_iface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectCallableIface * 1587s # org_project_callable_iface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1587s # } 1587s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1587s # tmpdir: /tmp/tmpljqbyz_m 1587s # codegen: /usr/bin/gdbus-codegen 1587s # /tmp/tmpljqbyz_m/tmpbabkva5y.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpljqbyz_m/tmpbabkva5y.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1587s # (void *data1, 1587s # GUnixFDList *arg_fd_list, 1587s # GDBusMethodInvocation *arg_method_invocation, 1587s # const gchar *arg_greeting, 1587s # void *data2); 1587s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # gboolean v_return; 1587s # 1587s # g_return_if_fail (return_value != NULL); 1587s # g_return_if_fail (n_param_values == 4); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # v_return = 1587s # callback (data1, 1587s # g_marshal_value_peek_object (param_values + 1), 1587s # g_marshal_value_peek_object (param_values + 2), 1587s # g_marshal_value_peek_string (param_values + 3), 1587s # data2); 1587s # 1587s # g_value_set_boolean (return_value, v_return); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface test.FDPassing 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:TestFDPassing 1587s # * @title: TestFDPassing 1587s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1587s # * 1587s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1587s # */ 1587s # 1587s # /* ---- Introspection data for test.FDPassing ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "greeting", 1587s # (gchar *) "s", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1587s # { 1587s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "response", 1587s # (gchar *) "s", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1587s # { 1587s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "HelloFD", 1587s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1587s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "handle-hello-fd", 1587s # TRUE 1587s # }; 1587s # 1587s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1587s # { 1587s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "test.FDPassing", 1587s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1587s # NULL, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "test-fdpassing", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * test_fdpassing_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # test_fdpassing_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * test_fdpassing_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # test_fdpassing_method_marshal_hello_fd ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * TestFDPassing: 1587s # * 1587s # * Abstract interface type for the D-Bus interface test.FDPassing. 1587s # */ 1587s # 1587s # /** 1587s # * TestFDPassingIface: 1587s # * @parent_iface: The parent interface. 1587s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1587s # * 1587s # * Virtual table for the D-Bus interface test.FDPassing. 1587s # */ 1587s # 1587s # typedef TestFDPassingIface TestFDPassingInterface; 1587s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # test_fdpassing_default_init (TestFDPassingIface *iface) 1587s # { 1587s # /* GObject signals for incoming D-Bus method calls: */ 1587s # /** 1587s # * TestFDPassing::handle-hello-fd: 1587s # * @object: A #TestFDPassing. 1587s # * @invocation: A #GDBusMethodInvocation. 1587s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1587s # * @arg_greeting: Argument passed by remote caller. 1587s # * 1587s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1587s # * 1587s # * 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. 1587s # * 1587s # * 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. 1587s # */ 1587s # g_signal_new ("handle-hello-fd", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1587s # g_signal_accumulator_true_handled, 1587s # NULL, 1587s # test_fdpassing_method_marshal_hello_fd, 1587s # G_TYPE_BOOLEAN, 1587s # 3, 1587s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * test_fdpassing_call_hello_fd: 1587s # * @proxy: A #TestFDPassingProxy. 1587s # * @arg_greeting: Argument to pass with the method invocation. 1587s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1587s # * 1587s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1587s # */ 1587s # void 1587s # test_fdpassing_call_hello_fd ( 1587s # TestFDPassing *proxy, 1587s # const gchar *arg_greeting, 1587s # GUnixFDList *fd_list, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1587s # "HelloFD", 1587s # g_variant_new ("(s)", 1587s # arg_greeting), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # fd_list, 1587s # cancellable, 1587s # callback, 1587s # user_data); 1587s # } 1587s # 1587s # /** 1587s # * test_fdpassing_call_hello_fd_finish: 1587s # * @proxy: A #TestFDPassingProxy. 1587s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # test_fdpassing_call_hello_fd_finish ( 1587s # TestFDPassing *proxy, 1587s # gchar **out_response, 1587s # GUnixFDList **out_fd_list, 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(s)", 1587s # out_response); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * test_fdpassing_call_hello_fd_sync: 1587s # * @proxy: A #TestFDPassingProxy. 1587s # * @arg_greeting: Argument to pass with the method invocation. 1587s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1587s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1587s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL. 1587s # * 1587s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1587s # * 1587s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1587s # * 1587s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1587s # */ 1587s # gboolean 1587s # test_fdpassing_call_hello_fd_sync ( 1587s # TestFDPassing *proxy, 1587s # const gchar *arg_greeting, 1587s # GUnixFDList *fd_list, 1587s # gchar **out_response, 1587s # GUnixFDList **out_fd_list, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GVariant *_ret; 1587s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1587s # "HelloFD", 1587s # g_variant_new ("(s)", 1587s # arg_greeting), 1587s # G_DBUS_CALL_FLAGS_NONE, 1587s # -1, 1587s # fd_list, 1587s # out_fd_list, 1587s # cancellable, 1587s # error); 1587s # if (_ret == NULL) 1587s # goto _out; 1587s # g_variant_get (_ret, 1587s # "(s)", 1587s # out_response); 1587s # g_variant_unref (_ret); 1587s # _out: 1587s # return _ret != NULL; 1587s # } 1587s # 1587s # /** 1587s # * test_fdpassing_complete_hello_fd: 1587s # * @object: A #TestFDPassing. 1587s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1587s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1587s # * @response: Parameter to return. 1587s # * 1587s # * 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. 1587s # * 1587s # * This method will free @invocation, you cannot use it afterwards. 1587s # */ 1587s # void 1587s # test_fdpassing_complete_hello_fd ( 1587s # TestFDPassing *object G_GNUC_UNUSED, 1587s # GDBusMethodInvocation *invocation, 1587s # GUnixFDList *fd_list, 1587s # const gchar *response) 1587s # { 1587s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1587s # g_variant_new ("(s)", 1587s # response), 1587s # fd_list); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * TestFDPassingProxy: 1587s # * 1587s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * TestFDPassingProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #TestFDPassingProxy. 1587s # */ 1587s # 1587s # struct _TestFDPassingProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (TestFDPassingProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # test_fdpassing_proxy_finalize (GObject *object) 1587s # { 1587s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1587s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1587s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1587s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * test_fdpassing_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # test_fdpassing_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * test_fdpassing_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with test_fdpassing_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # TestFDPassing * 1587s # test_fdpassing_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return TEST_FDPASSING (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * test_fdpassing_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # TestFDPassing * 1587s # test_fdpassing_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return TEST_FDPASSING (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * test_fdpassing_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # test_fdpassing_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * test_fdpassing_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # TestFDPassing * 1587s # test_fdpassing_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return TEST_FDPASSING (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * test_fdpassing_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # TestFDPassing * 1587s # test_fdpassing_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return TEST_FDPASSING (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * TestFDPassingSkeleton: 1587s # * 1587s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * TestFDPassingSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #TestFDPassingSkeleton. 1587s # */ 1587s # 1587s # struct _TestFDPassingSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _test_fdpassing_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _test_fdpassing_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _test_fdpassing_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1587s # { 1587s # _test_fdpassing_skeleton_handle_method_call, 1587s # _test_fdpassing_skeleton_handle_get_property, 1587s # _test_fdpassing_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return test_fdpassing_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # test_fdpassing_skeleton_finalize (GObject *object) 1587s # { 1587s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * test_fdpassing_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1587s # * 1587s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1587s # */ 1587s # TestFDPassing * 1587s # test_fdpassing_skeleton_new (void) 1587s # { 1587s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1587s # } 1587s ok 15 __main__.TestCodegen.test_generate_rst 1587s # tmpdir: /tmp/tmpe13b6l2s 1587s # codegen: /usr/bin/gdbus-codegen 1587s # /tmp/tmpe13b6l2s/tmpu7ybn4w6.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe13b6l2s/tmpu7ybn4w6.xml', '--generate-rst', 'test'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: 1587s ok 16 __main__.TestCodegen.test_generate_rst_method 1587s # tmpdir: /tmp/tmp0cb2h_or 1587s # codegen: /usr/bin/gdbus-codegen 1587s # /tmp/tmp0cb2h_or/tmplym0273b.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0cb2h_or/tmplym0273b.xml', '--generate-rst', 'test'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: 1587s ok 17 __main__.TestCodegen.test_generate_rst_property 1587s # tmpdir: /tmp/tmptq_07wrb 1587s # codegen: /usr/bin/gdbus-codegen 1587s # /tmp/tmptq_07wrb/tmpj989lc9d.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptq_07wrb/tmpj989lc9d.xml', '--generate-rst', 'test'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: 1587s ok 18 __main__.TestCodegen.test_generate_rst_signal 1587s # tmpdir: /tmp/tmp_4e6w1z7 1587s # codegen: /usr/bin/gdbus-codegen 1587s # /tmp/tmp_4e6w1z7/tmp4cxa0aps.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_4e6w1z7/tmp4cxa0aps.xml', '--generate-rst', 'test'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: 1587s # Executing: glib/codegen.py.test 1587s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1587s # tmpdir: /tmp/tmp9ol7e26w 1587s # codegen: /usr/bin/gdbus-codegen 1587s # /tmp/tmp9ol7e26w/tmp7cj4nwl0.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ol7e26w/tmp7cj4nwl0.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1587s # GClosure *closure, 1587s # GValue *return_value G_GNUC_UNUSED, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1587s # (void *data1, 1587s # gboolean arg_an_b, 1587s # guchar arg_an_y, 1587s # gint16 arg_an_n, 1587s # guint16 arg_an_q, 1587s # gint arg_an_i, 1587s # guint arg_an_u, 1587s # gint64 arg_an_x, 1587s # guint64 arg_an_t, 1587s # gdouble arg_an_d, 1587s # const gchar *arg_an_s, 1587s # const gchar *arg_an_o, 1587s # const gchar *arg_an_g, 1587s # GVariant *arg_an_h, 1587s # const gchar *arg_an_ay, 1587s # const gchar *const *arg_an_as, 1587s # const gchar *const *arg_an_ao, 1587s # const gchar *const *arg_an_aay, 1587s # GVariant *arg_an_asv, 1587s # void *data2); 1587s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # 1587s # g_return_if_fail (n_param_values == 19); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # callback (data1, 1587s # g_marshal_value_peek_boolean (param_values + 1), 1587s # g_marshal_value_peek_uchar (param_values + 2), 1587s # g_marshal_value_peek_int (param_values + 3), 1587s # g_marshal_value_peek_uint (param_values + 4), 1587s # g_marshal_value_peek_int (param_values + 5), 1587s # g_marshal_value_peek_uint (param_values + 6), 1587s # g_marshal_value_peek_int64 (param_values + 7), 1587s # g_marshal_value_peek_uint64 (param_values + 8), 1587s # g_marshal_value_peek_double (param_values + 9), 1587s # g_marshal_value_peek_string (param_values + 10), 1587s # g_marshal_value_peek_string (param_values + 11), 1587s # g_marshal_value_peek_string (param_values + 12), 1587s # g_marshal_value_peek_variant (param_values + 13), 1587s # g_marshal_value_peek_string (param_values + 14), 1587s # g_marshal_value_peek_boxed (param_values + 15), 1587s # g_marshal_value_peek_boxed (param_values + 16), 1587s # g_marshal_value_peek_boxed (param_values + 17), 1587s # g_marshal_value_peek_variant (param_values + 18), 1587s # data2); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.SignalingIface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectSignalingIface 1587s # * @title: OrgProjectSignalingIface 1587s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1587s # */ 1587s # 1587s # enum 1587s # { 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1587s # }; 1587s # 1587s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1587s # 1587s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_b", 1587s # (gchar *) "b", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_y", 1587s # (gchar *) "y", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_n", 1587s # (gchar *) "n", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_q", 1587s # (gchar *) "q", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_i", 1587s # (gchar *) "i", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_u", 1587s # (gchar *) "u", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_x", 1587s # (gchar *) "x", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_t", 1587s # (gchar *) "t", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_d", 1587s # (gchar *) "d", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_s", 1587s # (gchar *) "s", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_o", 1587s # (gchar *) "o", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_g", 1587s # (gchar *) "g", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_h", 1587s # (gchar *) "h", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_ay", 1587s # (gchar *) "ay", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_as", 1587s # (gchar *) "as", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_ao", 1587s # (gchar *) "ao", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_aay", 1587s # (gchar *) "aay", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_asv", 1587s # (gchar *) "a{sv}", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SignalWithManyArgs", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "signal-with-many-args" 1587s # }; 1587s # 1587s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.SignalingIface", 1587s # NULL, 1587s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-signaling-iface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_signaling_iface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_signaling_iface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1587s # */ 1587s # 1587s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1587s # { 1587s # /* GObject signals for received D-Bus signals: */ 1587s # /** 1587s # * OrgProjectSignalingIface::signal-with-many-args: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_b: Argument. 1587s # * @arg_an_y: Argument. 1587s # * @arg_an_n: Argument. 1587s # * @arg_an_q: Argument. 1587s # * @arg_an_i: Argument. 1587s # * @arg_an_u: Argument. 1587s # * @arg_an_x: Argument. 1587s # * @arg_an_t: Argument. 1587s # * @arg_an_d: Argument. 1587s # * @arg_an_s: Argument. 1587s # * @arg_an_o: Argument. 1587s # * @arg_an_g: Argument. 1587s # * @arg_an_h: Argument. 1587s # * @arg_an_ay: Argument. 1587s # * @arg_an_as: Argument. 1587s # * @arg_an_ao: Argument. 1587s # * @arg_an_aay: Argument. 1587s # * @arg_an_asv: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1587s # g_signal_new ("signal-with-many-args", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1587s # G_TYPE_NONE, 1587s # 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); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_signal_with_many_args: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_b: Argument to pass with the signal. 1587s # * @arg_an_y: Argument to pass with the signal. 1587s # * @arg_an_n: Argument to pass with the signal. 1587s # * @arg_an_q: Argument to pass with the signal. 1587s # * @arg_an_i: Argument to pass with the signal. 1587s # * @arg_an_u: Argument to pass with the signal. 1587s # * @arg_an_x: Argument to pass with the signal. 1587s # * @arg_an_t: Argument to pass with the signal. 1587s # * @arg_an_d: Argument to pass with the signal. 1587s # * @arg_an_s: Argument to pass with the signal. 1587s # * @arg_an_o: Argument to pass with the signal. 1587s # * @arg_an_g: Argument to pass with the signal. 1587s # * @arg_an_h: Argument to pass with the signal. 1587s # * @arg_an_ay: Argument to pass with the signal. 1587s # * @arg_an_as: Argument to pass with the signal. 1587s # * @arg_an_ao: Argument to pass with the signal. 1587s # * @arg_an_aay: Argument to pass with the signal. 1587s # * @arg_an_asv: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SignalWithManyArgs" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_signal_with_many_args ( 1587s # OrgProjectSignalingIface *object, 1587s # gboolean arg_an_b, 1587s # guchar arg_an_y, 1587s # gint16 arg_an_n, 1587s # guint16 arg_an_q, 1587s # gint arg_an_i, 1587s # guint arg_an_u, 1587s # gint64 arg_an_x, 1587s # guint64 arg_an_t, 1587s # gdouble arg_an_d, 1587s # const gchar *arg_an_s, 1587s # const gchar *arg_an_o, 1587s # const gchar *arg_an_g, 1587s # GVariant *arg_an_h, 1587s # const gchar *arg_an_ay, 1587s # const gchar *const *arg_an_as, 1587s # const gchar *const *arg_an_ao, 1587s # const gchar *const *arg_an_aay, 1587s # GVariant *arg_an_asv) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceProxy: 1587s # * 1587s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectSignalingIfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectSignalingIfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_signaling_iface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1587s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1587s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceSkeleton: 1587s # * 1587s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_signaling_iface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_signaling_iface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_signaling_iface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1587s # { 1587s # _org_project_signaling_iface_skeleton_handle_method_call, 1587s # _org_project_signaling_iface_skeleton_handle_get_property, 1587s # _org_project_signaling_iface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_signaling_iface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1587s # OrgProjectSignalingIface *object, 1587s # gboolean arg_an_b, 1587s # guchar arg_an_y, 1587s # gint16 arg_an_n, 1587s # guint16 arg_an_q, 1587s # gint arg_an_i, 1587s # guint arg_an_u, 1587s # gint64 arg_an_x, 1587s # guint64 arg_an_t, 1587s # gdouble arg_an_d, 1587s # const gchar *arg_an_s, 1587s # const gchar *arg_an_o, 1587s # const gchar *arg_an_g, 1587s # GVariant *arg_an_h, 1587s # const gchar *arg_an_ay, 1587s # const gchar *const *arg_an_as, 1587s # const gchar *const *arg_an_ao, 1587s # const gchar *const *arg_an_aay, 1587s # GVariant *arg_an_asv) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1587s # arg_an_b, 1587s # arg_an_y, 1587s # arg_an_n, 1587s # arg_an_q, 1587s # arg_an_i, 1587s # arg_an_u, 1587s # arg_an_x, 1587s # arg_an_t, 1587s # arg_an_d, 1587s # arg_an_s, 1587s # arg_an_o, 1587s # arg_an_g, 1587s # arg_an_h, 1587s # arg_an_ay, 1587s # arg_an_as, 1587s # arg_an_ao, 1587s # arg_an_aay, 1587s # arg_an_asv)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1587s # { 1587s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1587s # } 1587s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1587s # tmpdir: /tmp/tmptuyxfhat 1587s # codegen: /usr/bin/gdbus-codegen 1587s # /tmp/tmptuyxfhat/tmp0oqh3_ow.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptuyxfhat/tmp0oqh3_ow.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_VOID__INT64 ( 1587s # GClosure *closure, 1587s # GValue *return_value G_GNUC_UNUSED, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1587s # (void *data1, 1587s # gint64 arg_an_x, 1587s # void *data2); 1587s # _GDbusCodegenMarshalVoid_Int64Func callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # callback (data1, 1587s # g_marshal_value_peek_int64 (param_values + 1), 1587s # data2); 1587s # } 1587s # 1587s # static void 1587s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1587s # GClosure *closure, 1587s # GValue *return_value G_GNUC_UNUSED, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint G_GNUC_UNUSED, 1587s # void *marshal_data) 1587s # { 1587s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1587s # (void *data1, 1587s # guint64 arg_an_t, 1587s # void *data2); 1587s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1587s # GCClosure *cc = (GCClosure*) closure; 1587s # void *data1, *data2; 1587s # 1587s # g_return_if_fail (n_param_values == 2); 1587s # 1587s # if (G_CCLOSURE_SWAP_DATA (closure)) 1587s # { 1587s # data1 = closure->data; 1587s # data2 = g_value_peek_pointer (param_values + 0); 1587s # } 1587s # else 1587s # { 1587s # data1 = g_value_peek_pointer (param_values + 0); 1587s # data2 = closure->data; 1587s # } 1587s # 1587s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1587s # (marshal_data ? marshal_data : cc->callback); 1587s # 1587s # callback (data1, 1587s # g_marshal_value_peek_uint64 (param_values + 1), 1587s # data2); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.SignalingIface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectSignalingIface 1587s # * @title: OrgProjectSignalingIface 1587s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1587s # */ 1587s # 1587s # enum 1587s # { 1587s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1587s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1587s # }; 1587s # 1587s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1587s # 1587s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "NoArgSignal", 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "no-arg-signal" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_b", 1587s # (gchar *) "b", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalB", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-b" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_y", 1587s # (gchar *) "y", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalY", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-y" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_n", 1587s # (gchar *) "n", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalN", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-n" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_q", 1587s # (gchar *) "q", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalQ", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-q" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_i", 1587s # (gchar *) "i", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalI", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-i" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_u", 1587s # (gchar *) "u", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalU", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-u" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_x", 1587s # (gchar *) "x", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalX", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-x" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_t", 1587s # (gchar *) "t", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalT", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-t" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_d", 1587s # (gchar *) "d", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalD", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-d" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_s", 1587s # (gchar *) "s", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalS", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-s" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_o", 1587s # (gchar *) "o", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalO", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-o" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_g", 1587s # (gchar *) "g", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalG", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-g" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_h", 1587s # (gchar *) "h", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalH", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-h" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_ay", 1587s # (gchar *) "ay", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalAY", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-ay" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_as", 1587s # (gchar *) "as", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalAS", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-as" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_ao", 1587s # (gchar *) "ao", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalAO", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-ao" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_aay", 1587s # (gchar *) "aay", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalAAY", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-aay" 1587s # }; 1587s # 1587s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "an_asv", 1587s # (gchar *) "a{sv}", 1587s # NULL 1587s # }, 1587s # FALSE 1587s # }; 1587s # 1587s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SingleArgSignalASV", 1587s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1587s # NULL 1587s # }, 1587s # "single-arg-signal-asv" 1587s # }; 1587s # 1587s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1587s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.SignalingIface", 1587s # NULL, 1587s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-signaling-iface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_signaling_iface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_signaling_iface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__VOID (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__UCHAR (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__INT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__UINT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__INT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__UINT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__DOUBLE (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__STRING (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__STRING (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__STRING (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__VARIANT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__STRING (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__BOXED (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__BOXED (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__BOXED (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__VARIANT (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1587s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1587s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1587s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1587s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1587s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1587s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1587s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1587s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1587s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1587s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1587s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1587s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1587s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1587s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1587s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1587s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1587s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1587s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1587s # */ 1587s # 1587s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1587s # { 1587s # /* GObject signals for received D-Bus signals: */ 1587s # /** 1587s # * OrgProjectSignalingIface::no-arg-signal: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1587s # g_signal_new ("no-arg-signal", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1587s # G_TYPE_NONE, 1587s # 0); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-b: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_b: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1587s # g_signal_new ("single-arg-signal-b", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_BOOLEAN); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-y: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_y: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1587s # g_signal_new ("single-arg-signal-y", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_UCHAR); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-n: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_n: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1587s # g_signal_new ("single-arg-signal-n", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_INT); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-q: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_q: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1587s # g_signal_new ("single-arg-signal-q", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_UINT); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-i: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_i: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1587s # g_signal_new ("single-arg-signal-i", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_INT); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-u: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_u: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1587s # g_signal_new ("single-arg-signal-u", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_UINT); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-x: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_x: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1587s # g_signal_new ("single-arg-signal-x", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_INT64); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-t: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_t: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1587s # g_signal_new ("single-arg-signal-t", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_UINT64); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-d: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_d: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1587s # g_signal_new ("single-arg-signal-d", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_DOUBLE); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-s: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_s: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1587s # g_signal_new ("single-arg-signal-s", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_STRING); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-o: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_o: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1587s # g_signal_new ("single-arg-signal-o", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_STRING); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-g: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_g: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1587s # g_signal_new ("single-arg-signal-g", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_STRING); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-h: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_h: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1587s # g_signal_new ("single-arg-signal-h", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_VARIANT); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-ay: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_ay: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1587s # g_signal_new ("single-arg-signal-ay", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_STRING); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-as: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_as: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1587s # g_signal_new ("single-arg-signal-as", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_STRV); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-ao: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_ao: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1587s # g_signal_new ("single-arg-signal-ao", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_STRV); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-aay: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_aay: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1587s # g_signal_new ("single-arg-signal-aay", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_STRV); 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface::single-arg-signal-asv: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_asv: Argument. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1587s # g_signal_new ("single-arg-signal-asv", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1587s # G_TYPE_NONE, 1587s # 1, G_TYPE_VARIANT); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_no_arg_signal: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * 1587s # * Emits the "NoArgSignal" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_no_arg_signal ( 1587s # OrgProjectSignalingIface *object) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_b: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_b: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalB" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_b ( 1587s # OrgProjectSignalingIface *object, 1587s # gboolean arg_an_b) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_y: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_y: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalY" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_y ( 1587s # OrgProjectSignalingIface *object, 1587s # guchar arg_an_y) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_n: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_n: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalN" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_n ( 1587s # OrgProjectSignalingIface *object, 1587s # gint16 arg_an_n) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_q: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_q: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalQ" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_q ( 1587s # OrgProjectSignalingIface *object, 1587s # guint16 arg_an_q) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_i: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_i: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalI" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_i ( 1587s # OrgProjectSignalingIface *object, 1587s # gint arg_an_i) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_u: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_u: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalU" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_u ( 1587s # OrgProjectSignalingIface *object, 1587s # guint arg_an_u) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_x: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_x: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalX" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_x ( 1587s # OrgProjectSignalingIface *object, 1587s # gint64 arg_an_x) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_t: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_t: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalT" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_t ( 1587s # OrgProjectSignalingIface *object, 1587s # guint64 arg_an_t) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_d: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_d: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalD" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_d ( 1587s # OrgProjectSignalingIface *object, 1587s # gdouble arg_an_d) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_s: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_s: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalS" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_s ( 1587s # OrgProjectSignalingIface *object, 1587s # const gchar *arg_an_s) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_o: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_o: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalO" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_o ( 1587s # OrgProjectSignalingIface *object, 1587s # const gchar *arg_an_o) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_g: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_g: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalG" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_g ( 1587s # OrgProjectSignalingIface *object, 1587s # const gchar *arg_an_g) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_h: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_h: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalH" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_h ( 1587s # OrgProjectSignalingIface *object, 1587s # GVariant *arg_an_h) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_ay: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalAY" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1587s # OrgProjectSignalingIface *object, 1587s # const gchar *arg_an_ay) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_as: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_as: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalAS" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_as ( 1587s # OrgProjectSignalingIface *object, 1587s # const gchar *const *arg_an_as) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_ao: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalAO" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1587s # OrgProjectSignalingIface *object, 1587s # const gchar *const *arg_an_ao) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_aay: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1587s # OrgProjectSignalingIface *object, 1587s # const gchar *const *arg_an_aay) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * @arg_an_asv: Argument to pass with the signal. 1587s # * 1587s # * Emits the "SingleArgSignalASV" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1587s # OrgProjectSignalingIface *object, 1587s # GVariant *arg_an_asv) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceProxy: 1587s # * 1587s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectSignalingIfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectSignalingIfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_signaling_iface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1587s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1587s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceSkeleton: 1587s # * 1587s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_signaling_iface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_signaling_iface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_signaling_iface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1587s # { 1587s # _org_project_signaling_iface_skeleton_handle_method_call, 1587s # _org_project_signaling_iface_skeleton_handle_get_property, 1587s # _org_project_signaling_iface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_signaling_iface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1587s # OrgProjectSignalingIface *object) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1587s # OrgProjectSignalingIface *object, 1587s # gboolean arg_an_b) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1587s # arg_an_b)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1587s # OrgProjectSignalingIface *object, 1587s # guchar arg_an_y) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1587s # arg_an_y)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1587s # OrgProjectSignalingIface *object, 1587s # gint16 arg_an_n) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1587s # arg_an_n)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1587s # OrgProjectSignalingIface *object, 1587s # guint16 arg_an_q) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1587s # arg_an_q)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1587s # OrgProjectSignalingIface *object, 1587s # gint arg_an_i) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1587s # arg_an_i)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1587s # OrgProjectSignalingIface *object, 1587s # guint arg_an_u) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1587s # arg_an_u)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1587s # OrgProjectSignalingIface *object, 1587s # gint64 arg_an_x) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1587s # arg_an_x)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1587s # OrgProjectSignalingIface *object, 1587s # guint64 arg_an_t) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1587s # arg_an_t)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1587s # OrgProjectSignalingIface *object, 1587s # gdouble arg_an_d) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1587s # arg_an_d)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1587s # OrgProjectSignalingIface *object, 1587s # const gchar *arg_an_s) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1587s # arg_an_s)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1587s # OrgProjectSignalingIface *object, 1587s # const gchar *arg_an_o) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1587s # arg_an_o)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1587s # OrgProjectSignalingIface *object, 1587s # const gchar *arg_an_g) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1587s # arg_an_g)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1587s # OrgProjectSignalingIface *object, 1587s # GVariant *arg_an_h) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1587s # arg_an_h)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1587s # OrgProjectSignalingIface *object, 1587s # const gchar *arg_an_ay) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1587s # arg_an_ay)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1587s # OrgProjectSignalingIface *object, 1587s # const gchar *const *arg_an_as) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1587s # arg_an_as)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1587s # OrgProjectSignalingIface *object, 1587s # const gchar *const *arg_an_ao) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1587s # arg_an_ao)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1587s # OrgProjectSignalingIface *object, 1587s # const gchar *const *arg_an_aay) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1587s # arg_an_aay)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1587s # OrgProjectSignalingIface *object, 1587s # GVariant *arg_an_asv) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1587s # arg_an_asv)); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1587s # { 1587s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1587s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1587s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1587s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1587s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1587s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1587s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1587s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1587s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1587s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1587s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1587s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1587s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1587s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1587s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1587s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1587s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1587s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1587s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1587s # } 1587s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1587s # tmpdir: /tmp/tmp_rfanr2l 1587s # codegen: /usr/bin/gdbus-codegen 1587s # /tmp/tmp_rfanr2l/tmp406ys_qk.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_rfanr2l/tmp406ys_qk.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.UsefulInterface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectUsefulInterface 1587s # * @title: OrgProjectUsefulInterface 1587s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1587s # */ 1587s # 1587s # enum 1587s # { 1587s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1587s # }; 1587s # 1587s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1587s # 1587s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SimpleSignal", 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "simple-signal" 1587s # }; 1587s # 1587s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1587s # { 1587s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.UsefulInterface", 1587s # NULL, 1587s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-useful-interface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_useful_interface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_useful_interface_signal_marshal_simple_signal ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__VOID (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1587s # */ 1587s # 1587s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # /* GObject signals for received D-Bus signals: */ 1587s # /** 1587s # * OrgProjectUsefulInterface::simple-signal: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1587s # g_signal_new ("simple-signal", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1587s # NULL, 1587s # NULL, 1587s # org_project_useful_interface_signal_marshal_simple_signal, 1587s # G_TYPE_NONE, 1587s # 0); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_emit_simple_signal: 1587s # * @object: A #OrgProjectUsefulInterface. 1587s # * 1587s # * Emits the "SimpleSignal" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_useful_interface_emit_simple_signal ( 1587s # OrgProjectUsefulInterface *object) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxy: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1587s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1587s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_useful_interface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # g_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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeleton: 1587s # * 1587s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectUsefulInterfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_useful_interface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_useful_interface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_useful_interface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1587s # { 1587s # _org_project_useful_interface_skeleton_handle_method_call, 1587s # _org_project_useful_interface_skeleton_handle_get_property, 1587s # _org_project_useful_interface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_useful_interface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # _org_project_useful_interface_on_signal_simple_signal ( 1587s # OrgProjectUsefulInterface *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_useful_interface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1587s # { 1587s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1587s # } 1587s # 1587s # /** 1587s # * org_project_useful_interface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectUsefulInterface * 1587s # org_project_useful_interface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.OtherIface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectOtherIface 1587s # * @title: OrgProjectOtherIface 1587s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1587s # */ 1587s # 1587s # enum 1587s # { 1587s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1587s # }; 1587s # 1587s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1587s # 1587s # /* ---- Introspection data for org.project.OtherIface ---- */ 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SimpleSignal", 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "simple-signal" 1587s # }; 1587s # 1587s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1587s # { 1587s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.OtherIface", 1587s # NULL, 1587s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-other-iface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_other_iface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_other_iface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_iface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_other_iface_signal_marshal_simple_signal ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__VOID (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectOtherIface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectOtherIfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.OtherIface. 1587s # */ 1587s # 1587s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1587s # { 1587s # /* GObject signals for received D-Bus signals: */ 1587s # /** 1587s # * OrgProjectOtherIface::simple-signal: 1587s # * @object: A #OrgProjectOtherIface. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1587s # g_signal_new ("simple-signal", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1587s # NULL, 1587s # NULL, 1587s # org_project_other_iface_signal_marshal_simple_signal, 1587s # G_TYPE_NONE, 1587s # 0); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_iface_emit_simple_signal: 1587s # * @object: A #OrgProjectOtherIface. 1587s # * 1587s # * Emits the "SimpleSignal" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_other_iface_emit_simple_signal ( 1587s # OrgProjectOtherIface *object) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectOtherIfaceProxy: 1587s # * 1587s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectOtherIfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectOtherIfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectOtherIfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_other_iface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1587s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1587s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_iface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_other_iface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_iface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectOtherIface * 1587s # org_project_other_iface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_OTHER_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_iface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectOtherIface * 1587s # org_project_other_iface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_OTHER_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_other_iface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_other_iface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_iface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectOtherIface * 1587s # org_project_other_iface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_OTHER_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_iface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectOtherIface * 1587s # org_project_other_iface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_OTHER_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectOtherIfaceSkeleton: 1587s # * 1587s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectOtherIfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectOtherIfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_other_iface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_other_iface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_other_iface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1587s # { 1587s # _org_project_other_iface_skeleton_handle_method_call, 1587s # _org_project_other_iface_skeleton_handle_get_property, 1587s # _org_project_other_iface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_other_iface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # _org_project_other_iface_on_signal_simple_signal ( 1587s # OrgProjectOtherIface *object) 1587s # { 1587s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_other_iface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1587s # { 1587s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_iface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectOtherIface * 1587s # org_project_other_iface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1587s # } 1587s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1587s # tmpdir: /tmp/tmpt9wm4f4m 1587s # codegen: /usr/bin/gdbus-codegen 1587s # /tmp/tmpt9wm4f4m/tmp4s5vlh0v.xml: 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # 1587s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt9wm4f4m/tmp4s5vlh0v.xml', '--output', '-', '--body'] 1587s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1587s # Output: /* 1587s # * This file is generated by gdbus-codegen, do not modify it. 1587s # * 1587s # * The license of this code is the same as for the D-Bus interface description 1587s # * it was derived from. Note that it links to GLib, so must comply with the 1587s # * LGPL linking clauses. 1587s # */ 1587s # 1587s # #ifdef HAVE_CONFIG_H 1587s # # include "config.h" 1587s # #endif 1587s # 1587s # #include 1587s # #ifdef G_OS_UNIX 1587s # # include 1587s # #endif 1587s # 1587s # #ifdef G_ENABLE_DEBUG 1587s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1587s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1587s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1587s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1587s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1587s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1587s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1587s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1587s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1587s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1587s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1587s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1587s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1587s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1587s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1587s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1587s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1587s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1587s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1587s # #else /* !G_ENABLE_DEBUG */ 1587s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1587s # * Do not access GValues directly in your code. Instead, use the 1587s # * g_value_get_*() functions 1587s # */ 1587s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1587s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1587s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1587s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1587s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1587s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1587s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1587s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1587s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1587s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1587s # #endif /* !G_ENABLE_DEBUG */ 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusArgInfo parent_struct; 1587s # gboolean use_gvariant; 1587s # } _ExtendedGDBusArgInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusMethodInfo parent_struct; 1587s # const gchar *signal_name; 1587s # gboolean pass_fdlist; 1587s # } _ExtendedGDBusMethodInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusSignalInfo parent_struct; 1587s # const gchar *signal_name; 1587s # } _ExtendedGDBusSignalInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusPropertyInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # guint use_gvariant : 1; 1587s # guint emits_changed_signal : 1; 1587s # } _ExtendedGDBusPropertyInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # GDBusInterfaceInfo parent_struct; 1587s # const gchar *hyphen_name; 1587s # } _ExtendedGDBusInterfaceInfo; 1587s # 1587s # typedef struct 1587s # { 1587s # const _ExtendedGDBusPropertyInfo *info; 1587s # guint prop_id; 1587s # GValue orig_value; /* the value before the change */ 1587s # } ChangedProperty; 1587s # 1587s # static void 1587s # _changed_property_free (ChangedProperty *data) 1587s # { 1587s # g_value_unset (&data->orig_value); 1587s # g_free (data); 1587s # } 1587s # 1587s # static gboolean 1587s # _g_strv_equal0 (gchar **a, gchar **b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # guint n; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # if (g_strv_length (a) != g_strv_length (b)) 1587s # goto out; 1587s # for (n = 0; a[n] != NULL; n++) 1587s # if (g_strcmp0 (a[n], b[n]) != 0) 1587s # goto out; 1587s # ret = TRUE; 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _g_variant_equal0 (GVariant *a, GVariant *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # if (a == NULL && b == NULL) 1587s # { 1587s # ret = TRUE; 1587s # goto out; 1587s # } 1587s # if (a == NULL || b == NULL) 1587s # goto out; 1587s # ret = g_variant_equal (a, b); 1587s # out: 1587s # return ret; 1587s # } 1587s # 1587s # G_GNUC_UNUSED static gboolean 1587s # _g_value_equal (const GValue *a, const GValue *b) 1587s # { 1587s # gboolean ret = FALSE; 1587s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1587s # switch (G_VALUE_TYPE (a)) 1587s # { 1587s # case G_TYPE_BOOLEAN: 1587s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1587s # break; 1587s # case G_TYPE_UCHAR: 1587s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1587s # break; 1587s # case G_TYPE_INT: 1587s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1587s # break; 1587s # case G_TYPE_UINT: 1587s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1587s # break; 1587s # case G_TYPE_INT64: 1587s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1587s # break; 1587s # case G_TYPE_UINT64: 1587s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1587s # break; 1587s # case G_TYPE_DOUBLE: 1587s # { 1587s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1587s # gdouble da = g_value_get_double (a); 1587s # gdouble db = g_value_get_double (b); 1587s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1587s # } 1587s # break; 1587s # case G_TYPE_STRING: 1587s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1587s # break; 1587s # case G_TYPE_VARIANT: 1587s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1587s # break; 1587s # default: 1587s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1587s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1587s # else 1587s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1587s # break; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.SignalingIface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectSignalingIface 1587s # * @title: OrgProjectSignalingIface 1587s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1587s # */ 1587s # 1587s # enum 1587s # { 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1587s # }; 1587s # 1587s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1587s # 1587s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SimpleSignal", 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "simple-signal" 1587s # }; 1587s # 1587s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1587s # { 1587s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.SignalingIface", 1587s # NULL, 1587s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-signaling-iface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_signaling_iface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_signaling_iface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_signaling_iface_signal_marshal_simple_signal ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__VOID (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectSignalingIface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1587s # */ 1587s # 1587s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1587s # { 1587s # /* GObject signals for received D-Bus signals: */ 1587s # /** 1587s # * OrgProjectSignalingIface::simple-signal: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1587s # g_signal_new ("simple-signal", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1587s # NULL, 1587s # NULL, 1587s # org_project_signaling_iface_signal_marshal_simple_signal, 1587s # G_TYPE_NONE, 1587s # 0); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_emit_simple_signal: 1587s # * @object: A #OrgProjectSignalingIface. 1587s # * 1587s # * Emits the "SimpleSignal" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_emit_simple_signal ( 1587s # OrgProjectSignalingIface *object) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceProxy: 1587s # * 1587s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectSignalingIfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectSignalingIfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_signaling_iface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1587s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1587s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_signaling_iface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceSkeleton: 1587s # * 1587s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectSignalingIfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_signaling_iface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_signaling_iface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_signaling_iface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1587s # { 1587s # _org_project_signaling_iface_skeleton_handle_method_call, 1587s # _org_project_signaling_iface_skeleton_handle_get_property, 1587s # _org_project_signaling_iface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_signaling_iface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # _org_project_signaling_iface_on_signal_simple_signal ( 1587s # OrgProjectSignalingIface *object) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1587s # { 1587s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1587s # } 1587s # 1587s # /** 1587s # * org_project_signaling_iface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectSignalingIface * 1587s # org_project_signaling_iface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ 1587s # * Code for interface org.project.OtherSignalingIface 1587s # * ------------------------------------------------------------------------ 1587s # */ 1587s # 1587s # /** 1587s # * SECTION:OrgProjectOtherSignalingIface 1587s # * @title: OrgProjectOtherSignalingIface 1587s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1587s # * 1587s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1587s # */ 1587s # 1587s # enum 1587s # { 1587s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1587s # }; 1587s # 1587s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1587s # 1587s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1587s # 1587s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "SimpleSignal", 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "simple-signal" 1587s # }; 1587s # 1587s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1587s # { 1587s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1587s # NULL 1587s # }; 1587s # 1587s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1587s # { 1587s # { 1587s # -1, 1587s # (gchar *) "org.project.OtherSignalingIface", 1587s # NULL, 1587s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1587s # NULL, 1587s # NULL 1587s # }, 1587s # "org-project-other-signaling-iface", 1587s # }; 1587s # 1587s # 1587s # /** 1587s # * org_project_other_signaling_iface_interface_info: 1587s # * 1587s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1587s # * 1587s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1587s # */ 1587s # GDBusInterfaceInfo * 1587s # org_project_other_signaling_iface_interface_info (void) 1587s # { 1587s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_signaling_iface_override_properties: 1587s # * @klass: The class structure for a #GObject derived class. 1587s # * @property_id_begin: The property id to assign to the first overridden property. 1587s # * 1587s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1587s # * The properties are overridden in the order they are defined. 1587s # * 1587s # * Returns: The last property id. 1587s # */ 1587s # guint 1587s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1587s # { 1587s # return property_id_begin - 1; 1587s # } 1587s # 1587s # 1587s # inline static void 1587s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1587s # GClosure *closure, 1587s # GValue *return_value, 1587s # unsigned int n_param_values, 1587s # const GValue *param_values, 1587s # void *invocation_hint, 1587s # void *marshal_data) 1587s # { 1587s # g_cclosure_marshal_VOID__VOID (closure, 1587s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1587s # } 1587s # 1587s # 1587s # /** 1587s # * OrgProjectOtherSignalingIface: 1587s # * 1587s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectOtherSignalingIfaceIface: 1587s # * @parent_iface: The parent interface. 1587s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1587s # * 1587s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1587s # */ 1587s # 1587s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1587s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1587s # 1587s # static void 1587s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1587s # { 1587s # /* GObject signals for received D-Bus signals: */ 1587s # /** 1587s # * OrgProjectOtherSignalingIface::simple-signal: 1587s # * @object: A #OrgProjectOtherSignalingIface. 1587s # * 1587s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1587s # * 1587s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1587s # */ 1587s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1587s # g_signal_new ("simple-signal", 1587s # G_TYPE_FROM_INTERFACE (iface), 1587s # G_SIGNAL_RUN_LAST, 1587s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1587s # NULL, 1587s # NULL, 1587s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1587s # G_TYPE_NONE, 1587s # 0); 1587s # 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_signaling_iface_emit_simple_signal: 1587s # * @object: A #OrgProjectOtherSignalingIface. 1587s # * 1587s # * Emits the "SimpleSignal" D-Bus signal. 1587s # */ 1587s # void 1587s # org_project_other_signaling_iface_emit_simple_signal ( 1587s # OrgProjectOtherSignalingIface *object) 1587s # { 1587s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1587s # } 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectOtherSignalingIfaceProxy: 1587s # * 1587s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectOtherSignalingIfaceProxyClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1587s # */ 1587s # 1587s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1587s # { 1587s # GData *qdata; 1587s # }; 1587s # 1587s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1587s # { 1587s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1587s # g_datalist_clear (&proxy->priv->qdata); 1587s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1587s # guint prop_id G_GNUC_UNUSED, 1587s # const GValue *value G_GNUC_UNUSED, 1587s # GParamSpec *pspec G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1587s # const gchar *sender_name G_GNUC_UNUSED, 1587s # const gchar *signal_name, 1587s # GVariant *parameters) 1587s # { 1587s # _ExtendedGDBusSignalInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # gsize n; 1587s # guint signal_id; 1587s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1587s # if (info == NULL) 1587s # return; 1587s # num_params = g_variant_n_children (parameters); 1587s # paramv = g_new0 (GValue, num_params + 1); 1587s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1587s # g_value_set_object (¶mv[0], proxy); 1587s # g_variant_iter_init (&iter, parameters); 1587s # n = 1; 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1587s # g_signal_emitv (paramv, signal_id, 0, NULL); 1587s # for (n = 0; n < num_params + 1; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1587s # GVariant *changed_properties, 1587s # const gchar *const *invalidated_properties) 1587s # { 1587s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1587s # guint n; 1587s # const gchar *key; 1587s # GVariantIter *iter; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # g_variant_get (changed_properties, "a{sv}", &iter); 1587s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1587s # g_datalist_remove_data (&proxy->priv->qdata, key); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # g_variant_iter_free (iter); 1587s # for (n = 0; invalidated_properties[n] != NULL; n++) 1587s # { 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1587s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1587s # if (info != NULL) 1587s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1587s # } 1587s # } 1587s # 1587s # static void 1587s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1587s # #else 1587s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1587s # #endif 1587s # 1587s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusProxyClass *proxy_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1587s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1587s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1587s # 1587s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1587s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1587s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_signaling_iface_proxy_new: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_other_signaling_iface_proxy_new ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_signaling_iface_proxy_new_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectOtherSignalingIface * 1587s # org_project_other_signaling_iface_proxy_new_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_signaling_iface_proxy_new_sync: 1587s # * @connection: A #GDBusConnection. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectOtherSignalingIface * 1587s # org_project_other_signaling_iface_proxy_new_sync ( 1587s # GDBusConnection *connection, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /** 1587s # * org_project_other_signaling_iface_proxy_new_for_bus: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1587s # * @user_data: User data to pass to @callback. 1587s # * 1587s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1587s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1587s # * 1587s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1587s # */ 1587s # void 1587s # org_project_other_signaling_iface_proxy_new_for_bus ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GAsyncReadyCallback callback, 1587s # gpointer user_data) 1587s # { 1587s # 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); 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1587s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectOtherSignalingIface * 1587s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1587s # GAsyncResult *res, 1587s # GError **error) 1587s # { 1587s # GObject *ret; 1587s # GObject *source_object; 1587s # source_object = g_async_result_get_source_object (res); 1587s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1587s # g_object_unref (source_object); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1587s # * @bus_type: A #GBusType. 1587s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1587s # * @name: A bus name (well-known or unique). 1587s # * @object_path: An object path. 1587s # * @cancellable: (nullable): A #GCancellable or %NULL. 1587s # * @error: Return location for error or %NULL 1587s # * 1587s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1587s # * 1587s # * The calling thread is blocked until a reply is received. 1587s # * 1587s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1587s # */ 1587s # OrgProjectOtherSignalingIface * 1587s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1587s # GBusType bus_type, 1587s # GDBusProxyFlags flags, 1587s # const gchar *name, 1587s # const gchar *object_path, 1587s # GCancellable *cancellable, 1587s # GError **error) 1587s # { 1587s # GInitable *ret; 1587s # 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); 1587s # if (ret != NULL) 1587s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1587s # else 1587s # return NULL; 1587s # } 1587s # 1587s # 1587s # /* ------------------------------------------------------------------------ */ 1587s # 1587s # /** 1587s # * OrgProjectOtherSignalingIfaceSkeleton: 1587s # * 1587s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1587s # */ 1587s # 1587s # /** 1587s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1587s # * @parent_class: The parent class. 1587s # * 1587s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1587s # */ 1587s # 1587s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1587s # { 1587s # GValue *properties; 1587s # GList *changed_properties; 1587s # GSource *changed_properties_idle_source; 1587s # GMainContext *context; 1587s # GMutex lock; 1587s # }; 1587s # 1587s # static void 1587s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name, 1587s # const gchar *method_name, 1587s # GVariant *parameters, 1587s # GDBusMethodInvocation *invocation, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1587s # _ExtendedGDBusMethodInfo *info; 1587s # GVariantIter iter; 1587s # GVariant *child; 1587s # GValue *paramv; 1587s # gsize num_params; 1587s # guint num_extra; 1587s # gsize n; 1587s # guint signal_id; 1587s # GValue return_value = G_VALUE_INIT; 1587s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1587s # g_assert (info != NULL); 1587s # num_params = g_variant_n_children (parameters); 1587s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1587s # n = 0; 1587s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1587s # g_value_set_object (¶mv[n++], skeleton); 1587s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1587s # g_value_set_object (¶mv[n++], invocation); 1587s # if (info->pass_fdlist) 1587s # { 1587s # #ifdef G_OS_UNIX 1587s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1587s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1587s # #else 1587s # g_assert_not_reached (); 1587s # #endif 1587s # } 1587s # g_variant_iter_init (&iter, parameters); 1587s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1587s # { 1587s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1587s # if (arg_info->use_gvariant) 1587s # { 1587s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1587s # g_value_set_variant (¶mv[n], child); 1587s # n++; 1587s # } 1587s # else 1587s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1587s # g_variant_unref (child); 1587s # } 1587s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1587s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1587s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1587s # if (!g_value_get_boolean (&return_value)) 1587s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1587s # g_value_unset (&return_value); 1587s # for (n = 0; n < num_params + num_extra; n++) 1587s # g_value_unset (¶mv[n]); 1587s # g_free (paramv); 1587s # } 1587s # 1587s # static GVariant * 1587s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # GVariant *ret; 1587s # ret = NULL; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # g_value_init (&value, pspec->value_type); 1587s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1587s # g_value_unset (&value); 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static gboolean 1587s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1587s # GDBusConnection *connection G_GNUC_UNUSED, 1587s # const gchar *sender G_GNUC_UNUSED, 1587s # const gchar *object_path G_GNUC_UNUSED, 1587s # const gchar *interface_name G_GNUC_UNUSED, 1587s # const gchar *property_name, 1587s # GVariant *variant, 1587s # GError **error, 1587s # gpointer user_data) 1587s # { 1587s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1587s # GValue value = G_VALUE_INIT; 1587s # GParamSpec *pspec; 1587s # _ExtendedGDBusPropertyInfo *info; 1587s # gboolean ret; 1587s # ret = FALSE; 1587s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1587s # g_assert (info != NULL); 1587s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1587s # if (pspec == NULL) 1587s # { 1587s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1587s # } 1587s # else 1587s # { 1587s # if (info->use_gvariant) 1587s # g_value_set_variant (&value, variant); 1587s # else 1587s # g_dbus_gvariant_to_gvalue (variant, &value); 1587s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1587s # g_value_unset (&value); 1587s # ret = TRUE; 1587s # } 1587s # return ret; 1587s # } 1587s # 1587s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1587s # { 1587s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1587s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1587s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1587s # {NULL} 1587s # }; 1587s # 1587s # static GDBusInterfaceInfo * 1587s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return org_project_other_signaling_iface_interface_info (); 1587s # } 1587s # 1587s # static GDBusInterfaceVTable * 1587s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1587s # { 1587s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1587s # } 1587s # 1587s # static GVariant * 1587s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1587s # { 1587s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1587s # 1587s # GVariantBuilder builder; 1587s # guint n; 1587s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1587s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1587s # goto out; 1587s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1587s # { 1587s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1587s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1587s # { 1587s # GVariant *value; 1587s # 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); 1587s # if (value != NULL) 1587s # { 1587s # g_variant_take_ref (value); 1587s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1587s # g_variant_unref (value); 1587s # } 1587s # } 1587s # } 1587s # out: 1587s # return g_variant_builder_end (&builder); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1587s # { 1587s # } 1587s # 1587s # static void 1587s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1587s # OrgProjectOtherSignalingIface *object) 1587s # { 1587s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1587s # 1587s # GList *connections, *l; 1587s # GVariant *signal_variant; 1587s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1587s # 1587s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1587s # for (l = connections; l != NULL; l = l->next) 1587s # { 1587s # GDBusConnection *connection = l->data; 1587s # g_dbus_connection_emit_signal (connection, 1587s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1587s # signal_variant, NULL); 1587s # } 1587s # g_variant_unref (signal_variant); 1587s # g_list_free_full (connections, g_object_unref); 1587s # } 1587s # 1587s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1587s # 1587s # #else 1587s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1587s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1587s # 1587s # #endif 1587s # static void 1587s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1587s # { 1587s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1587s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1587s # if (skeleton->priv->changed_properties_idle_source != NULL) 1587s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1587s # g_main_context_unref (skeleton->priv->context); 1587s # g_mutex_clear (&skeleton->priv->lock); 1587s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1587s # { 1587s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1587s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1587s # #else 1587s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1587s # #endif 1587s # 1587s # g_mutex_init (&skeleton->priv->lock); 1587s # skeleton->priv->context = g_main_context_ref_thread_default (); 1587s # } 1587s # 1587s # static void 1587s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1587s # { 1587s # GObjectClass *gobject_class; 1587s # GDBusInterfaceSkeletonClass *skeleton_class; 1587s # 1587s # gobject_class = G_OBJECT_CLASS (klass); 1587s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1587s # 1587s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1587s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1587s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1587s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1587s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1587s # 1587s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1587s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1587s # #endif 1587s # } 1587s # 1587s # static void 1587s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1587s # { 1587s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1587s # } 1587s # 1587s # /** 1587s # * org_project_other_signaling_iface_skeleton_new: 1587s # * 1587s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1587s # * 1587s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1587s # */ 1587s # OrgProjectOtherSignalingIface * 1587s # org_project_other_signaling_iface_skeleton_new (void) 1587s # { 1587s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1587s # } 1588s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1588s # tmpdir: /tmp/tmpijw87ef5 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmpijw87ef5/tmpt7py9vut.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmpt7py9vut.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_b", 1588s # (gchar *) "b", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalB", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-b" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-b: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_b: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1588s # g_signal_new ("single-arg-signal-b", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_BOOLEAN); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_b: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_b: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalB" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_b ( 1588s # OrgProjectSignalingIface *object, 1588s # gboolean arg_arg_b) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1588s # OrgProjectSignalingIface *object, 1588s # gboolean arg_arg_b) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1588s # arg_arg_b)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmp5j0ramfb.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmp5j0ramfb.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_y", 1588s # (gchar *) "y", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalY", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-y" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__UCHAR (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-y: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_y: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1588s # g_signal_new ("single-arg-signal-y", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_UCHAR); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_y: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_y: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalY" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_y ( 1588s # OrgProjectSignalingIface *object, 1588s # guchar arg_arg_y) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1588s # OrgProjectSignalingIface *object, 1588s # guchar arg_arg_y) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1588s # arg_arg_y)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmp25zt3efq.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmp25zt3efq.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_n", 1588s # (gchar *) "n", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalN", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-n" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__INT (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-n: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_n: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1588s # g_signal_new ("single-arg-signal-n", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_INT); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_n: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_n: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalN" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_n ( 1588s # OrgProjectSignalingIface *object, 1588s # gint16 arg_arg_n) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1588s # OrgProjectSignalingIface *object, 1588s # gint16 arg_arg_n) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1588s # arg_arg_n)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmpjurdaof8.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmpjurdaof8.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_q", 1588s # (gchar *) "q", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalQ", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-q" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__UINT (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-q: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_q: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1588s # g_signal_new ("single-arg-signal-q", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_UINT); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_q: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_q: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalQ" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_q ( 1588s # OrgProjectSignalingIface *object, 1588s # guint16 arg_arg_q) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1588s # OrgProjectSignalingIface *object, 1588s # guint16 arg_arg_q) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1588s # arg_arg_q)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmpn9q6_8ty.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmpn9q6_8ty.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_i", 1588s # (gchar *) "i", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalI", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-i" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__INT (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-i: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_i: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1588s # g_signal_new ("single-arg-signal-i", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_INT); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_i: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_i: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalI" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_i ( 1588s # OrgProjectSignalingIface *object, 1588s # gint arg_arg_i) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1588s # OrgProjectSignalingIface *object, 1588s # gint arg_arg_i) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1588s # arg_arg_i)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmpvjo93s3r.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmpvjo93s3r.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_u", 1588s # (gchar *) "u", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalU", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-u" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__UINT (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-u: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_u: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1588s # g_signal_new ("single-arg-signal-u", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_UINT); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_u: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_u: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalU" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_u ( 1588s # OrgProjectSignalingIface *object, 1588s # guint arg_arg_u) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1588s # OrgProjectSignalingIface *object, 1588s # guint arg_arg_u) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1588s # arg_arg_u)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmpvz9w1agq.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmpvz9w1agq.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static void 1588s # _g_dbus_codegen_marshal_VOID__INT64 ( 1588s # GClosure *closure, 1588s # GValue *return_value G_GNUC_UNUSED, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint G_GNUC_UNUSED, 1588s # void *marshal_data) 1588s # { 1588s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1588s # (void *data1, 1588s # gint64 arg_arg_x, 1588s # void *data2); 1588s # _GDbusCodegenMarshalVoid_Int64Func callback; 1588s # GCClosure *cc = (GCClosure*) closure; 1588s # void *data1, *data2; 1588s # 1588s # g_return_if_fail (n_param_values == 2); 1588s # 1588s # if (G_CCLOSURE_SWAP_DATA (closure)) 1588s # { 1588s # data1 = closure->data; 1588s # data2 = g_value_peek_pointer (param_values + 0); 1588s # } 1588s # else 1588s # { 1588s # data1 = g_value_peek_pointer (param_values + 0); 1588s # data2 = closure->data; 1588s # } 1588s # 1588s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1588s # (marshal_data ? marshal_data : cc->callback); 1588s # 1588s # callback (data1, 1588s # g_marshal_value_peek_int64 (param_values + 1), 1588s # data2); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_x", 1588s # (gchar *) "x", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalX", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-x" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-x: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_x: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1588s # g_signal_new ("single-arg-signal-x", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_INT64); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_x: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_x: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalX" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_x ( 1588s # OrgProjectSignalingIface *object, 1588s # gint64 arg_arg_x) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1588s # OrgProjectSignalingIface *object, 1588s # gint64 arg_arg_x) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1588s # arg_arg_x)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmpoy5wdff8.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmpoy5wdff8.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static void 1588s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1588s # GClosure *closure, 1588s # GValue *return_value G_GNUC_UNUSED, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint G_GNUC_UNUSED, 1588s # void *marshal_data) 1588s # { 1588s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1588s # (void *data1, 1588s # guint64 arg_arg_t, 1588s # void *data2); 1588s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1588s # GCClosure *cc = (GCClosure*) closure; 1588s # void *data1, *data2; 1588s # 1588s # g_return_if_fail (n_param_values == 2); 1588s # 1588s # if (G_CCLOSURE_SWAP_DATA (closure)) 1588s # { 1588s # data1 = closure->data; 1588s # data2 = g_value_peek_pointer (param_values + 0); 1588s # } 1588s # else 1588s # { 1588s # data1 = g_value_peek_pointer (param_values + 0); 1588s # data2 = closure->data; 1588s # } 1588s # 1588s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1588s # (marshal_data ? marshal_data : cc->callback); 1588s # 1588s # callback (data1, 1588s # g_marshal_value_peek_uint64 (param_values + 1), 1588s # data2); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_t", 1588s # (gchar *) "t", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalT", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-t" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-t: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_t: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1588s # g_signal_new ("single-arg-signal-t", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_UINT64); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_t: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_t: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalT" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_t ( 1588s # OrgProjectSignalingIface *object, 1588s # guint64 arg_arg_t) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1588s # OrgProjectSignalingIface *object, 1588s # guint64 arg_arg_t) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1588s # arg_arg_t)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmp44p__1rk.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmp44p__1rk.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_d", 1588s # (gchar *) "d", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalD", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-d" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__DOUBLE (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-d: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_d: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1588s # g_signal_new ("single-arg-signal-d", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_DOUBLE); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_d: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_d: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalD" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_d ( 1588s # OrgProjectSignalingIface *object, 1588s # gdouble arg_arg_d) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1588s # OrgProjectSignalingIface *object, 1588s # gdouble arg_arg_d) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1588s # arg_arg_d)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmpwn_2ws8i.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmpwn_2ws8i.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_s", 1588s # (gchar *) "s", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalS", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-s" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__STRING (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-s: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_s: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1588s # g_signal_new ("single-arg-signal-s", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_STRING); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_s: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_s: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalS" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_s ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_s) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_s) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1588s # arg_arg_s)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmpbb2a77cn.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmpbb2a77cn.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_o", 1588s # (gchar *) "o", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalO", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-o" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__STRING (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-o: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_o: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1588s # g_signal_new ("single-arg-signal-o", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_STRING); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_o: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_o: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalO" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_o ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_o) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_o) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1588s # arg_arg_o)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmpo755ats4.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmpo755ats4.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_g", 1588s # (gchar *) "g", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalG", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-g" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__STRING (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-g: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_g: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1588s # g_signal_new ("single-arg-signal-g", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_STRING); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_g: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_g: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalG" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_g ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_g) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_g) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1588s # arg_arg_g)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmpguj18zxs.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmpguj18zxs.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_h", 1588s # (gchar *) "h", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalH", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-h" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VARIANT (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-h: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_h: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1588s # g_signal_new ("single-arg-signal-h", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_VARIANT); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_h: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_h: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalH" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_h ( 1588s # OrgProjectSignalingIface *object, 1588s # GVariant *arg_arg_h) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1588s # OrgProjectSignalingIface *object, 1588s # GVariant *arg_arg_h) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1588s # arg_arg_h)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmpyqc0o00d.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmpyqc0o00d.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_ay", 1588s # (gchar *) "ay", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalAy", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-ay" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__STRING (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-ay: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_ay: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1588s # g_signal_new ("single-arg-signal-ay", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_STRING); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_ay: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalAy" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_ay) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *arg_arg_ay) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1588s # arg_arg_ay)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmpr261471e.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmpr261471e.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_as", 1588s # (gchar *) "as", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalAs", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-as" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__BOXED (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-as: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_as: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1588s # g_signal_new ("single-arg-signal-as", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_STRV); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_as: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_as: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalAs" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_as ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *const *arg_arg_as) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *const *arg_arg_as) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1588s # arg_arg_as)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmpxha9m41d.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmpxha9m41d.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_ao", 1588s # (gchar *) "ao", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalAo", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-ao" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__BOXED (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-ao: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_ao: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1588s # g_signal_new ("single-arg-signal-ao", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_STRV); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_ao: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalAo" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *const *arg_arg_ao) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *const *arg_arg_ao) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1588s # arg_arg_ao)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmppxzn7phs.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmppxzn7phs.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_aay", 1588s # (gchar *) "aay", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalAay", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-aay" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__BOXED (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-aay: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_aay: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1588s # g_signal_new ("single-arg-signal-aay", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_STRV); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_aay: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalAay" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *const *arg_arg_aay) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1588s # OrgProjectSignalingIface *object, 1588s # const gchar *const *arg_arg_aay) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1588s # arg_arg_aay)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s # /tmp/tmpijw87ef5/tmpj9sxq5yz.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijw87ef5/tmpj9sxq5yz.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "arg_asv", 1588s # (gchar *) "a{sv}", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SingleArgSignalAsv", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "single-arg-signal-asv" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VARIANT (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::single-arg-signal-asv: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_asv: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1588s # g_signal_new ("single-arg-signal-asv", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1588s # G_TYPE_NONE, 1588s # 1, G_TYPE_VARIANT); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_arg_asv: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1588s # OrgProjectSignalingIface *object, 1588s # GVariant *arg_arg_asv) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1588s # OrgProjectSignalingIface *object, 1588s # GVariant *arg_arg_asv) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1588s # arg_arg_asv)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1588s # tmpdir: /tmp/tmp0ij_90cr 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmp0ij_90cr/tmpfsoz36e9.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0ij_90cr/tmpfsoz36e9.xml', '--output', '-', '--body'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifdef HAVE_CONFIG_H 1588s # # include "config.h" 1588s # #endif 1588s # 1588s # #include 1588s # #ifdef G_OS_UNIX 1588s # # include 1588s # #endif 1588s # 1588s # #ifdef G_ENABLE_DEBUG 1588s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1588s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1588s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1588s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1588s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1588s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1588s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1588s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1588s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1588s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1588s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1588s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1588s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1588s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1588s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1588s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1588s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1588s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1588s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1588s # #else /* !G_ENABLE_DEBUG */ 1588s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1588s # * Do not access GValues directly in your code. Instead, use the 1588s # * g_value_get_*() functions 1588s # */ 1588s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1588s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1588s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1588s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1588s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1588s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1588s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1588s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1588s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1588s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1588s # #endif /* !G_ENABLE_DEBUG */ 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusArgInfo parent_struct; 1588s # gboolean use_gvariant; 1588s # } _ExtendedGDBusArgInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusMethodInfo parent_struct; 1588s # const gchar *signal_name; 1588s # gboolean pass_fdlist; 1588s # } _ExtendedGDBusMethodInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusSignalInfo parent_struct; 1588s # const gchar *signal_name; 1588s # } _ExtendedGDBusSignalInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusPropertyInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # guint use_gvariant : 1; 1588s # guint emits_changed_signal : 1; 1588s # } _ExtendedGDBusPropertyInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # GDBusInterfaceInfo parent_struct; 1588s # const gchar *hyphen_name; 1588s # } _ExtendedGDBusInterfaceInfo; 1588s # 1588s # typedef struct 1588s # { 1588s # const _ExtendedGDBusPropertyInfo *info; 1588s # guint prop_id; 1588s # GValue orig_value; /* the value before the change */ 1588s # } ChangedProperty; 1588s # 1588s # static void 1588s # _changed_property_free (ChangedProperty *data) 1588s # { 1588s # g_value_unset (&data->orig_value); 1588s # g_free (data); 1588s # } 1588s # 1588s # static gboolean 1588s # _g_strv_equal0 (gchar **a, gchar **b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # guint n; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # if (g_strv_length (a) != g_strv_length (b)) 1588s # goto out; 1588s # for (n = 0; a[n] != NULL; n++) 1588s # if (g_strcmp0 (a[n], b[n]) != 0) 1588s # goto out; 1588s # ret = TRUE; 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _g_variant_equal0 (GVariant *a, GVariant *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # if (a == NULL && b == NULL) 1588s # { 1588s # ret = TRUE; 1588s # goto out; 1588s # } 1588s # if (a == NULL || b == NULL) 1588s # goto out; 1588s # ret = g_variant_equal (a, b); 1588s # out: 1588s # return ret; 1588s # } 1588s # 1588s # G_GNUC_UNUSED static gboolean 1588s # _g_value_equal (const GValue *a, const GValue *b) 1588s # { 1588s # gboolean ret = FALSE; 1588s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1588s # switch (G_VALUE_TYPE (a)) 1588s # { 1588s # case G_TYPE_BOOLEAN: 1588s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1588s # break; 1588s # case G_TYPE_UCHAR: 1588s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1588s # break; 1588s # case G_TYPE_INT: 1588s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1588s # break; 1588s # case G_TYPE_UINT: 1588s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1588s # break; 1588s # case G_TYPE_INT64: 1588s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1588s # break; 1588s # case G_TYPE_UINT64: 1588s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1588s # break; 1588s # case G_TYPE_DOUBLE: 1588s # { 1588s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1588s # gdouble da = g_value_get_double (a); 1588s # gdouble db = g_value_get_double (b); 1588s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1588s # } 1588s # break; 1588s # case G_TYPE_STRING: 1588s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1588s # break; 1588s # case G_TYPE_VARIANT: 1588s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1588s # break; 1588s # default: 1588s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1588s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1588s # else 1588s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1588s # break; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static void 1588s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1588s # GClosure *closure, 1588s # GValue *return_value G_GNUC_UNUSED, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint G_GNUC_UNUSED, 1588s # void *marshal_data) 1588s # { 1588s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1588s # (void *data1, 1588s # gboolean arg_an_b, 1588s # guchar arg_an_y, 1588s # gint16 arg_an_n, 1588s # guint16 arg_an_q, 1588s # gint arg_an_i, 1588s # guint arg_an_u, 1588s # gint64 arg_an_x, 1588s # guint64 arg_an_t, 1588s # gdouble arg_an_d, 1588s # const gchar *arg_an_s, 1588s # const gchar *arg_an_o, 1588s # const gchar *arg_an_g, 1588s # GVariant *arg_an_h, 1588s # const gchar *arg_an_ay, 1588s # const gchar *const *arg_an_as, 1588s # const gchar *const *arg_an_ao, 1588s # const gchar *const *arg_an_aay, 1588s # GVariant *arg_an_asv, 1588s # void *data2); 1588s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1588s # GCClosure *cc = (GCClosure*) closure; 1588s # void *data1, *data2; 1588s # 1588s # g_return_if_fail (n_param_values == 19); 1588s # 1588s # if (G_CCLOSURE_SWAP_DATA (closure)) 1588s # { 1588s # data1 = closure->data; 1588s # data2 = g_value_peek_pointer (param_values + 0); 1588s # } 1588s # else 1588s # { 1588s # data1 = g_value_peek_pointer (param_values + 0); 1588s # data2 = closure->data; 1588s # } 1588s # 1588s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1588s # (marshal_data ? marshal_data : cc->callback); 1588s # 1588s # callback (data1, 1588s # g_marshal_value_peek_boolean (param_values + 1), 1588s # g_marshal_value_peek_uchar (param_values + 2), 1588s # g_marshal_value_peek_int (param_values + 3), 1588s # g_marshal_value_peek_uint (param_values + 4), 1588s # g_marshal_value_peek_int (param_values + 5), 1588s # g_marshal_value_peek_uint (param_values + 6), 1588s # g_marshal_value_peek_int64 (param_values + 7), 1588s # g_marshal_value_peek_uint64 (param_values + 8), 1588s # g_marshal_value_peek_double (param_values + 9), 1588s # g_marshal_value_peek_string (param_values + 10), 1588s # g_marshal_value_peek_string (param_values + 11), 1588s # g_marshal_value_peek_string (param_values + 12), 1588s # g_marshal_value_peek_variant (param_values + 13), 1588s # g_marshal_value_peek_string (param_values + 14), 1588s # g_marshal_value_peek_boxed (param_values + 15), 1588s # g_marshal_value_peek_boxed (param_values + 16), 1588s # g_marshal_value_peek_boxed (param_values + 17), 1588s # g_marshal_value_peek_variant (param_values + 18), 1588s # data2); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ 1588s # * Code for interface org.project.SignalingIface 1588s # * ------------------------------------------------------------------------ 1588s # */ 1588s # 1588s # /** 1588s # * SECTION:OrgProjectSignalingIface 1588s # * @title: OrgProjectSignalingIface 1588s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1588s # * 1588s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1588s # */ 1588s # 1588s # enum 1588s # { 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1588s # }; 1588s # 1588s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1588s # 1588s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SimpleSignal", 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "simple-signal" 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_b", 1588s # (gchar *) "b", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_y", 1588s # (gchar *) "y", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_n", 1588s # (gchar *) "n", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_q", 1588s # (gchar *) "q", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_i", 1588s # (gchar *) "i", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_u", 1588s # (gchar *) "u", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_x", 1588s # (gchar *) "x", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_t", 1588s # (gchar *) "t", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_d", 1588s # (gchar *) "d", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_s", 1588s # (gchar *) "s", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_o", 1588s # (gchar *) "o", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_g", 1588s # (gchar *) "g", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_h", 1588s # (gchar *) "h", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_ay", 1588s # (gchar *) "ay", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_as", 1588s # (gchar *) "as", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_ao", 1588s # (gchar *) "ao", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_aay", 1588s # (gchar *) "aay", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "an_asv", 1588s # (gchar *) "a{sv}", 1588s # NULL 1588s # }, 1588s # FALSE 1588s # }; 1588s # 1588s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "SignalWithManyArgs", 1588s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1588s # NULL 1588s # }, 1588s # "signal-with-many-args" 1588s # }; 1588s # 1588s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1588s # { 1588s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1588s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1588s # NULL 1588s # }; 1588s # 1588s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1588s # { 1588s # { 1588s # -1, 1588s # (gchar *) "org.project.SignalingIface", 1588s # NULL, 1588s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1588s # NULL, 1588s # NULL 1588s # }, 1588s # "org-project-signaling-iface", 1588s # }; 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_interface_info: 1588s # * 1588s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1588s # * 1588s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1588s # */ 1588s # GDBusInterfaceInfo * 1588s # org_project_signaling_iface_interface_info (void) 1588s # { 1588s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_override_properties: 1588s # * @klass: The class structure for a #GObject derived class. 1588s # * @property_id_begin: The property id to assign to the first overridden property. 1588s # * 1588s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1588s # * The properties are overridden in the order they are defined. 1588s # * 1588s # * Returns: The last property id. 1588s # */ 1588s # guint 1588s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1588s # { 1588s # return property_id_begin - 1; 1588s # } 1588s # 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_simple_signal ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # g_cclosure_marshal_VOID__VOID (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # inline static void 1588s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1588s # GClosure *closure, 1588s # GValue *return_value, 1588s # unsigned int n_param_values, 1588s # const GValue *param_values, 1588s # void *invocation_hint, 1588s # void *marshal_data) 1588s # { 1588s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1588s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1588s # } 1588s # 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface: 1588s # * 1588s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceIface: 1588s # * @parent_iface: The parent interface. 1588s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1588s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1588s # * 1588s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1588s # */ 1588s # 1588s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1588s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1588s # 1588s # static void 1588s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # /* GObject signals for received D-Bus signals: */ 1588s # /** 1588s # * OrgProjectSignalingIface::simple-signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1588s # g_signal_new ("simple-signal", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_simple_signal, 1588s # G_TYPE_NONE, 1588s # 0); 1588s # 1588s # /** 1588s # * OrgProjectSignalingIface::signal-with-many-args: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_an_b: Argument. 1588s # * @arg_an_y: Argument. 1588s # * @arg_an_n: Argument. 1588s # * @arg_an_q: Argument. 1588s # * @arg_an_i: Argument. 1588s # * @arg_an_u: Argument. 1588s # * @arg_an_x: Argument. 1588s # * @arg_an_t: Argument. 1588s # * @arg_an_d: Argument. 1588s # * @arg_an_s: Argument. 1588s # * @arg_an_o: Argument. 1588s # * @arg_an_g: Argument. 1588s # * @arg_an_h: Argument. 1588s # * @arg_an_ay: Argument. 1588s # * @arg_an_as: Argument. 1588s # * @arg_an_ao: Argument. 1588s # * @arg_an_aay: Argument. 1588s # * @arg_an_asv: Argument. 1588s # * 1588s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1588s # * 1588s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1588s # */ 1588s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1588s # g_signal_new ("signal-with-many-args", 1588s # G_TYPE_FROM_INTERFACE (iface), 1588s # G_SIGNAL_RUN_LAST, 1588s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1588s # NULL, 1588s # NULL, 1588s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1588s # G_TYPE_NONE, 1588s # 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); 1588s # 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_simple_signal: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * 1588s # * Emits the "SimpleSignal" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_emit_signal_with_many_args: 1588s # * @object: A #OrgProjectSignalingIface. 1588s # * @arg_an_b: Argument to pass with the signal. 1588s # * @arg_an_y: Argument to pass with the signal. 1588s # * @arg_an_n: Argument to pass with the signal. 1588s # * @arg_an_q: Argument to pass with the signal. 1588s # * @arg_an_i: Argument to pass with the signal. 1588s # * @arg_an_u: Argument to pass with the signal. 1588s # * @arg_an_x: Argument to pass with the signal. 1588s # * @arg_an_t: Argument to pass with the signal. 1588s # * @arg_an_d: Argument to pass with the signal. 1588s # * @arg_an_s: Argument to pass with the signal. 1588s # * @arg_an_o: Argument to pass with the signal. 1588s # * @arg_an_g: Argument to pass with the signal. 1588s # * @arg_an_h: Argument to pass with the signal. 1588s # * @arg_an_ay: Argument to pass with the signal. 1588s # * @arg_an_as: Argument to pass with the signal. 1588s # * @arg_an_ao: Argument to pass with the signal. 1588s # * @arg_an_aay: Argument to pass with the signal. 1588s # * @arg_an_asv: Argument to pass with the signal. 1588s # * 1588s # * Emits the "SignalWithManyArgs" D-Bus signal. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_emit_signal_with_many_args ( 1588s # OrgProjectSignalingIface *object, 1588s # gboolean arg_an_b, 1588s # guchar arg_an_y, 1588s # gint16 arg_an_n, 1588s # guint16 arg_an_q, 1588s # gint arg_an_i, 1588s # guint arg_an_u, 1588s # gint64 arg_an_x, 1588s # guint64 arg_an_t, 1588s # gdouble arg_an_d, 1588s # const gchar *arg_an_s, 1588s # const gchar *arg_an_o, 1588s # const gchar *arg_an_g, 1588s # GVariant *arg_an_h, 1588s # const gchar *arg_an_ay, 1588s # const gchar *const *arg_an_as, 1588s # const gchar *const *arg_an_ao, 1588s # const gchar *const *arg_an_aay, 1588s # GVariant *arg_an_asv) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxy: 1588s # * 1588s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceProxyClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceProxy. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceProxyPrivate 1588s # { 1588s # GData *qdata; 1588s # }; 1588s # 1588s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_proxy_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1588s # g_datalist_clear (&proxy->priv->qdata); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1588s # guint prop_id G_GNUC_UNUSED, 1588s # const GValue *value G_GNUC_UNUSED, 1588s # GParamSpec *pspec G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1588s # const gchar *sender_name G_GNUC_UNUSED, 1588s # const gchar *signal_name, 1588s # GVariant *parameters) 1588s # { 1588s # _ExtendedGDBusSignalInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # gsize n; 1588s # guint signal_id; 1588s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1588s # if (info == NULL) 1588s # return; 1588s # num_params = g_variant_n_children (parameters); 1588s # paramv = g_new0 (GValue, num_params + 1); 1588s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[0], proxy); 1588s # g_variant_iter_init (&iter, parameters); 1588s # n = 1; 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_signal_emitv (paramv, signal_id, 0, NULL); 1588s # for (n = 0; n < num_params + 1; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1588s # GVariant *changed_properties, 1588s # const gchar *const *invalidated_properties) 1588s # { 1588s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1588s # guint n; 1588s # const gchar *key; 1588s # GVariantIter *iter; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # g_variant_get (changed_properties, "a{sv}", &iter); 1588s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1588s # g_datalist_remove_data (&proxy->priv->qdata, key); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # g_variant_iter_free (iter); 1588s # for (n = 0; invalidated_properties[n] != NULL; n++) 1588s # { 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1588s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1588s # if (info != NULL) 1588s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1588s # } 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1588s # #else 1588s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1588s # #endif 1588s # 1588s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusProxyClass *proxy_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1588s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1588s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1588s # 1588s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1588s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1588s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_sync: 1588s # * @connection: A #GDBusConnection. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_sync ( 1588s # GDBusConnection *connection, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1588s # * @user_data: User data to pass to @callback. 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1588s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1588s # */ 1588s # void 1588s # org_project_signaling_iface_proxy_new_for_bus ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GAsyncReadyCallback callback, 1588s # gpointer user_data) 1588s # { 1588s # 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); 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1588s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1588s # GAsyncResult *res, 1588s # GError **error) 1588s # { 1588s # GObject *ret; 1588s # GObject *source_object; 1588s # source_object = g_async_result_get_source_object (res); 1588s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1588s # g_object_unref (source_object); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1588s # * @bus_type: A #GBusType. 1588s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1588s # * @name: A bus name (well-known or unique). 1588s # * @object_path: An object path. 1588s # * @cancellable: (nullable): A #GCancellable or %NULL. 1588s # * @error: Return location for error or %NULL 1588s # * 1588s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1588s # * 1588s # * The calling thread is blocked until a reply is received. 1588s # * 1588s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1588s # GBusType bus_type, 1588s # GDBusProxyFlags flags, 1588s # const gchar *name, 1588s # const gchar *object_path, 1588s # GCancellable *cancellable, 1588s # GError **error) 1588s # { 1588s # GInitable *ret; 1588s # 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); 1588s # if (ret != NULL) 1588s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1588s # else 1588s # return NULL; 1588s # } 1588s # 1588s # 1588s # /* ------------------------------------------------------------------------ */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeleton: 1588s # * 1588s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1588s # */ 1588s # 1588s # /** 1588s # * OrgProjectSignalingIfaceSkeletonClass: 1588s # * @parent_class: The parent class. 1588s # * 1588s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1588s # */ 1588s # 1588s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1588s # { 1588s # GValue *properties; 1588s # GList *changed_properties; 1588s # GSource *changed_properties_idle_source; 1588s # GMainContext *context; 1588s # GMutex lock; 1588s # }; 1588s # 1588s # static void 1588s # _org_project_signaling_iface_skeleton_handle_method_call ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name, 1588s # const gchar *method_name, 1588s # GVariant *parameters, 1588s # GDBusMethodInvocation *invocation, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # _ExtendedGDBusMethodInfo *info; 1588s # GVariantIter iter; 1588s # GVariant *child; 1588s # GValue *paramv; 1588s # gsize num_params; 1588s # guint num_extra; 1588s # gsize n; 1588s # guint signal_id; 1588s # GValue return_value = G_VALUE_INIT; 1588s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1588s # g_assert (info != NULL); 1588s # num_params = g_variant_n_children (parameters); 1588s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1588s # n = 0; 1588s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_set_object (¶mv[n++], skeleton); 1588s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1588s # g_value_set_object (¶mv[n++], invocation); 1588s # if (info->pass_fdlist) 1588s # { 1588s # #ifdef G_OS_UNIX 1588s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1588s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1588s # #else 1588s # g_assert_not_reached (); 1588s # #endif 1588s # } 1588s # g_variant_iter_init (&iter, parameters); 1588s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1588s # { 1588s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1588s # if (arg_info->use_gvariant) 1588s # { 1588s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1588s # g_value_set_variant (¶mv[n], child); 1588s # n++; 1588s # } 1588s # else 1588s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1588s # g_variant_unref (child); 1588s # } 1588s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1588s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1588s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1588s # if (!g_value_get_boolean (&return_value)) 1588s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1588s # g_value_unset (&return_value); 1588s # for (n = 0; n < num_params + num_extra; n++) 1588s # g_value_unset (¶mv[n]); 1588s # g_free (paramv); 1588s # } 1588s # 1588s # static GVariant * 1588s # _org_project_signaling_iface_skeleton_handle_get_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # GVariant *ret; 1588s # ret = NULL; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # g_value_init (&value, pspec->value_type); 1588s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1588s # g_value_unset (&value); 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static gboolean 1588s # _org_project_signaling_iface_skeleton_handle_set_property ( 1588s # GDBusConnection *connection G_GNUC_UNUSED, 1588s # const gchar *sender G_GNUC_UNUSED, 1588s # const gchar *object_path G_GNUC_UNUSED, 1588s # const gchar *interface_name G_GNUC_UNUSED, 1588s # const gchar *property_name, 1588s # GVariant *variant, 1588s # GError **error, 1588s # gpointer user_data) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1588s # GValue value = G_VALUE_INIT; 1588s # GParamSpec *pspec; 1588s # _ExtendedGDBusPropertyInfo *info; 1588s # gboolean ret; 1588s # ret = FALSE; 1588s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1588s # g_assert (info != NULL); 1588s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1588s # if (pspec == NULL) 1588s # { 1588s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1588s # } 1588s # else 1588s # { 1588s # if (info->use_gvariant) 1588s # g_value_set_variant (&value, variant); 1588s # else 1588s # g_dbus_gvariant_to_gvalue (variant, &value); 1588s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1588s # g_value_unset (&value); 1588s # ret = TRUE; 1588s # } 1588s # return ret; 1588s # } 1588s # 1588s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1588s # { 1588s # _org_project_signaling_iface_skeleton_handle_method_call, 1588s # _org_project_signaling_iface_skeleton_handle_get_property, 1588s # _org_project_signaling_iface_skeleton_handle_set_property, 1588s # {NULL} 1588s # }; 1588s # 1588s # static GDBusInterfaceInfo * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return org_project_signaling_iface_interface_info (); 1588s # } 1588s # 1588s # static GDBusInterfaceVTable * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1588s # { 1588s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1588s # } 1588s # 1588s # static GVariant * 1588s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1588s # 1588s # GVariantBuilder builder; 1588s # guint n; 1588s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1588s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1588s # goto out; 1588s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1588s # { 1588s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1588s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1588s # { 1588s # GVariant *value; 1588s # 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); 1588s # if (value != NULL) 1588s # { 1588s # g_variant_take_ref (value); 1588s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1588s # g_variant_unref (value); 1588s # } 1588s # } 1588s # } 1588s # out: 1588s # return g_variant_builder_end (&builder); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1588s # { 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_simple_signal ( 1588s # OrgProjectSignalingIface *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void 1588s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1588s # OrgProjectSignalingIface *object, 1588s # gboolean arg_an_b, 1588s # guchar arg_an_y, 1588s # gint16 arg_an_n, 1588s # guint16 arg_an_q, 1588s # gint arg_an_i, 1588s # guint arg_an_u, 1588s # gint64 arg_an_x, 1588s # guint64 arg_an_t, 1588s # gdouble arg_an_d, 1588s # const gchar *arg_an_s, 1588s # const gchar *arg_an_o, 1588s # const gchar *arg_an_g, 1588s # GVariant *arg_an_h, 1588s # const gchar *arg_an_ay, 1588s # const gchar *const *arg_an_as, 1588s # const gchar *const *arg_an_ao, 1588s # const gchar *const *arg_an_aay, 1588s # GVariant *arg_an_asv) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # 1588s # GList *connections, *l; 1588s # GVariant *signal_variant; 1588s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1588s # 1588s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1588s # arg_an_b, 1588s # arg_an_y, 1588s # arg_an_n, 1588s # arg_an_q, 1588s # arg_an_i, 1588s # arg_an_u, 1588s # arg_an_x, 1588s # arg_an_t, 1588s # arg_an_d, 1588s # arg_an_s, 1588s # arg_an_o, 1588s # arg_an_g, 1588s # arg_an_h, 1588s # arg_an_ay, 1588s # arg_an_as, 1588s # arg_an_ao, 1588s # arg_an_aay, 1588s # arg_an_asv)); 1588s # for (l = connections; l != NULL; l = l->next) 1588s # { 1588s # GDBusConnection *connection = l->data; 1588s # g_dbus_connection_emit_signal (connection, 1588s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1588s # signal_variant, NULL); 1588s # } 1588s # g_variant_unref (signal_variant); 1588s # g_list_free_full (connections, g_object_unref); 1588s # } 1588s # 1588s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #else 1588s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1588s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1588s # 1588s # #endif 1588s # static void 1588s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1588s # { 1588s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1588s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1588s # if (skeleton->priv->changed_properties_idle_source != NULL) 1588s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1588s # g_main_context_unref (skeleton->priv->context); 1588s # g_mutex_clear (&skeleton->priv->lock); 1588s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1588s # { 1588s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1588s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1588s # #else 1588s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1588s # #endif 1588s # 1588s # g_mutex_init (&skeleton->priv->lock); 1588s # skeleton->priv->context = g_main_context_ref_thread_default (); 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1588s # { 1588s # GObjectClass *gobject_class; 1588s # GDBusInterfaceSkeletonClass *skeleton_class; 1588s # 1588s # gobject_class = G_OBJECT_CLASS (klass); 1588s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1588s # 1588s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1588s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1588s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1588s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1588s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1588s # 1588s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1588s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1588s # #endif 1588s # } 1588s # 1588s # static void 1588s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1588s # { 1588s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1588s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1588s # } 1588s # 1588s # /** 1588s # * org_project_signaling_iface_skeleton_new: 1588s # * 1588s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1588s # * 1588s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1588s # */ 1588s # OrgProjectSignalingIface * 1588s # org_project_signaling_iface_skeleton_new (void) 1588s # { 1588s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1588s # } 1588s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1588s # tmpdir: /tmp/tmpmjdior83 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmpmjdior83/tmpsnrq00l7.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmjdior83/tmpsnrq00l7.xml', '--generate-docbook', 'test'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: 1588s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1588s # tmpdir: /tmp/tmpvah9tf6w 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmpvah9tf6w/tmp1e0av1f_.xml: 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvah9tf6w/tmp1e0av1f_.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1588s # tmpdir: /tmp/tmps3bcuiar 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmps3bcuiar/tmpx9k9uze3.xml: 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps3bcuiar/tmpx9k9uze3.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifndef __STDOUT__ 1588s # #define __STDOUT__ 1588s # 1588s # #include 1588s # 1588s # G_BEGIN_DECLS 1588s # 1588s # 1588s # G_END_DECLS 1588s # 1588s # #endif /* __STDOUT__ */ 1588s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1588s # tmpdir: /tmp/tmpylnyk0wv 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmpylnyk0wv/tmpal5d08s9.xml: 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpylnyk0wv/tmpal5d08s9.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1588s # tmpdir: /tmp/tmp6b2my10s 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmp6b2my10s/tmps2m19sv4.xml: 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6b2my10s/tmps2m19sv4.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifndef __STDOUT__ 1588s # #define __STDOUT__ 1588s # 1588s # #include 1588s # 1588s # G_BEGIN_DECLS 1588s # 1588s # 1588s # G_END_DECLS 1588s # 1588s # #endif /* __STDOUT__ */ 1588s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1588s # tmpdir: /tmp/tmp900p82hd 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmp900p82hd/tmpb5_70wik.xml: 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp900p82hd/tmpb5_70wik.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifndef __STDOUT__ 1588s # #define __STDOUT__ 1588s # 1588s # #include 1588s # 1588s # G_BEGIN_DECLS 1588s # 1588s # 1588s # G_END_DECLS 1588s # 1588s # #endif /* __STDOUT__ */ 1588s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1588s # tmpdir: /tmp/tmp_ao4vtqh 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmp_ao4vtqh/tmprybgkz46.xml: 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_ao4vtqh/tmprybgkz46.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1588s # tmpdir: /tmp/tmp54_yhqlr 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmp54_yhqlr/tmpxrkz2spb.xml: 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp54_yhqlr/tmpxrkz2spb.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifndef __STDOUT__ 1588s # #define __STDOUT__ 1588s # 1588s # #include 1588s # 1588s # G_BEGIN_DECLS 1588s # 1588s # 1588s # G_END_DECLS 1588s # 1588s # #endif /* __STDOUT__ */ 1588s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1588s # tmpdir: /tmp/tmp0q4m4lbc 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmp0q4m4lbc/tmp_unhw3z7.xml: 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0q4m4lbc/tmp_unhw3z7.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1588s # tmpdir: /tmp/tmp9l498kjq 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmp9l498kjq/tmpat_t45to.xml: 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9l498kjq/tmpat_t45to.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: /* 1588s # * This file is generated by gdbus-codegen, do not modify it. 1588s # * 1588s # * The license of this code is the same as for the D-Bus interface description 1588s # * it was derived from. Note that it links to GLib, so must comply with the 1588s # * LGPL linking clauses. 1588s # */ 1588s # 1588s # #ifndef __STDOUT__ 1588s # #define __STDOUT__ 1588s # 1588s # #include 1588s # 1588s # G_BEGIN_DECLS 1588s # 1588s # 1588s # G_END_DECLS 1588s # 1588s # #endif /* __STDOUT__ */ 1588s ok 35 __main__.TestCodegen.test_help 1588s # tmpdir: /tmp/tmp8644_5i4 1588s # codegen: /usr/bin/gdbus-codegen 1588s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1588s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1588s # [--c-generate-autocleanup {none,objects,all}] 1588s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1588s # [--generate-rst OUTFILES] [--pragma-once] 1588s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1588s # [--glib-min-required VERSION] 1588s # [--glib-max-allowed VERSION] 1588s # [--symbol-decorator SYMBOL_DECORATOR] 1588s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1588s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1588s # [--generate-c-code OUTFILES | --header | --body | 1588s # --interface-info-header | --interface-info-body] 1588s # [--output FILE | --output-directory OUTDIR] 1588s # FILE [FILE ...] 1588s # 1588s # D-Bus code and documentation generator 1588s # 1588s # positional arguments: 1588s # FILE D-Bus introspection XML file 1588s # 1588s # options: 1588s # -h, --help show this help message and exit 1588s # --interface-prefix PREFIX 1588s # String to strip from D-Bus interface names for code 1588s # and docs 1588s # --c-namespace NAMESPACE 1588s # The namespace to use for generated C code 1588s # --c-generate-object-manager 1588s # Generate a GDBusObjectManagerClient subclass when 1588s # generating C code 1588s # --c-generate-autocleanup {none,objects,all} 1588s # Generate autocleanup support 1588s # --generate-docbook OUTFILES 1588s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1588s # --generate-md OUTFILES 1588s # Generate Markdown in OUTFILES-org.Project.IFace.md 1588s # --generate-rst OUTFILES 1588s # Generate reStructuredText in OUTFILES- 1588s # org.Project.IFace.rst 1588s # --pragma-once Use "pragma once" as the inclusion guard 1588s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1588s # Add annotation (may be used several times) 1588s # --glib-min-required VERSION 1588s # Minimum version of GLib to be supported by the 1588s # outputted code (default: 2.30) 1588s # --glib-max-allowed VERSION 1588s # Maximum version of GLib to be used by the outputted 1588s # code (default: current GLib version) 1588s # --symbol-decorator SYMBOL_DECORATOR 1588s # Macro used to decorate a symbol in the outputted 1588s # header, possibly to export symbols 1588s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1588s # Additional header required for decorator specified by 1588s # --symbol-decorator 1588s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1588s # Additional define required for decorator specified by 1588s # --symbol-decorator 1588s # --generate-c-code OUTFILES 1588s # Generate C code in OUTFILES.[ch] 1588s # --header Generate C headers 1588s # --body Generate C code 1588s # --interface-info-header 1588s # Generate GDBusInterfaceInfo C header 1588s # --interface-info-body 1588s # Generate GDBusInterfaceInfo C code 1588s # --output FILE Write output into the specified file 1588s # --output-directory OUTDIR 1588s # Location to output generated files 1588s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1588s # tmpdir: /tmp/tmp74526cuj 1588s # codegen: /usr/bin/gdbus-codegen 1588s # /tmp/tmp74526cuj/tmp2tyt4dqh.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74526cuj/tmp2tyt4dqh.xml', '--generate-rst', 'test'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: 1588s # /tmp/tmp74526cuj/tmps5l63ol1.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74526cuj/tmps5l63ol1.xml', '--generate-md', 'test'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: 1588s # /tmp/tmp74526cuj/tmpxbe1vaqp.xml: 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # 1588s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74526cuj/tmpxbe1vaqp.xml', '--generate-docbook', 'test'] 1588s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1588s # Output: 1589s ok 37 __main__.TestCodegen.test_no_args 1589s # tmpdir: /tmp/tmp1izoikrb 1589s # codegen: /usr/bin/gdbus-codegen 1589s # Running: ['/usr/bin/gdbus-codegen'] 1589s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1589s ok 38 __main__.TestCodegen.test_reproducible 1589s # tmpdir: /tmp/tmp6k93vbgt 1589s # codegen: /usr/bin/gdbus-codegen 1589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6k93vbgt/tmp37q7ahso1.xml', '/tmp/tmp6k93vbgt/tmpgbk9mqvw2.xml', '--output', '-', '--header'] 1589s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1589s # Output: /* 1589s # * This file is generated by gdbus-codegen, do not modify it. 1589s # * 1589s # * The license of this code is the same as for the D-Bus interface description 1589s # * it was derived from. Note that it links to GLib, so must comply with the 1589s # * LGPL linking clauses. 1589s # */ 1589s # 1589s # #ifndef __STDOUT__ 1589s # #define __STDOUT__ 1589s # 1589s # #include 1589s # 1589s # G_BEGIN_DECLS 1589s # 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # /* Declarations for com.acme.Coyote */ 1589s # 1589s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1589s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1589s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1589s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1589s # 1589s # struct _ComAcmeCoyote; 1589s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1589s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1589s # 1589s # struct _ComAcmeCoyoteIface 1589s # { 1589s # GTypeInterface parent_iface; 1589s # 1589s # 1589s # 1589s # gboolean (*handle_attack) ( 1589s # ComAcmeCoyote *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # gboolean (*handle_run) ( 1589s # ComAcmeCoyote *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # gboolean (*handle_sleep) ( 1589s # ComAcmeCoyote *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1589s # 1589s # void (*surprised) ( 1589s # ComAcmeCoyote *object); 1589s # 1589s # }; 1589s # 1589s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1589s # 1589s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1589s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1589s # 1589s # 1589s # /* D-Bus method call completion functions: */ 1589s # void com_acme_coyote_complete_run ( 1589s # ComAcmeCoyote *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # void com_acme_coyote_complete_sleep ( 1589s # ComAcmeCoyote *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # void com_acme_coyote_complete_attack ( 1589s # ComAcmeCoyote *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # 1589s # 1589s # /* D-Bus signal emissions functions: */ 1589s # void com_acme_coyote_emit_surprised ( 1589s # ComAcmeCoyote *object); 1589s # 1589s # 1589s # 1589s # /* D-Bus method calls: */ 1589s # void com_acme_coyote_call_run ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean com_acme_coyote_call_run_finish ( 1589s # ComAcmeCoyote *proxy, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean com_acme_coyote_call_run_sync ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void com_acme_coyote_call_sleep ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean com_acme_coyote_call_sleep_finish ( 1589s # ComAcmeCoyote *proxy, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean com_acme_coyote_call_sleep_sync ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void com_acme_coyote_call_attack ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean com_acme_coyote_call_attack_finish ( 1589s # ComAcmeCoyote *proxy, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean com_acme_coyote_call_attack_sync ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # 1589s # 1589s # /* D-Bus property accessors: */ 1589s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1589s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1589s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1589s # 1589s # 1589s # /* ---- */ 1589s # 1589s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1589s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1589s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1589s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1589s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1589s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1589s # 1589s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1589s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1589s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1589s # 1589s # struct _ComAcmeCoyoteProxy 1589s # { 1589s # /*< private >*/ 1589s # GDBusProxy parent_instance; 1589s # ComAcmeCoyoteProxyPrivate *priv; 1589s # }; 1589s # 1589s # struct _ComAcmeCoyoteProxyClass 1589s # { 1589s # GDBusProxyClass parent_class; 1589s # }; 1589s # 1589s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1589s # 1589s # #if GLIB_CHECK_VERSION(2, 44, 0) 1589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1589s # #endif 1589s # 1589s # void com_acme_coyote_proxy_new ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void com_acme_coyote_proxy_new_for_bus ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # 1589s # /* ---- */ 1589s # 1589s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1589s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1589s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1589s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1589s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1589s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1589s # 1589s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1589s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1589s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1589s # 1589s # struct _ComAcmeCoyoteSkeleton 1589s # { 1589s # /*< private >*/ 1589s # GDBusInterfaceSkeleton parent_instance; 1589s # ComAcmeCoyoteSkeletonPrivate *priv; 1589s # }; 1589s # 1589s # struct _ComAcmeCoyoteSkeletonClass 1589s # { 1589s # GDBusInterfaceSkeletonClass parent_class; 1589s # }; 1589s # 1589s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1589s # 1589s # #if GLIB_CHECK_VERSION(2, 44, 0) 1589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1589s # #endif 1589s # 1589s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1589s # 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # /* Declarations for org.project.Bar.Frobnicator */ 1589s # 1589s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1589s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1589s # 1589s # struct _OrgProjectBarFrobnicator; 1589s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1589s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1589s # 1589s # struct _OrgProjectBarFrobnicatorIface 1589s # { 1589s # GTypeInterface parent_iface; 1589s # 1589s # gboolean (*handle_random_method) ( 1589s # OrgProjectBarFrobnicator *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # }; 1589s # 1589s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1589s # 1589s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1589s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1589s # 1589s # 1589s # /* D-Bus method call completion functions: */ 1589s # void org_project_bar_frobnicator_complete_random_method ( 1589s # OrgProjectBarFrobnicator *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # 1589s # 1589s # /* D-Bus method calls: */ 1589s # void org_project_bar_frobnicator_call_random_method ( 1589s # OrgProjectBarFrobnicator *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1589s # OrgProjectBarFrobnicator *proxy, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1589s # OrgProjectBarFrobnicator *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # 1589s # 1589s # /* ---- */ 1589s # 1589s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1589s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1589s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1589s # 1589s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1589s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1589s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1589s # 1589s # struct _OrgProjectBarFrobnicatorProxy 1589s # { 1589s # /*< private >*/ 1589s # GDBusProxy parent_instance; 1589s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1589s # }; 1589s # 1589s # struct _OrgProjectBarFrobnicatorProxyClass 1589s # { 1589s # GDBusProxyClass parent_class; 1589s # }; 1589s # 1589s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1589s # 1589s # #if GLIB_CHECK_VERSION(2, 44, 0) 1589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1589s # #endif 1589s # 1589s # void org_project_bar_frobnicator_proxy_new ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # 1589s # /* ---- */ 1589s # 1589s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1589s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1589s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1589s # 1589s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1589s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1589s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1589s # 1589s # struct _OrgProjectBarFrobnicatorSkeleton 1589s # { 1589s # /*< private >*/ 1589s # GDBusInterfaceSkeleton parent_instance; 1589s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1589s # }; 1589s # 1589s # struct _OrgProjectBarFrobnicatorSkeletonClass 1589s # { 1589s # GDBusInterfaceSkeletonClass parent_class; 1589s # }; 1589s # 1589s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1589s # 1589s # #if GLIB_CHECK_VERSION(2, 44, 0) 1589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1589s # #endif 1589s # 1589s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1589s # 1589s # 1589s # G_END_DECLS 1589s # 1589s # #endif /* __STDOUT__ */ 1589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6k93vbgt/tmpgbk9mqvw2.xml', '/tmp/tmp6k93vbgt/tmp37q7ahso1.xml', '--output', '-', '--header'] 1589s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1589s # Output: /* 1589s # * This file is generated by gdbus-codegen, do not modify it. 1589s # * 1589s # * The license of this code is the same as for the D-Bus interface description 1589s # * it was derived from. Note that it links to GLib, so must comply with the 1589s # * LGPL linking clauses. 1589s # */ 1589s # 1589s # #ifndef __STDOUT__ 1589s # #define __STDOUT__ 1589s # 1589s # #include 1589s # 1589s # G_BEGIN_DECLS 1589s # 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # /* Declarations for com.acme.Coyote */ 1589s # 1589s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1589s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1589s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1589s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1589s # 1589s # struct _ComAcmeCoyote; 1589s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1589s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1589s # 1589s # struct _ComAcmeCoyoteIface 1589s # { 1589s # GTypeInterface parent_iface; 1589s # 1589s # 1589s # 1589s # gboolean (*handle_attack) ( 1589s # ComAcmeCoyote *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # gboolean (*handle_run) ( 1589s # ComAcmeCoyote *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # gboolean (*handle_sleep) ( 1589s # ComAcmeCoyote *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1589s # 1589s # void (*surprised) ( 1589s # ComAcmeCoyote *object); 1589s # 1589s # }; 1589s # 1589s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1589s # 1589s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1589s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1589s # 1589s # 1589s # /* D-Bus method call completion functions: */ 1589s # void com_acme_coyote_complete_run ( 1589s # ComAcmeCoyote *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # void com_acme_coyote_complete_sleep ( 1589s # ComAcmeCoyote *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # void com_acme_coyote_complete_attack ( 1589s # ComAcmeCoyote *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # 1589s # 1589s # /* D-Bus signal emissions functions: */ 1589s # void com_acme_coyote_emit_surprised ( 1589s # ComAcmeCoyote *object); 1589s # 1589s # 1589s # 1589s # /* D-Bus method calls: */ 1589s # void com_acme_coyote_call_run ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean com_acme_coyote_call_run_finish ( 1589s # ComAcmeCoyote *proxy, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean com_acme_coyote_call_run_sync ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void com_acme_coyote_call_sleep ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean com_acme_coyote_call_sleep_finish ( 1589s # ComAcmeCoyote *proxy, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean com_acme_coyote_call_sleep_sync ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void com_acme_coyote_call_attack ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean com_acme_coyote_call_attack_finish ( 1589s # ComAcmeCoyote *proxy, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean com_acme_coyote_call_attack_sync ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # 1589s # 1589s # /* D-Bus property accessors: */ 1589s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1589s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1589s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1589s # 1589s # 1589s # /* ---- */ 1589s # 1589s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1589s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1589s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1589s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1589s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1589s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1589s # 1589s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1589s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1589s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1589s # 1589s # struct _ComAcmeCoyoteProxy 1589s # { 1589s # /*< private >*/ 1589s # GDBusProxy parent_instance; 1589s # ComAcmeCoyoteProxyPrivate *priv; 1589s # }; 1589s # 1589s # struct _ComAcmeCoyoteProxyClass 1589s # { 1589s # GDBusProxyClass parent_class; 1589s # }; 1589s # 1589s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1589s # 1589s # #if GLIB_CHECK_VERSION(2, 44, 0) 1589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1589s # #endif 1589s # 1589s # void com_acme_coyote_proxy_new ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void com_acme_coyote_proxy_new_for_bus ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # 1589s # /* ---- */ 1589s # 1589s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1589s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1589s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1589s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1589s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1589s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1589s # 1589s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1589s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1589s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1589s # 1589s # struct _ComAcmeCoyoteSkeleton 1589s # { 1589s # /*< private >*/ 1589s # GDBusInterfaceSkeleton parent_instance; 1589s # ComAcmeCoyoteSkeletonPrivate *priv; 1589s # }; 1589s # 1589s # struct _ComAcmeCoyoteSkeletonClass 1589s # { 1589s # GDBusInterfaceSkeletonClass parent_class; 1589s # }; 1589s # 1589s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1589s # 1589s # #if GLIB_CHECK_VERSION(2, 44, 0) 1589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1589s # #endif 1589s # 1589s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1589s # 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # /* Declarations for org.project.Bar.Frobnicator */ 1589s # 1589s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1589s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1589s # 1589s # struct _OrgProjectBarFrobnicator; 1589s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1589s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1589s # 1589s # struct _OrgProjectBarFrobnicatorIface 1589s # { 1589s # GTypeInterface parent_iface; 1589s # 1589s # gboolean (*handle_random_method) ( 1589s # OrgProjectBarFrobnicator *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # }; 1589s # 1589s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1589s # 1589s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1589s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1589s # 1589s # 1589s # /* D-Bus method call completion functions: */ 1589s # void org_project_bar_frobnicator_complete_random_method ( 1589s # OrgProjectBarFrobnicator *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # 1589s # 1589s # /* D-Bus method calls: */ 1589s # void org_project_bar_frobnicator_call_random_method ( 1589s # OrgProjectBarFrobnicator *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1589s # OrgProjectBarFrobnicator *proxy, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1589s # OrgProjectBarFrobnicator *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # 1589s # 1589s # /* ---- */ 1589s # 1589s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1589s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1589s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1589s # 1589s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1589s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1589s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1589s # 1589s # struct _OrgProjectBarFrobnicatorProxy 1589s # { 1589s # /*< private >*/ 1589s # GDBusProxy parent_instance; 1589s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1589s # }; 1589s # 1589s # struct _OrgProjectBarFrobnicatorProxyClass 1589s # { 1589s # GDBusProxyClass parent_class; 1589s # }; 1589s # 1589s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1589s # 1589s # #if GLIB_CHECK_VERSION(2, 44, 0) 1589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1589s # #endif 1589s # 1589s # void org_project_bar_frobnicator_proxy_new ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # 1589s # /* ---- */ 1589s # 1589s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1589s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1589s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1589s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1589s # 1589s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1589s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1589s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1589s # 1589s # struct _OrgProjectBarFrobnicatorSkeleton 1589s # { 1589s # /*< private >*/ 1589s # GDBusInterfaceSkeleton parent_instance; 1589s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1589s # }; 1589s # 1589s # struct _OrgProjectBarFrobnicatorSkeletonClass 1589s # { 1589s # GDBusInterfaceSkeletonClass parent_class; 1589s # }; 1589s # 1589s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1589s # 1589s # #if GLIB_CHECK_VERSION(2, 44, 0) 1589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1589s # #endif 1589s # 1589s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1589s # 1589s # 1589s # G_END_DECLS 1589s # 1589s # #endif /* __STDOUT__ */ 1589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6k93vbgt/tmp37q7ahso1.xml', '/tmp/tmp6k93vbgt/tmpgbk9mqvw2.xml', '--output', '-', '--body'] 1589s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1589s # Output: /* 1589s # * This file is generated by gdbus-codegen, do not modify it. 1589s # * 1589s # * The license of this code is the same as for the D-Bus interface description 1589s # * it was derived from. Note that it links to GLib, so must comply with the 1589s # * LGPL linking clauses. 1589s # */ 1589s # 1589s # #ifdef HAVE_CONFIG_H 1589s # # include "config.h" 1589s # #endif 1589s # 1589s # #include 1589s # #ifdef G_OS_UNIX 1589s # # include 1589s # #endif 1589s # 1589s # #ifdef G_ENABLE_DEBUG 1589s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1589s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1589s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1589s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1589s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1589s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1589s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1589s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1589s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1589s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1589s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1589s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1589s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1589s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1589s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1589s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1589s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1589s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1589s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1589s # #else /* !G_ENABLE_DEBUG */ 1589s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1589s # * Do not access GValues directly in your code. Instead, use the 1589s # * g_value_get_*() functions 1589s # */ 1589s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1589s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1589s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1589s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1589s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1589s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1589s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1589s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1589s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1589s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1589s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1589s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1589s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1589s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1589s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1589s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1589s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1589s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1589s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1589s # #endif /* !G_ENABLE_DEBUG */ 1589s # 1589s # typedef struct 1589s # { 1589s # GDBusArgInfo parent_struct; 1589s # gboolean use_gvariant; 1589s # } _ExtendedGDBusArgInfo; 1589s # 1589s # typedef struct 1589s # { 1589s # GDBusMethodInfo parent_struct; 1589s # const gchar *signal_name; 1589s # gboolean pass_fdlist; 1589s # } _ExtendedGDBusMethodInfo; 1589s # 1589s # typedef struct 1589s # { 1589s # GDBusSignalInfo parent_struct; 1589s # const gchar *signal_name; 1589s # } _ExtendedGDBusSignalInfo; 1589s # 1589s # typedef struct 1589s # { 1589s # GDBusPropertyInfo parent_struct; 1589s # const gchar *hyphen_name; 1589s # guint use_gvariant : 1; 1589s # guint emits_changed_signal : 1; 1589s # } _ExtendedGDBusPropertyInfo; 1589s # 1589s # typedef struct 1589s # { 1589s # GDBusInterfaceInfo parent_struct; 1589s # const gchar *hyphen_name; 1589s # } _ExtendedGDBusInterfaceInfo; 1589s # 1589s # typedef struct 1589s # { 1589s # const _ExtendedGDBusPropertyInfo *info; 1589s # guint prop_id; 1589s # GValue orig_value; /* the value before the change */ 1589s # } ChangedProperty; 1589s # 1589s # static void 1589s # _changed_property_free (ChangedProperty *data) 1589s # { 1589s # g_value_unset (&data->orig_value); 1589s # g_free (data); 1589s # } 1589s # 1589s # static gboolean 1589s # _g_strv_equal0 (gchar **a, gchar **b) 1589s # { 1589s # gboolean ret = FALSE; 1589s # guint n; 1589s # if (a == NULL && b == NULL) 1589s # { 1589s # ret = TRUE; 1589s # goto out; 1589s # } 1589s # if (a == NULL || b == NULL) 1589s # goto out; 1589s # if (g_strv_length (a) != g_strv_length (b)) 1589s # goto out; 1589s # for (n = 0; a[n] != NULL; n++) 1589s # if (g_strcmp0 (a[n], b[n]) != 0) 1589s # goto out; 1589s # ret = TRUE; 1589s # out: 1589s # return ret; 1589s # } 1589s # 1589s # static gboolean 1589s # _g_variant_equal0 (GVariant *a, GVariant *b) 1589s # { 1589s # gboolean ret = FALSE; 1589s # if (a == NULL && b == NULL) 1589s # { 1589s # ret = TRUE; 1589s # goto out; 1589s # } 1589s # if (a == NULL || b == NULL) 1589s # goto out; 1589s # ret = g_variant_equal (a, b); 1589s # out: 1589s # return ret; 1589s # } 1589s # 1589s # G_GNUC_UNUSED static gboolean 1589s # _g_value_equal (const GValue *a, const GValue *b) 1589s # { 1589s # gboolean ret = FALSE; 1589s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1589s # switch (G_VALUE_TYPE (a)) 1589s # { 1589s # case G_TYPE_BOOLEAN: 1589s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1589s # break; 1589s # case G_TYPE_UCHAR: 1589s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1589s # break; 1589s # case G_TYPE_INT: 1589s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1589s # break; 1589s # case G_TYPE_UINT: 1589s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1589s # break; 1589s # case G_TYPE_INT64: 1589s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1589s # break; 1589s # case G_TYPE_UINT64: 1589s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1589s # break; 1589s # case G_TYPE_DOUBLE: 1589s # { 1589s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1589s # gdouble da = g_value_get_double (a); 1589s # gdouble db = g_value_get_double (b); 1589s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1589s # } 1589s # break; 1589s # case G_TYPE_STRING: 1589s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1589s # break; 1589s # case G_TYPE_VARIANT: 1589s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1589s # break; 1589s # default: 1589s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1589s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1589s # else 1589s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1589s # break; 1589s # } 1589s # return ret; 1589s # } 1589s # 1589s # static void 1589s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1589s # GClosure *closure, 1589s # GValue *return_value, 1589s # unsigned int n_param_values, 1589s # const GValue *param_values, 1589s # void *invocation_hint G_GNUC_UNUSED, 1589s # void *marshal_data) 1589s # { 1589s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1589s # (void *data1, 1589s # GDBusMethodInvocation *arg_method_invocation, 1589s # void *data2); 1589s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1589s # GCClosure *cc = (GCClosure*) closure; 1589s # void *data1, *data2; 1589s # gboolean v_return; 1589s # 1589s # g_return_if_fail (return_value != NULL); 1589s # g_return_if_fail (n_param_values == 2); 1589s # 1589s # if (G_CCLOSURE_SWAP_DATA (closure)) 1589s # { 1589s # data1 = closure->data; 1589s # data2 = g_value_peek_pointer (param_values + 0); 1589s # } 1589s # else 1589s # { 1589s # data1 = g_value_peek_pointer (param_values + 0); 1589s # data2 = closure->data; 1589s # } 1589s # 1589s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1589s # (marshal_data ? marshal_data : cc->callback); 1589s # 1589s # v_return = 1589s # callback (data1, 1589s # g_marshal_value_peek_object (param_values + 1), 1589s # data2); 1589s # 1589s # g_value_set_boolean (return_value, v_return); 1589s # } 1589s # 1589s # /* ------------------------------------------------------------------------ 1589s # * Code for interface com.acme.Coyote 1589s # * ------------------------------------------------------------------------ 1589s # */ 1589s # 1589s # /** 1589s # * SECTION:ComAcmeCoyote 1589s # * @title: ComAcmeCoyote 1589s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1589s # * 1589s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1589s # */ 1589s # 1589s # enum 1589s # { 1589s # _COM_ACME_COYOTE_SURPRISED, 1589s # }; 1589s # 1589s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1589s # 1589s # /* ---- Introspection data for com.acme.Coyote ---- */ 1589s # 1589s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "Run", 1589s # NULL, 1589s # NULL, 1589s # NULL 1589s # }, 1589s # "handle-run", 1589s # FALSE 1589s # }; 1589s # 1589s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "Sleep", 1589s # NULL, 1589s # NULL, 1589s # NULL 1589s # }, 1589s # "handle-sleep", 1589s # FALSE 1589s # }; 1589s # 1589s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "Attack", 1589s # NULL, 1589s # NULL, 1589s # NULL 1589s # }, 1589s # "handle-attack", 1589s # FALSE 1589s # }; 1589s # 1589s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1589s # { 1589s # &_com_acme_coyote_method_info_run.parent_struct, 1589s # &_com_acme_coyote_method_info_sleep.parent_struct, 1589s # &_com_acme_coyote_method_info_attack.parent_struct, 1589s # NULL 1589s # }; 1589s # 1589s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "Surprised", 1589s # NULL, 1589s # NULL 1589s # }, 1589s # "surprised" 1589s # }; 1589s # 1589s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1589s # { 1589s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1589s # NULL 1589s # }; 1589s # 1589s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "Mood", 1589s # (gchar *) "s", 1589s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1589s # NULL 1589s # }, 1589s # "mood", 1589s # FALSE, 1589s # TRUE 1589s # }; 1589s # 1589s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1589s # { 1589s # &_com_acme_coyote_property_info_mood.parent_struct, 1589s # NULL 1589s # }; 1589s # 1589s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "com.acme.Coyote", 1589s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1589s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1589s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1589s # NULL 1589s # }, 1589s # "com-acme-coyote", 1589s # }; 1589s # 1589s # 1589s # /** 1589s # * com_acme_coyote_interface_info: 1589s # * 1589s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1589s # * 1589s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1589s # */ 1589s # GDBusInterfaceInfo * 1589s # com_acme_coyote_interface_info (void) 1589s # { 1589s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_override_properties: 1589s # * @klass: The class structure for a #GObject derived class. 1589s # * @property_id_begin: The property id to assign to the first overridden property. 1589s # * 1589s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1589s # * The properties are overridden in the order they are defined. 1589s # * 1589s # * Returns: The last property id. 1589s # */ 1589s # guint 1589s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1589s # { 1589s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1589s # return property_id_begin - 1; 1589s # } 1589s # 1589s # 1589s # inline static void 1589s # com_acme_coyote_signal_marshal_surprised ( 1589s # GClosure *closure, 1589s # GValue *return_value, 1589s # unsigned int n_param_values, 1589s # const GValue *param_values, 1589s # void *invocation_hint, 1589s # void *marshal_data) 1589s # { 1589s # g_cclosure_marshal_VOID__VOID (closure, 1589s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1589s # } 1589s # 1589s # inline static void 1589s # com_acme_coyote_method_marshal_run ( 1589s # GClosure *closure, 1589s # GValue *return_value, 1589s # unsigned int n_param_values, 1589s # const GValue *param_values, 1589s # void *invocation_hint, 1589s # void *marshal_data) 1589s # { 1589s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1589s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1589s # } 1589s # 1589s # inline static void 1589s # com_acme_coyote_method_marshal_sleep ( 1589s # GClosure *closure, 1589s # GValue *return_value, 1589s # unsigned int n_param_values, 1589s # const GValue *param_values, 1589s # void *invocation_hint, 1589s # void *marshal_data) 1589s # { 1589s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1589s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1589s # } 1589s # 1589s # inline static void 1589s # com_acme_coyote_method_marshal_attack ( 1589s # GClosure *closure, 1589s # GValue *return_value, 1589s # unsigned int n_param_values, 1589s # const GValue *param_values, 1589s # void *invocation_hint, 1589s # void *marshal_data) 1589s # { 1589s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1589s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1589s # } 1589s # 1589s # 1589s # /** 1589s # * ComAcmeCoyote: 1589s # * 1589s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1589s # */ 1589s # 1589s # /** 1589s # * ComAcmeCoyoteIface: 1589s # * @parent_iface: The parent interface. 1589s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1589s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1589s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1589s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1589s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1589s # * 1589s # * Virtual table for the D-Bus interface com.acme.Coyote. 1589s # */ 1589s # 1589s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1589s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1589s # 1589s # static void 1589s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1589s # { 1589s # /* GObject signals for incoming D-Bus method calls: */ 1589s # /** 1589s # * ComAcmeCoyote::handle-run: 1589s # * @object: A #ComAcmeCoyote. 1589s # * @invocation: A #GDBusMethodInvocation. 1589s # * 1589s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1589s # * 1589s # * 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. 1589s # * 1589s # * 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. 1589s # */ 1589s # g_signal_new ("handle-run", 1589s # G_TYPE_FROM_INTERFACE (iface), 1589s # G_SIGNAL_RUN_LAST, 1589s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1589s # g_signal_accumulator_true_handled, 1589s # NULL, 1589s # com_acme_coyote_method_marshal_run, 1589s # G_TYPE_BOOLEAN, 1589s # 1, 1589s # G_TYPE_DBUS_METHOD_INVOCATION); 1589s # 1589s # /** 1589s # * ComAcmeCoyote::handle-sleep: 1589s # * @object: A #ComAcmeCoyote. 1589s # * @invocation: A #GDBusMethodInvocation. 1589s # * 1589s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1589s # * 1589s # * 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. 1589s # * 1589s # * 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. 1589s # */ 1589s # g_signal_new ("handle-sleep", 1589s # G_TYPE_FROM_INTERFACE (iface), 1589s # G_SIGNAL_RUN_LAST, 1589s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1589s # g_signal_accumulator_true_handled, 1589s # NULL, 1589s # com_acme_coyote_method_marshal_sleep, 1589s # G_TYPE_BOOLEAN, 1589s # 1, 1589s # G_TYPE_DBUS_METHOD_INVOCATION); 1589s # 1589s # /** 1589s # * ComAcmeCoyote::handle-attack: 1589s # * @object: A #ComAcmeCoyote. 1589s # * @invocation: A #GDBusMethodInvocation. 1589s # * 1589s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1589s # * 1589s # * 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. 1589s # * 1589s # * 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. 1589s # */ 1589s # g_signal_new ("handle-attack", 1589s # G_TYPE_FROM_INTERFACE (iface), 1589s # G_SIGNAL_RUN_LAST, 1589s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1589s # g_signal_accumulator_true_handled, 1589s # NULL, 1589s # com_acme_coyote_method_marshal_attack, 1589s # G_TYPE_BOOLEAN, 1589s # 1, 1589s # G_TYPE_DBUS_METHOD_INVOCATION); 1589s # 1589s # /* GObject signals for received D-Bus signals: */ 1589s # /** 1589s # * ComAcmeCoyote::surprised: 1589s # * @object: A #ComAcmeCoyote. 1589s # * 1589s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1589s # * 1589s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1589s # */ 1589s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1589s # g_signal_new ("surprised", 1589s # G_TYPE_FROM_INTERFACE (iface), 1589s # G_SIGNAL_RUN_LAST, 1589s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1589s # NULL, 1589s # NULL, 1589s # com_acme_coyote_signal_marshal_surprised, 1589s # G_TYPE_NONE, 1589s # 0); 1589s # 1589s # /* GObject properties for D-Bus properties: */ 1589s # /** 1589s # * ComAcmeCoyote:mood: 1589s # * 1589s # * Represents the D-Bus property "Mood". 1589s # * 1589s # * 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. 1589s # */ 1589s # g_object_interface_install_property (iface, 1589s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_get_mood: (skip) 1589s # * @object: A #ComAcmeCoyote. 1589s # * 1589s # * Gets the value of the "Mood" D-Bus property. 1589s # * 1589s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1589s # * 1589s # * 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. 1589s # * 1589s # * 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. 1589s # */ 1589s # const gchar * 1589s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1589s # { 1589s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1589s # 1589s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_dup_mood: (skip) 1589s # * @object: A #ComAcmeCoyote. 1589s # * 1589s # * Gets a copy of the "Mood" D-Bus property. 1589s # * 1589s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1589s # * 1589s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1589s # */ 1589s # gchar * 1589s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1589s # { 1589s # gchar *value; 1589s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1589s # return value; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_set_mood: (skip) 1589s # * @object: A #ComAcmeCoyote. 1589s # * @value: The value to set. 1589s # * 1589s # * Sets the "Mood" D-Bus property to @value. 1589s # * 1589s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1589s # */ 1589s # void 1589s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1589s # { 1589s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_emit_surprised: 1589s # * @object: A #ComAcmeCoyote. 1589s # * 1589s # * Emits the "Surprised" D-Bus signal. 1589s # */ 1589s # void 1589s # com_acme_coyote_emit_surprised ( 1589s # ComAcmeCoyote *object) 1589s # { 1589s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_run: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1589s # * 1589s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1589s # */ 1589s # void 1589s # com_acme_coyote_call_run ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1589s # "Run", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # callback, 1589s # user_data); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_run_finish: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Finishes an operation started with com_acme_coyote_call_run(). 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # com_acme_coyote_call_run_finish ( 1589s # ComAcmeCoyote *proxy, 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_run_sync: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1589s # * 1589s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # com_acme_coyote_call_run_sync ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1589s # "Run", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_sleep: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1589s # * 1589s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1589s # */ 1589s # void 1589s # com_acme_coyote_call_sleep ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1589s # "Sleep", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # callback, 1589s # user_data); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_sleep_finish: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # com_acme_coyote_call_sleep_finish ( 1589s # ComAcmeCoyote *proxy, 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_sleep_sync: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1589s # * 1589s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # com_acme_coyote_call_sleep_sync ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1589s # "Sleep", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_attack: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1589s # * 1589s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1589s # */ 1589s # void 1589s # com_acme_coyote_call_attack ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1589s # "Attack", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # callback, 1589s # user_data); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_attack_finish: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Finishes an operation started with com_acme_coyote_call_attack(). 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # com_acme_coyote_call_attack_finish ( 1589s # ComAcmeCoyote *proxy, 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_attack_sync: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1589s # * 1589s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # com_acme_coyote_call_attack_sync ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1589s # "Attack", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_complete_run: 1589s # * @object: A #ComAcmeCoyote. 1589s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1589s # * 1589s # * 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. 1589s # * 1589s # * This method will free @invocation, you cannot use it afterwards. 1589s # */ 1589s # void 1589s # com_acme_coyote_complete_run ( 1589s # ComAcmeCoyote *object G_GNUC_UNUSED, 1589s # GDBusMethodInvocation *invocation) 1589s # { 1589s # g_dbus_method_invocation_return_value (invocation, 1589s # g_variant_new ("()")); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_complete_sleep: 1589s # * @object: A #ComAcmeCoyote. 1589s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1589s # * 1589s # * 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. 1589s # * 1589s # * This method will free @invocation, you cannot use it afterwards. 1589s # */ 1589s # void 1589s # com_acme_coyote_complete_sleep ( 1589s # ComAcmeCoyote *object G_GNUC_UNUSED, 1589s # GDBusMethodInvocation *invocation) 1589s # { 1589s # g_dbus_method_invocation_return_value (invocation, 1589s # g_variant_new ("()")); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_complete_attack: 1589s # * @object: A #ComAcmeCoyote. 1589s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1589s # * 1589s # * 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. 1589s # * 1589s # * This method will free @invocation, you cannot use it afterwards. 1589s # */ 1589s # void 1589s # com_acme_coyote_complete_attack ( 1589s # ComAcmeCoyote *object G_GNUC_UNUSED, 1589s # GDBusMethodInvocation *invocation) 1589s # { 1589s # g_dbus_method_invocation_return_value (invocation, 1589s # g_variant_new ("()")); 1589s # } 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # 1589s # /** 1589s # * ComAcmeCoyoteProxy: 1589s # * 1589s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1589s # */ 1589s # 1589s # /** 1589s # * ComAcmeCoyoteProxyClass: 1589s # * @parent_class: The parent class. 1589s # * 1589s # * Class structure for #ComAcmeCoyoteProxy. 1589s # */ 1589s # 1589s # struct _ComAcmeCoyoteProxyPrivate 1589s # { 1589s # GData *qdata; 1589s # }; 1589s # 1589s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1589s # 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1589s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1589s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1589s # 1589s # #else 1589s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1589s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1589s # 1589s # #endif 1589s # static void 1589s # com_acme_coyote_proxy_finalize (GObject *object) 1589s # { 1589s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1589s # g_datalist_clear (&proxy->priv->qdata); 1589s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_get_property (GObject *object, 1589s # guint prop_id, 1589s # GValue *value, 1589s # GParamSpec *pspec G_GNUC_UNUSED) 1589s # { 1589s # const _ExtendedGDBusPropertyInfo *info; 1589s # GVariant *variant; 1589s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1589s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1589s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1589s # if (info->use_gvariant) 1589s # { 1589s # g_value_set_variant (value, variant); 1589s # } 1589s # else 1589s # { 1589s # if (variant != NULL) 1589s # g_dbus_gvariant_to_gvalue (variant, value); 1589s # } 1589s # if (variant != NULL) 1589s # g_variant_unref (variant); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1589s # GAsyncResult *res, 1589s # gpointer user_data) 1589s # { 1589s # const _ExtendedGDBusPropertyInfo *info = user_data; 1589s # GError *error; 1589s # GVariant *_ret; 1589s # error = NULL; 1589s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1589s # if (!_ret) 1589s # { 1589s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1589s # info->parent_struct.name, 1589s # error->message, g_quark_to_string (error->domain), error->code); 1589s # g_error_free (error); 1589s # } 1589s # else 1589s # { 1589s # g_variant_unref (_ret); 1589s # } 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_set_property (GObject *object, 1589s # guint prop_id, 1589s # const GValue *value, 1589s # GParamSpec *pspec G_GNUC_UNUSED) 1589s # { 1589s # const _ExtendedGDBusPropertyInfo *info; 1589s # GVariant *variant; 1589s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1589s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1589s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1589s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1589s # "org.freedesktop.DBus.Properties.Set", 1589s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1589s # g_variant_unref (variant); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1589s # const gchar *sender_name G_GNUC_UNUSED, 1589s # const gchar *signal_name, 1589s # GVariant *parameters) 1589s # { 1589s # _ExtendedGDBusSignalInfo *info; 1589s # GVariantIter iter; 1589s # GVariant *child; 1589s # GValue *paramv; 1589s # gsize num_params; 1589s # gsize n; 1589s # guint signal_id; 1589s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1589s # if (info == NULL) 1589s # return; 1589s # num_params = g_variant_n_children (parameters); 1589s # paramv = g_new0 (GValue, num_params + 1); 1589s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1589s # g_value_set_object (¶mv[0], proxy); 1589s # g_variant_iter_init (&iter, parameters); 1589s # n = 1; 1589s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1589s # { 1589s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1589s # if (arg_info->use_gvariant) 1589s # { 1589s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1589s # g_value_set_variant (¶mv[n], child); 1589s # n++; 1589s # } 1589s # else 1589s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1589s # g_variant_unref (child); 1589s # } 1589s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1589s # g_signal_emitv (paramv, signal_id, 0, NULL); 1589s # for (n = 0; n < num_params + 1; n++) 1589s # g_value_unset (¶mv[n]); 1589s # g_free (paramv); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1589s # GVariant *changed_properties, 1589s # const gchar *const *invalidated_properties) 1589s # { 1589s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1589s # guint n; 1589s # const gchar *key; 1589s # GVariantIter *iter; 1589s # _ExtendedGDBusPropertyInfo *info; 1589s # g_variant_get (changed_properties, "a{sv}", &iter); 1589s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1589s # { 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1589s # g_datalist_remove_data (&proxy->priv->qdata, key); 1589s # if (info != NULL) 1589s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1589s # } 1589s # g_variant_iter_free (iter); 1589s # for (n = 0; invalidated_properties[n] != NULL; n++) 1589s # { 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1589s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1589s # if (info != NULL) 1589s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1589s # } 1589s # } 1589s # 1589s # static const gchar * 1589s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1589s # { 1589s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1589s # GVariant *variant; 1589s # const gchar *value = NULL; 1589s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1589s # if (variant != NULL) 1589s # { 1589s # value = g_variant_get_string (variant, NULL); 1589s # g_variant_unref (variant); 1589s # } 1589s # return value; 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1589s # { 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1589s # #else 1589s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1589s # #endif 1589s # 1589s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1589s # { 1589s # GObjectClass *gobject_class; 1589s # GDBusProxyClass *proxy_class; 1589s # 1589s # gobject_class = G_OBJECT_CLASS (klass); 1589s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1589s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1589s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1589s # 1589s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1589s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1589s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1589s # 1589s # com_acme_coyote_override_properties (gobject_class, 1); 1589s # 1589s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1589s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1589s # #endif 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1589s # { 1589s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_proxy_new: 1589s # * @connection: A #GDBusConnection. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1589s # * 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1589s # * 1589s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1589s # */ 1589s # void 1589s # com_acme_coyote_proxy_new ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # 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); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_proxy_new_finish: 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1589s # * 1589s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # ComAcmeCoyote * 1589s # com_acme_coyote_proxy_new_finish ( 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GObject *ret; 1589s # GObject *source_object; 1589s # source_object = g_async_result_get_source_object (res); 1589s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1589s # g_object_unref (source_object); 1589s # if (ret != NULL) 1589s # return COM_ACME_COYOTE (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_proxy_new_sync: 1589s # * @connection: A #GDBusConnection. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1589s # * 1589s # * The calling thread is blocked until a reply is received. 1589s # * 1589s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1589s # * 1589s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # ComAcmeCoyote * 1589s # com_acme_coyote_proxy_new_sync ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GInitable *ret; 1589s # 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); 1589s # if (ret != NULL) 1589s # return COM_ACME_COYOTE (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # 1589s # /** 1589s # * com_acme_coyote_proxy_new_for_bus: 1589s # * @bus_type: A #GBusType. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: A bus name (well-known or unique). 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1589s # * 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1589s # * 1589s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1589s # */ 1589s # void 1589s # com_acme_coyote_proxy_new_for_bus ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # 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); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_proxy_new_for_bus_finish: 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1589s # * 1589s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # ComAcmeCoyote * 1589s # com_acme_coyote_proxy_new_for_bus_finish ( 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GObject *ret; 1589s # GObject *source_object; 1589s # source_object = g_async_result_get_source_object (res); 1589s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1589s # g_object_unref (source_object); 1589s # if (ret != NULL) 1589s # return COM_ACME_COYOTE (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_proxy_new_for_bus_sync: 1589s # * @bus_type: A #GBusType. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: A bus name (well-known or unique). 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1589s # * 1589s # * The calling thread is blocked until a reply is received. 1589s # * 1589s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1589s # * 1589s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # ComAcmeCoyote * 1589s # com_acme_coyote_proxy_new_for_bus_sync ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GInitable *ret; 1589s # 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); 1589s # if (ret != NULL) 1589s # return COM_ACME_COYOTE (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # 1589s # /** 1589s # * ComAcmeCoyoteSkeleton: 1589s # * 1589s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1589s # */ 1589s # 1589s # /** 1589s # * ComAcmeCoyoteSkeletonClass: 1589s # * @parent_class: The parent class. 1589s # * 1589s # * Class structure for #ComAcmeCoyoteSkeleton. 1589s # */ 1589s # 1589s # struct _ComAcmeCoyoteSkeletonPrivate 1589s # { 1589s # GValue *properties; 1589s # GList *changed_properties; 1589s # GSource *changed_properties_idle_source; 1589s # GMainContext *context; 1589s # GMutex lock; 1589s # }; 1589s # 1589s # static void 1589s # _com_acme_coyote_skeleton_handle_method_call ( 1589s # GDBusConnection *connection G_GNUC_UNUSED, 1589s # const gchar *sender G_GNUC_UNUSED, 1589s # const gchar *object_path G_GNUC_UNUSED, 1589s # const gchar *interface_name, 1589s # const gchar *method_name, 1589s # GVariant *parameters, 1589s # GDBusMethodInvocation *invocation, 1589s # gpointer user_data) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1589s # _ExtendedGDBusMethodInfo *info; 1589s # GVariantIter iter; 1589s # GVariant *child; 1589s # GValue *paramv; 1589s # gsize num_params; 1589s # guint num_extra; 1589s # gsize n; 1589s # guint signal_id; 1589s # GValue return_value = G_VALUE_INIT; 1589s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1589s # g_assert (info != NULL); 1589s # num_params = g_variant_n_children (parameters); 1589s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1589s # n = 0; 1589s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1589s # g_value_set_object (¶mv[n++], skeleton); 1589s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1589s # g_value_set_object (¶mv[n++], invocation); 1589s # if (info->pass_fdlist) 1589s # { 1589s # #ifdef G_OS_UNIX 1589s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1589s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1589s # #else 1589s # g_assert_not_reached (); 1589s # #endif 1589s # } 1589s # g_variant_iter_init (&iter, parameters); 1589s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1589s # { 1589s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1589s # if (arg_info->use_gvariant) 1589s # { 1589s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1589s # g_value_set_variant (¶mv[n], child); 1589s # n++; 1589s # } 1589s # else 1589s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1589s # g_variant_unref (child); 1589s # } 1589s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1589s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1589s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1589s # if (!g_value_get_boolean (&return_value)) 1589s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1589s # g_value_unset (&return_value); 1589s # for (n = 0; n < num_params + num_extra; n++) 1589s # g_value_unset (¶mv[n]); 1589s # g_free (paramv); 1589s # } 1589s # 1589s # static GVariant * 1589s # _com_acme_coyote_skeleton_handle_get_property ( 1589s # GDBusConnection *connection G_GNUC_UNUSED, 1589s # const gchar *sender G_GNUC_UNUSED, 1589s # const gchar *object_path G_GNUC_UNUSED, 1589s # const gchar *interface_name G_GNUC_UNUSED, 1589s # const gchar *property_name, 1589s # GError **error, 1589s # gpointer user_data) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1589s # GValue value = G_VALUE_INIT; 1589s # GParamSpec *pspec; 1589s # _ExtendedGDBusPropertyInfo *info; 1589s # GVariant *ret; 1589s # ret = NULL; 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1589s # g_assert (info != NULL); 1589s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1589s # if (pspec == NULL) 1589s # { 1589s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1589s # } 1589s # else 1589s # { 1589s # g_value_init (&value, pspec->value_type); 1589s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1589s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1589s # g_value_unset (&value); 1589s # } 1589s # return ret; 1589s # } 1589s # 1589s # static gboolean 1589s # _com_acme_coyote_skeleton_handle_set_property ( 1589s # GDBusConnection *connection G_GNUC_UNUSED, 1589s # const gchar *sender G_GNUC_UNUSED, 1589s # const gchar *object_path G_GNUC_UNUSED, 1589s # const gchar *interface_name G_GNUC_UNUSED, 1589s # const gchar *property_name, 1589s # GVariant *variant, 1589s # GError **error, 1589s # gpointer user_data) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1589s # GValue value = G_VALUE_INIT; 1589s # GParamSpec *pspec; 1589s # _ExtendedGDBusPropertyInfo *info; 1589s # gboolean ret; 1589s # ret = FALSE; 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1589s # g_assert (info != NULL); 1589s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1589s # if (pspec == NULL) 1589s # { 1589s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1589s # } 1589s # else 1589s # { 1589s # if (info->use_gvariant) 1589s # g_value_set_variant (&value, variant); 1589s # else 1589s # g_dbus_gvariant_to_gvalue (variant, &value); 1589s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1589s # g_value_unset (&value); 1589s # ret = TRUE; 1589s # } 1589s # return ret; 1589s # } 1589s # 1589s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1589s # { 1589s # _com_acme_coyote_skeleton_handle_method_call, 1589s # _com_acme_coyote_skeleton_handle_get_property, 1589s # _com_acme_coyote_skeleton_handle_set_property, 1589s # {NULL} 1589s # }; 1589s # 1589s # static GDBusInterfaceInfo * 1589s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1589s # { 1589s # return com_acme_coyote_interface_info (); 1589s # } 1589s # 1589s # static GDBusInterfaceVTable * 1589s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1589s # { 1589s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1589s # } 1589s # 1589s # static GVariant * 1589s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1589s # 1589s # GVariantBuilder builder; 1589s # guint n; 1589s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1589s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1589s # goto out; 1589s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1589s # { 1589s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1589s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1589s # { 1589s # GVariant *value; 1589s # 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); 1589s # if (value != NULL) 1589s # { 1589s # g_variant_take_ref (value); 1589s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1589s # g_variant_unref (value); 1589s # } 1589s # } 1589s # } 1589s # out: 1589s # return g_variant_builder_end (&builder); 1589s # } 1589s # 1589s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1589s # 1589s # static void 1589s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1589s # gboolean emit_changed = FALSE; 1589s # 1589s # g_mutex_lock (&skeleton->priv->lock); 1589s # if (skeleton->priv->changed_properties_idle_source != NULL) 1589s # { 1589s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1589s # skeleton->priv->changed_properties_idle_source = NULL; 1589s # emit_changed = TRUE; 1589s # } 1589s # g_mutex_unlock (&skeleton->priv->lock); 1589s # 1589s # if (emit_changed) 1589s # _com_acme_coyote_emit_changed (skeleton); 1589s # } 1589s # 1589s # static void 1589s # _com_acme_coyote_on_signal_surprised ( 1589s # ComAcmeCoyote *object) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1589s # 1589s # GList *connections, *l; 1589s # GVariant *signal_variant; 1589s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1589s # 1589s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1589s # for (l = connections; l != NULL; l = l->next) 1589s # { 1589s # GDBusConnection *connection = l->data; 1589s # g_dbus_connection_emit_signal (connection, 1589s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1589s # signal_variant, NULL); 1589s # } 1589s # g_variant_unref (signal_variant); 1589s # g_list_free_full (connections, g_object_unref); 1589s # } 1589s # 1589s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1589s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1589s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1589s # 1589s # #else 1589s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1589s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1589s # 1589s # #endif 1589s # static void 1589s # com_acme_coyote_skeleton_finalize (GObject *object) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1589s # guint n; 1589s # for (n = 0; n < 1; n++) 1589s # g_value_unset (&skeleton->priv->properties[n]); 1589s # g_free (skeleton->priv->properties); 1589s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1589s # if (skeleton->priv->changed_properties_idle_source != NULL) 1589s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1589s # g_main_context_unref (skeleton->priv->context); 1589s # g_mutex_clear (&skeleton->priv->lock); 1589s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_skeleton_get_property (GObject *object, 1589s # guint prop_id, 1589s # GValue *value, 1589s # GParamSpec *pspec G_GNUC_UNUSED) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1589s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1589s # g_mutex_lock (&skeleton->priv->lock); 1589s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1589s # g_mutex_unlock (&skeleton->priv->lock); 1589s # } 1589s # 1589s # static gboolean 1589s # _com_acme_coyote_emit_changed (gpointer user_data) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1589s # GList *l; 1589s # GVariantBuilder builder; 1589s # GVariantBuilder invalidated_builder; 1589s # guint num_changes; 1589s # 1589s # g_mutex_lock (&skeleton->priv->lock); 1589s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1589s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1589s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1589s # { 1589s # ChangedProperty *cp = l->data; 1589s # GVariant *variant; 1589s # const GValue *cur_value; 1589s # 1589s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1589s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1589s # { 1589s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1589s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1589s # g_variant_unref (variant); 1589s # num_changes++; 1589s # } 1589s # } 1589s # if (num_changes > 0) 1589s # { 1589s # GList *connections, *ll; 1589s # GVariant *signal_variant; 1589s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1589s # &builder, &invalidated_builder)); 1589s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1589s # for (ll = connections; ll != NULL; ll = ll->next) 1589s # { 1589s # GDBusConnection *connection = ll->data; 1589s # 1589s # g_dbus_connection_emit_signal (connection, 1589s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1589s # "org.freedesktop.DBus.Properties", 1589s # "PropertiesChanged", 1589s # signal_variant, 1589s # NULL); 1589s # } 1589s # g_variant_unref (signal_variant); 1589s # g_list_free_full (connections, g_object_unref); 1589s # } 1589s # else 1589s # { 1589s # g_variant_builder_clear (&builder); 1589s # g_variant_builder_clear (&invalidated_builder); 1589s # } 1589s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1589s # skeleton->priv->changed_properties = NULL; 1589s # skeleton->priv->changed_properties_idle_source = NULL; 1589s # g_mutex_unlock (&skeleton->priv->lock); 1589s # return FALSE; 1589s # } 1589s # 1589s # static void 1589s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1589s # { 1589s # ChangedProperty *cp; 1589s # GList *l; 1589s # cp = NULL; 1589s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1589s # { 1589s # ChangedProperty *i_cp = l->data; 1589s # if (i_cp->info == info) 1589s # { 1589s # cp = i_cp; 1589s # break; 1589s # } 1589s # } 1589s # if (cp == NULL) 1589s # { 1589s # cp = g_new0 (ChangedProperty, 1); 1589s # cp->prop_id = prop_id; 1589s # cp->info = info; 1589s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1589s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1589s # g_value_copy (orig_value, &cp->orig_value); 1589s # } 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_skeleton_notify (GObject *object, 1589s # GParamSpec *pspec G_GNUC_UNUSED) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1589s # g_mutex_lock (&skeleton->priv->lock); 1589s # if (skeleton->priv->changed_properties != NULL && 1589s # skeleton->priv->changed_properties_idle_source == NULL) 1589s # { 1589s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1589s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1589s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1589s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1589s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1589s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1589s # } 1589s # g_mutex_unlock (&skeleton->priv->lock); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_skeleton_set_property (GObject *object, 1589s # guint prop_id, 1589s # const GValue *value, 1589s # GParamSpec *pspec) 1589s # { 1589s # const _ExtendedGDBusPropertyInfo *info; 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1589s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1589s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1589s # g_mutex_lock (&skeleton->priv->lock); 1589s # g_object_freeze_notify (object); 1589s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1589s # { 1589s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1589s # info->emits_changed_signal) 1589s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1589s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1589s # g_object_notify_by_pspec (object, pspec); 1589s # } 1589s # g_mutex_unlock (&skeleton->priv->lock); 1589s # g_object_thaw_notify (object); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1589s # { 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1589s # #else 1589s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1589s # #endif 1589s # 1589s # g_mutex_init (&skeleton->priv->lock); 1589s # skeleton->priv->context = g_main_context_ref_thread_default (); 1589s # skeleton->priv->properties = g_new0 (GValue, 1); 1589s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1589s # } 1589s # 1589s # static const gchar * 1589s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1589s # const gchar *value; 1589s # g_mutex_lock (&skeleton->priv->lock); 1589s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1589s # g_mutex_unlock (&skeleton->priv->lock); 1589s # return value; 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1589s # { 1589s # GObjectClass *gobject_class; 1589s # GDBusInterfaceSkeletonClass *skeleton_class; 1589s # 1589s # gobject_class = G_OBJECT_CLASS (klass); 1589s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1589s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1589s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1589s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1589s # 1589s # 1589s # com_acme_coyote_override_properties (gobject_class, 1); 1589s # 1589s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1589s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1589s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1589s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1589s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1589s # 1589s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1589s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1589s # #endif 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1589s # { 1589s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1589s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_skeleton_new: 1589s # * 1589s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1589s # * 1589s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1589s # */ 1589s # ComAcmeCoyote * 1589s # com_acme_coyote_skeleton_new (void) 1589s # { 1589s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1589s # } 1589s # 1589s # /* ------------------------------------------------------------------------ 1589s # * Code for interface org.project.Bar.Frobnicator 1589s # * ------------------------------------------------------------------------ 1589s # */ 1589s # 1589s # /** 1589s # * SECTION:OrgProjectBarFrobnicator 1589s # * @title: OrgProjectBarFrobnicator 1589s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1589s # * 1589s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1589s # */ 1589s # 1589s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1589s # 1589s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "RandomMethod", 1589s # NULL, 1589s # NULL, 1589s # NULL 1589s # }, 1589s # "handle-random-method", 1589s # FALSE 1589s # }; 1589s # 1589s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1589s # { 1589s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1589s # NULL 1589s # }; 1589s # 1589s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "org.project.Bar.Frobnicator", 1589s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1589s # NULL, 1589s # NULL, 1589s # NULL 1589s # }, 1589s # "org-project-bar-frobnicator", 1589s # }; 1589s # 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_interface_info: 1589s # * 1589s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1589s # * 1589s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1589s # */ 1589s # GDBusInterfaceInfo * 1589s # org_project_bar_frobnicator_interface_info (void) 1589s # { 1589s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_override_properties: 1589s # * @klass: The class structure for a #GObject derived class. 1589s # * @property_id_begin: The property id to assign to the first overridden property. 1589s # * 1589s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1589s # * The properties are overridden in the order they are defined. 1589s # * 1589s # * Returns: The last property id. 1589s # */ 1589s # guint 1589s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1589s # { 1589s # return property_id_begin - 1; 1589s # } 1589s # 1589s # 1589s # inline static void 1589s # org_project_bar_frobnicator_method_marshal_random_method ( 1589s # GClosure *closure, 1589s # GValue *return_value, 1589s # unsigned int n_param_values, 1589s # const GValue *param_values, 1589s # void *invocation_hint, 1589s # void *marshal_data) 1589s # { 1589s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1589s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1589s # } 1589s # 1589s # 1589s # /** 1589s # * OrgProjectBarFrobnicator: 1589s # * 1589s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1589s # */ 1589s # 1589s # /** 1589s # * OrgProjectBarFrobnicatorIface: 1589s # * @parent_iface: The parent interface. 1589s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1589s # * 1589s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1589s # */ 1589s # 1589s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1589s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1589s # { 1589s # /* GObject signals for incoming D-Bus method calls: */ 1589s # /** 1589s # * OrgProjectBarFrobnicator::handle-random-method: 1589s # * @object: A #OrgProjectBarFrobnicator. 1589s # * @invocation: A #GDBusMethodInvocation. 1589s # * 1589s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1589s # * 1589s # * 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. 1589s # * 1589s # * 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. 1589s # */ 1589s # g_signal_new ("handle-random-method", 1589s # G_TYPE_FROM_INTERFACE (iface), 1589s # G_SIGNAL_RUN_LAST, 1589s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1589s # g_signal_accumulator_true_handled, 1589s # NULL, 1589s # org_project_bar_frobnicator_method_marshal_random_method, 1589s # G_TYPE_BOOLEAN, 1589s # 1, 1589s # G_TYPE_DBUS_METHOD_INVOCATION); 1589s # 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_call_random_method: 1589s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1589s # * 1589s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1589s # */ 1589s # void 1589s # org_project_bar_frobnicator_call_random_method ( 1589s # OrgProjectBarFrobnicator *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1589s # "RandomMethod", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # callback, 1589s # user_data); 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_call_random_method_finish: 1589s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # org_project_bar_frobnicator_call_random_method_finish ( 1589s # OrgProjectBarFrobnicator *proxy, 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_call_random_method_sync: 1589s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1589s # * 1589s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # org_project_bar_frobnicator_call_random_method_sync ( 1589s # OrgProjectBarFrobnicator *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1589s # "RandomMethod", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_complete_random_method: 1589s # * @object: A #OrgProjectBarFrobnicator. 1589s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1589s # * 1589s # * 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. 1589s # * 1589s # * This method will free @invocation, you cannot use it afterwards. 1589s # */ 1589s # void 1589s # org_project_bar_frobnicator_complete_random_method ( 1589s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1589s # GDBusMethodInvocation *invocation) 1589s # { 1589s # g_dbus_method_invocation_return_value (invocation, 1589s # g_variant_new ("()")); 1589s # } 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # 1589s # /** 1589s # * OrgProjectBarFrobnicatorProxy: 1589s # * 1589s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1589s # */ 1589s # 1589s # /** 1589s # * OrgProjectBarFrobnicatorProxyClass: 1589s # * @parent_class: The parent class. 1589s # * 1589s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1589s # */ 1589s # 1589s # struct _OrgProjectBarFrobnicatorProxyPrivate 1589s # { 1589s # GData *qdata; 1589s # }; 1589s # 1589s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1589s # 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1589s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1589s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1589s # 1589s # #else 1589s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1589s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1589s # 1589s # #endif 1589s # static void 1589s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1589s # { 1589s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1589s # g_datalist_clear (&proxy->priv->qdata); 1589s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1589s # guint prop_id G_GNUC_UNUSED, 1589s # GValue *value G_GNUC_UNUSED, 1589s # GParamSpec *pspec G_GNUC_UNUSED) 1589s # { 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1589s # guint prop_id G_GNUC_UNUSED, 1589s # const GValue *value G_GNUC_UNUSED, 1589s # GParamSpec *pspec G_GNUC_UNUSED) 1589s # { 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1589s # const gchar *sender_name G_GNUC_UNUSED, 1589s # const gchar *signal_name, 1589s # GVariant *parameters) 1589s # { 1589s # _ExtendedGDBusSignalInfo *info; 1589s # GVariantIter iter; 1589s # GVariant *child; 1589s # GValue *paramv; 1589s # gsize num_params; 1589s # gsize n; 1589s # guint signal_id; 1589s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1589s # if (info == NULL) 1589s # return; 1589s # num_params = g_variant_n_children (parameters); 1589s # paramv = g_new0 (GValue, num_params + 1); 1589s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1589s # g_value_set_object (¶mv[0], proxy); 1589s # g_variant_iter_init (&iter, parameters); 1589s # n = 1; 1589s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1589s # { 1589s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1589s # if (arg_info->use_gvariant) 1589s # { 1589s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1589s # g_value_set_variant (¶mv[n], child); 1589s # n++; 1589s # } 1589s # else 1589s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1589s # g_variant_unref (child); 1589s # } 1589s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1589s # g_signal_emitv (paramv, signal_id, 0, NULL); 1589s # for (n = 0; n < num_params + 1; n++) 1589s # g_value_unset (¶mv[n]); 1589s # g_free (paramv); 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1589s # GVariant *changed_properties, 1589s # const gchar *const *invalidated_properties) 1589s # { 1589s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1589s # guint n; 1589s # const gchar *key; 1589s # GVariantIter *iter; 1589s # _ExtendedGDBusPropertyInfo *info; 1589s # g_variant_get (changed_properties, "a{sv}", &iter); 1589s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1589s # { 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1589s # g_datalist_remove_data (&proxy->priv->qdata, key); 1589s # if (info != NULL) 1589s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1589s # } 1589s # g_variant_iter_free (iter); 1589s # for (n = 0; invalidated_properties[n] != NULL; n++) 1589s # { 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1589s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1589s # if (info != NULL) 1589s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1589s # } 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1589s # { 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1589s # #else 1589s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1589s # #endif 1589s # 1589s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1589s # { 1589s # GObjectClass *gobject_class; 1589s # GDBusProxyClass *proxy_class; 1589s # 1589s # gobject_class = G_OBJECT_CLASS (klass); 1589s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1589s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1589s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1589s # 1589s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1589s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1589s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1589s # 1589s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1589s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1589s # #endif 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1589s # { 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_proxy_new: 1589s # * @connection: A #GDBusConnection. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1589s # * 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1589s # * 1589s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1589s # */ 1589s # void 1589s # org_project_bar_frobnicator_proxy_new ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # 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); 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_proxy_new_finish: 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1589s # * 1589s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # OrgProjectBarFrobnicator * 1589s # org_project_bar_frobnicator_proxy_new_finish ( 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GObject *ret; 1589s # GObject *source_object; 1589s # source_object = g_async_result_get_source_object (res); 1589s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1589s # g_object_unref (source_object); 1589s # if (ret != NULL) 1589s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_proxy_new_sync: 1589s # * @connection: A #GDBusConnection. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1589s # * 1589s # * The calling thread is blocked until a reply is received. 1589s # * 1589s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1589s # * 1589s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # OrgProjectBarFrobnicator * 1589s # org_project_bar_frobnicator_proxy_new_sync ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GInitable *ret; 1589s # 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); 1589s # if (ret != NULL) 1589s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_proxy_new_for_bus: 1589s # * @bus_type: A #GBusType. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: A bus name (well-known or unique). 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1589s # * 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1589s # * 1589s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1589s # */ 1589s # void 1589s # org_project_bar_frobnicator_proxy_new_for_bus ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # 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); 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1589s # * 1589s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # OrgProjectBarFrobnicator * 1589s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GObject *ret; 1589s # GObject *source_object; 1589s # source_object = g_async_result_get_source_object (res); 1589s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1589s # g_object_unref (source_object); 1589s # if (ret != NULL) 1589s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1589s # * @bus_type: A #GBusType. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: A bus name (well-known or unique). 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1589s # * 1589s # * The calling thread is blocked until a reply is received. 1589s # * 1589s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1589s # * 1589s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # OrgProjectBarFrobnicator * 1589s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GInitable *ret; 1589s # 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); 1589s # if (ret != NULL) 1589s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # 1589s # /** 1589s # * OrgProjectBarFrobnicatorSkeleton: 1589s # * 1589s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1589s # */ 1589s # 1589s # /** 1589s # * OrgProjectBarFrobnicatorSkeletonClass: 1589s # * @parent_class: The parent class. 1589s # * 1589s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1589s # */ 1589s # 1589s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1589s # { 1589s # GValue *properties; 1589s # GList *changed_properties; 1589s # GSource *changed_properties_idle_source; 1589s # GMainContext *context; 1589s # GMutex lock; 1589s # }; 1589s # 1589s # static void 1589s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1589s # GDBusConnection *connection G_GNUC_UNUSED, 1589s # const gchar *sender G_GNUC_UNUSED, 1589s # const gchar *object_path G_GNUC_UNUSED, 1589s # const gchar *interface_name, 1589s # const gchar *method_name, 1589s # GVariant *parameters, 1589s # GDBusMethodInvocation *invocation, 1589s # gpointer user_data) 1589s # { 1589s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1589s # _ExtendedGDBusMethodInfo *info; 1589s # GVariantIter iter; 1589s # GVariant *child; 1589s # GValue *paramv; 1589s # gsize num_params; 1589s # guint num_extra; 1589s # gsize n; 1589s # guint signal_id; 1589s # GValue return_value = G_VALUE_INIT; 1589s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1589s # g_assert (info != NULL); 1589s # num_params = g_variant_n_children (parameters); 1589s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1589s # n = 0; 1589s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1589s # g_value_set_object (¶mv[n++], skeleton); 1589s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1589s # g_value_set_object (¶mv[n++], invocation); 1589s # if (info->pass_fdlist) 1589s # { 1589s # #ifdef G_OS_UNIX 1589s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1589s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1589s # #else 1589s # g_assert_not_reached (); 1589s # #endif 1589s # } 1589s # g_variant_iter_init (&iter, parameters); 1589s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1589s # { 1589s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1589s # if (arg_info->use_gvariant) 1589s # { 1589s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1589s # g_value_set_variant (¶mv[n], child); 1589s # n++; 1589s # } 1589s # else 1589s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1589s # g_variant_unref (child); 1589s # } 1589s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1589s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1589s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1589s # if (!g_value_get_boolean (&return_value)) 1589s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1589s # g_value_unset (&return_value); 1589s # for (n = 0; n < num_params + num_extra; n++) 1589s # g_value_unset (¶mv[n]); 1589s # g_free (paramv); 1589s # } 1589s # 1589s # static GVariant * 1589s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1589s # GDBusConnection *connection G_GNUC_UNUSED, 1589s # const gchar *sender G_GNUC_UNUSED, 1589s # const gchar *object_path G_GNUC_UNUSED, 1589s # const gchar *interface_name G_GNUC_UNUSED, 1589s # const gchar *property_name, 1589s # GError **error, 1589s # gpointer user_data) 1589s # { 1589s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1589s # GValue value = G_VALUE_INIT; 1589s # GParamSpec *pspec; 1589s # _ExtendedGDBusPropertyInfo *info; 1589s # GVariant *ret; 1589s # ret = NULL; 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1589s # g_assert (info != NULL); 1589s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1589s # if (pspec == NULL) 1589s # { 1589s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1589s # } 1589s # else 1589s # { 1589s # g_value_init (&value, pspec->value_type); 1589s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1589s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1589s # g_value_unset (&value); 1589s # } 1589s # return ret; 1589s # } 1589s # 1589s # static gboolean 1589s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1589s # GDBusConnection *connection G_GNUC_UNUSED, 1589s # const gchar *sender G_GNUC_UNUSED, 1589s # const gchar *object_path G_GNUC_UNUSED, 1589s # const gchar *interface_name G_GNUC_UNUSED, 1589s # const gchar *property_name, 1589s # GVariant *variant, 1589s # GError **error, 1589s # gpointer user_data) 1589s # { 1589s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1589s # GValue value = G_VALUE_INIT; 1589s # GParamSpec *pspec; 1589s # _ExtendedGDBusPropertyInfo *info; 1589s # gboolean ret; 1589s # ret = FALSE; 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1589s # g_assert (info != NULL); 1589s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1589s # if (pspec == NULL) 1589s # { 1589s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1589s # } 1589s # else 1589s # { 1589s # if (info->use_gvariant) 1589s # g_value_set_variant (&value, variant); 1589s # else 1589s # g_dbus_gvariant_to_gvalue (variant, &value); 1589s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1589s # g_value_unset (&value); 1589s # ret = TRUE; 1589s # } 1589s # return ret; 1589s # } 1589s # 1589s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1589s # { 1589s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1589s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1589s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1589s # {NULL} 1589s # }; 1589s # 1589s # static GDBusInterfaceInfo * 1589s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1589s # { 1589s # return org_project_bar_frobnicator_interface_info (); 1589s # } 1589s # 1589s # static GDBusInterfaceVTable * 1589s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1589s # { 1589s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1589s # } 1589s # 1589s # static GVariant * 1589s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1589s # { 1589s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1589s # 1589s # GVariantBuilder builder; 1589s # guint n; 1589s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1589s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1589s # goto out; 1589s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1589s # { 1589s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1589s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1589s # { 1589s # GVariant *value; 1589s # 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); 1589s # if (value != NULL) 1589s # { 1589s # g_variant_take_ref (value); 1589s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1589s # g_variant_unref (value); 1589s # } 1589s # } 1589s # } 1589s # out: 1589s # return g_variant_builder_end (&builder); 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1589s # { 1589s # } 1589s # 1589s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1589s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1589s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1589s # 1589s # #else 1589s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1589s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1589s # 1589s # #endif 1589s # static void 1589s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1589s # { 1589s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1589s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1589s # if (skeleton->priv->changed_properties_idle_source != NULL) 1589s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1589s # g_main_context_unref (skeleton->priv->context); 1589s # g_mutex_clear (&skeleton->priv->lock); 1589s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1589s # { 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1589s # #else 1589s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1589s # #endif 1589s # 1589s # g_mutex_init (&skeleton->priv->lock); 1589s # skeleton->priv->context = g_main_context_ref_thread_default (); 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1589s # { 1589s # GObjectClass *gobject_class; 1589s # GDBusInterfaceSkeletonClass *skeleton_class; 1589s # 1589s # gobject_class = G_OBJECT_CLASS (klass); 1589s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1589s # 1589s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1589s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1589s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1589s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1589s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1589s # 1589s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1589s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1589s # #endif 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1589s # { 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_skeleton_new: 1589s # * 1589s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1589s # * 1589s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1589s # */ 1589s # OrgProjectBarFrobnicator * 1589s # org_project_bar_frobnicator_skeleton_new (void) 1589s # { 1589s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1589s # } 1589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6k93vbgt/tmpgbk9mqvw2.xml', '/tmp/tmp6k93vbgt/tmp37q7ahso1.xml', '--output', '-', '--body'] 1589s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1589s # Output: /* 1589s # * This file is generated by gdbus-codegen, do not modify it. 1589s # * 1589s # * The license of this code is the same as for the D-Bus interface description 1589s # * it was derived from. Note that it links to GLib, so must comply with the 1589s # * LGPL linking clauses. 1589s # */ 1589s # 1589s # #ifdef HAVE_CONFIG_H 1589s # # include "config.h" 1589s # #endif 1589s # 1589s # #include 1589s # #ifdef G_OS_UNIX 1589s # # include 1589s # #endif 1589s # 1589s # #ifdef G_ENABLE_DEBUG 1589s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1589s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1589s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1589s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1589s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1589s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1589s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1589s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1589s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1589s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1589s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1589s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1589s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1589s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1589s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1589s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1589s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1589s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1589s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1589s # #else /* !G_ENABLE_DEBUG */ 1589s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1589s # * Do not access GValues directly in your code. Instead, use the 1589s # * g_value_get_*() functions 1589s # */ 1589s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1589s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1589s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1589s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1589s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1589s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1589s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1589s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1589s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1589s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1589s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1589s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1589s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1589s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1589s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1589s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1589s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1589s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1589s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1589s # #endif /* !G_ENABLE_DEBUG */ 1589s # 1589s # typedef struct 1589s # { 1589s # GDBusArgInfo parent_struct; 1589s # gboolean use_gvariant; 1589s # } _ExtendedGDBusArgInfo; 1589s # 1589s # typedef struct 1589s # { 1589s # GDBusMethodInfo parent_struct; 1589s # const gchar *signal_name; 1589s # gboolean pass_fdlist; 1589s # } _ExtendedGDBusMethodInfo; 1589s # 1589s # typedef struct 1589s # { 1589s # GDBusSignalInfo parent_struct; 1589s # const gchar *signal_name; 1589s # } _ExtendedGDBusSignalInfo; 1589s # 1589s # typedef struct 1589s # { 1589s # GDBusPropertyInfo parent_struct; 1589s # const gchar *hyphen_name; 1589s # guint use_gvariant : 1; 1589s # guint emits_changed_signal : 1; 1589s # } _ExtendedGDBusPropertyInfo; 1589s # 1589s # typedef struct 1589s # { 1589s # GDBusInterfaceInfo parent_struct; 1589s # const gchar *hyphen_name; 1589s # } _ExtendedGDBusInterfaceInfo; 1589s # 1589s # typedef struct 1589s # { 1589s # const _ExtendedGDBusPropertyInfo *info; 1589s # guint prop_id; 1589s # GValue orig_value; /* the value before the change */ 1589s # } ChangedProperty; 1589s # 1589s # static void 1589s # _changed_property_free (ChangedProperty *data) 1589s # { 1589s # g_value_unset (&data->orig_value); 1589s # g_free (data); 1589s # } 1589s # 1589s # static gboolean 1589s # _g_strv_equal0 (gchar **a, gchar **b) 1589s # { 1589s # gboolean ret = FALSE; 1589s # guint n; 1589s # if (a == NULL && b == NULL) 1589s # { 1589s # ret = TRUE; 1589s # goto out; 1589s # } 1589s # if (a == NULL || b == NULL) 1589s # goto out; 1589s # if (g_strv_length (a) != g_strv_length (b)) 1589s # goto out; 1589s # for (n = 0; a[n] != NULL; n++) 1589s # if (g_strcmp0 (a[n], b[n]) != 0) 1589s # goto out; 1589s # ret = TRUE; 1589s # out: 1589s # return ret; 1589s # } 1589s # 1589s # static gboolean 1589s # _g_variant_equal0 (GVariant *a, GVariant *b) 1589s # { 1589s # gboolean ret = FALSE; 1589s # if (a == NULL && b == NULL) 1589s # { 1589s # ret = TRUE; 1589s # goto out; 1589s # } 1589s # if (a == NULL || b == NULL) 1589s # goto out; 1589s # ret = g_variant_equal (a, b); 1589s # out: 1589s # return ret; 1589s # } 1589s # 1589s # G_GNUC_UNUSED static gboolean 1589s # _g_value_equal (const GValue *a, const GValue *b) 1589s # { 1589s # gboolean ret = FALSE; 1589s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1589s # switch (G_VALUE_TYPE (a)) 1589s # { 1589s # case G_TYPE_BOOLEAN: 1589s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1589s # break; 1589s # case G_TYPE_UCHAR: 1589s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1589s # break; 1589s # case G_TYPE_INT: 1589s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1589s # break; 1589s # case G_TYPE_UINT: 1589s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1589s # break; 1589s # case G_TYPE_INT64: 1589s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1589s # break; 1589s # case G_TYPE_UINT64: 1589s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1589s # break; 1589s # case G_TYPE_DOUBLE: 1589s # { 1589s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1589s # gdouble da = g_value_get_double (a); 1589s # gdouble db = g_value_get_double (b); 1589s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1589s # } 1589s # break; 1589s # case G_TYPE_STRING: 1589s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1589s # break; 1589s # case G_TYPE_VARIANT: 1589s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1589s # break; 1589s # default: 1589s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1589s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1589s # else 1589s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1589s # break; 1589s # } 1589s # return ret; 1589s # } 1589s # 1589s # static void 1589s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1589s # GClosure *closure, 1589s # GValue *return_value, 1589s # unsigned int n_param_values, 1589s # const GValue *param_values, 1589s # void *invocation_hint G_GNUC_UNUSED, 1589s # void *marshal_data) 1589s # { 1589s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1589s # (void *data1, 1589s # GDBusMethodInvocation *arg_method_invocation, 1589s # void *data2); 1589s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1589s # GCClosure *cc = (GCClosure*) closure; 1589s # void *data1, *data2; 1589s # gboolean v_return; 1589s # 1589s # g_return_if_fail (return_value != NULL); 1589s # g_return_if_fail (n_param_values == 2); 1589s # 1589s # if (G_CCLOSURE_SWAP_DATA (closure)) 1589s # { 1589s # data1 = closure->data; 1589s # data2 = g_value_peek_pointer (param_values + 0); 1589s # } 1589s # else 1589s # { 1589s # data1 = g_value_peek_pointer (param_values + 0); 1589s # data2 = closure->data; 1589s # } 1589s # 1589s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1589s # (marshal_data ? marshal_data : cc->callback); 1589s # 1589s # v_return = 1589s # callback (data1, 1589s # g_marshal_value_peek_object (param_values + 1), 1589s # data2); 1589s # 1589s # g_value_set_boolean (return_value, v_return); 1589s # } 1589s # 1589s # /* ------------------------------------------------------------------------ 1589s # * Code for interface com.acme.Coyote 1589s # * ------------------------------------------------------------------------ 1589s # */ 1589s # 1589s # /** 1589s # * SECTION:ComAcmeCoyote 1589s # * @title: ComAcmeCoyote 1589s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1589s # * 1589s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1589s # */ 1589s # 1589s # enum 1589s # { 1589s # _COM_ACME_COYOTE_SURPRISED, 1589s # }; 1589s # 1589s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1589s # 1589s # /* ---- Introspection data for com.acme.Coyote ---- */ 1589s # 1589s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "Run", 1589s # NULL, 1589s # NULL, 1589s # NULL 1589s # }, 1589s # "handle-run", 1589s # FALSE 1589s # }; 1589s # 1589s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "Sleep", 1589s # NULL, 1589s # NULL, 1589s # NULL 1589s # }, 1589s # "handle-sleep", 1589s # FALSE 1589s # }; 1589s # 1589s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "Attack", 1589s # NULL, 1589s # NULL, 1589s # NULL 1589s # }, 1589s # "handle-attack", 1589s # FALSE 1589s # }; 1589s # 1589s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1589s # { 1589s # &_com_acme_coyote_method_info_run.parent_struct, 1589s # &_com_acme_coyote_method_info_sleep.parent_struct, 1589s # &_com_acme_coyote_method_info_attack.parent_struct, 1589s # NULL 1589s # }; 1589s # 1589s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "Surprised", 1589s # NULL, 1589s # NULL 1589s # }, 1589s # "surprised" 1589s # }; 1589s # 1589s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1589s # { 1589s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1589s # NULL 1589s # }; 1589s # 1589s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "Mood", 1589s # (gchar *) "s", 1589s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1589s # NULL 1589s # }, 1589s # "mood", 1589s # FALSE, 1589s # TRUE 1589s # }; 1589s # 1589s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1589s # { 1589s # &_com_acme_coyote_property_info_mood.parent_struct, 1589s # NULL 1589s # }; 1589s # 1589s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "com.acme.Coyote", 1589s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1589s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1589s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1589s # NULL 1589s # }, 1589s # "com-acme-coyote", 1589s # }; 1589s # 1589s # 1589s # /** 1589s # * com_acme_coyote_interface_info: 1589s # * 1589s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1589s # * 1589s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1589s # */ 1589s # GDBusInterfaceInfo * 1589s # com_acme_coyote_interface_info (void) 1589s # { 1589s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_override_properties: 1589s # * @klass: The class structure for a #GObject derived class. 1589s # * @property_id_begin: The property id to assign to the first overridden property. 1589s # * 1589s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1589s # * The properties are overridden in the order they are defined. 1589s # * 1589s # * Returns: The last property id. 1589s # */ 1589s # guint 1589s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1589s # { 1589s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1589s # return property_id_begin - 1; 1589s # } 1589s # 1589s # 1589s # inline static void 1589s # com_acme_coyote_signal_marshal_surprised ( 1589s # GClosure *closure, 1589s # GValue *return_value, 1589s # unsigned int n_param_values, 1589s # const GValue *param_values, 1589s # void *invocation_hint, 1589s # void *marshal_data) 1589s # { 1589s # g_cclosure_marshal_VOID__VOID (closure, 1589s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1589s # } 1589s # 1589s # inline static void 1589s # com_acme_coyote_method_marshal_run ( 1589s # GClosure *closure, 1589s # GValue *return_value, 1589s # unsigned int n_param_values, 1589s # const GValue *param_values, 1589s # void *invocation_hint, 1589s # void *marshal_data) 1589s # { 1589s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1589s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1589s # } 1589s # 1589s # inline static void 1589s # com_acme_coyote_method_marshal_sleep ( 1589s # GClosure *closure, 1589s # GValue *return_value, 1589s # unsigned int n_param_values, 1589s # const GValue *param_values, 1589s # void *invocation_hint, 1589s # void *marshal_data) 1589s # { 1589s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1589s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1589s # } 1589s # 1589s # inline static void 1589s # com_acme_coyote_method_marshal_attack ( 1589s # GClosure *closure, 1589s # GValue *return_value, 1589s # unsigned int n_param_values, 1589s # const GValue *param_values, 1589s # void *invocation_hint, 1589s # void *marshal_data) 1589s # { 1589s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1589s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1589s # } 1589s # 1589s # 1589s # /** 1589s # * ComAcmeCoyote: 1589s # * 1589s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1589s # */ 1589s # 1589s # /** 1589s # * ComAcmeCoyoteIface: 1589s # * @parent_iface: The parent interface. 1589s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1589s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1589s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1589s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1589s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1589s # * 1589s # * Virtual table for the D-Bus interface com.acme.Coyote. 1589s # */ 1589s # 1589s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1589s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1589s # 1589s # static void 1589s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1589s # { 1589s # /* GObject signals for incoming D-Bus method calls: */ 1589s # /** 1589s # * ComAcmeCoyote::handle-run: 1589s # * @object: A #ComAcmeCoyote. 1589s # * @invocation: A #GDBusMethodInvocation. 1589s # * 1589s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1589s # * 1589s # * 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. 1589s # * 1589s # * 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. 1589s # */ 1589s # g_signal_new ("handle-run", 1589s # G_TYPE_FROM_INTERFACE (iface), 1589s # G_SIGNAL_RUN_LAST, 1589s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1589s # g_signal_accumulator_true_handled, 1589s # NULL, 1589s # com_acme_coyote_method_marshal_run, 1589s # G_TYPE_BOOLEAN, 1589s # 1, 1589s # G_TYPE_DBUS_METHOD_INVOCATION); 1589s # 1589s # /** 1589s # * ComAcmeCoyote::handle-sleep: 1589s # * @object: A #ComAcmeCoyote. 1589s # * @invocation: A #GDBusMethodInvocation. 1589s # * 1589s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1589s # * 1589s # * 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. 1589s # * 1589s # * 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. 1589s # */ 1589s # g_signal_new ("handle-sleep", 1589s # G_TYPE_FROM_INTERFACE (iface), 1589s # G_SIGNAL_RUN_LAST, 1589s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1589s # g_signal_accumulator_true_handled, 1589s # NULL, 1589s # com_acme_coyote_method_marshal_sleep, 1589s # G_TYPE_BOOLEAN, 1589s # 1, 1589s # G_TYPE_DBUS_METHOD_INVOCATION); 1589s # 1589s # /** 1589s # * ComAcmeCoyote::handle-attack: 1589s # * @object: A #ComAcmeCoyote. 1589s # * @invocation: A #GDBusMethodInvocation. 1589s # * 1589s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1589s # * 1589s # * 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. 1589s # * 1589s # * 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. 1589s # */ 1589s # g_signal_new ("handle-attack", 1589s # G_TYPE_FROM_INTERFACE (iface), 1589s # G_SIGNAL_RUN_LAST, 1589s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1589s # g_signal_accumulator_true_handled, 1589s # NULL, 1589s # com_acme_coyote_method_marshal_attack, 1589s # G_TYPE_BOOLEAN, 1589s # 1, 1589s # G_TYPE_DBUS_METHOD_INVOCATION); 1589s # 1589s # /* GObject signals for received D-Bus signals: */ 1589s # /** 1589s # * ComAcmeCoyote::surprised: 1589s # * @object: A #ComAcmeCoyote. 1589s # * 1589s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1589s # * 1589s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1589s # */ 1589s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1589s # g_signal_new ("surprised", 1589s # G_TYPE_FROM_INTERFACE (iface), 1589s # G_SIGNAL_RUN_LAST, 1589s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1589s # NULL, 1589s # NULL, 1589s # com_acme_coyote_signal_marshal_surprised, 1589s # G_TYPE_NONE, 1589s # 0); 1589s # 1589s # /* GObject properties for D-Bus properties: */ 1589s # /** 1589s # * ComAcmeCoyote:mood: 1589s # * 1589s # * Represents the D-Bus property "Mood". 1589s # * 1589s # * 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. 1589s # */ 1589s # g_object_interface_install_property (iface, 1589s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_get_mood: (skip) 1589s # * @object: A #ComAcmeCoyote. 1589s # * 1589s # * Gets the value of the "Mood" D-Bus property. 1589s # * 1589s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1589s # * 1589s # * 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. 1589s # * 1589s # * 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. 1589s # */ 1589s # const gchar * 1589s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1589s # { 1589s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1589s # 1589s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_dup_mood: (skip) 1589s # * @object: A #ComAcmeCoyote. 1589s # * 1589s # * Gets a copy of the "Mood" D-Bus property. 1589s # * 1589s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1589s # * 1589s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1589s # */ 1589s # gchar * 1589s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1589s # { 1589s # gchar *value; 1589s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1589s # return value; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_set_mood: (skip) 1589s # * @object: A #ComAcmeCoyote. 1589s # * @value: The value to set. 1589s # * 1589s # * Sets the "Mood" D-Bus property to @value. 1589s # * 1589s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1589s # */ 1589s # void 1589s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1589s # { 1589s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_emit_surprised: 1589s # * @object: A #ComAcmeCoyote. 1589s # * 1589s # * Emits the "Surprised" D-Bus signal. 1589s # */ 1589s # void 1589s # com_acme_coyote_emit_surprised ( 1589s # ComAcmeCoyote *object) 1589s # { 1589s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_run: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1589s # * 1589s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1589s # */ 1589s # void 1589s # com_acme_coyote_call_run ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1589s # "Run", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # callback, 1589s # user_data); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_run_finish: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Finishes an operation started with com_acme_coyote_call_run(). 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # com_acme_coyote_call_run_finish ( 1589s # ComAcmeCoyote *proxy, 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_run_sync: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1589s # * 1589s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # com_acme_coyote_call_run_sync ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1589s # "Run", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_sleep: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1589s # * 1589s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1589s # */ 1589s # void 1589s # com_acme_coyote_call_sleep ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1589s # "Sleep", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # callback, 1589s # user_data); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_sleep_finish: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # com_acme_coyote_call_sleep_finish ( 1589s # ComAcmeCoyote *proxy, 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_sleep_sync: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1589s # * 1589s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # com_acme_coyote_call_sleep_sync ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1589s # "Sleep", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_attack: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1589s # * 1589s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1589s # */ 1589s # void 1589s # com_acme_coyote_call_attack ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1589s # "Attack", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # callback, 1589s # user_data); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_attack_finish: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Finishes an operation started with com_acme_coyote_call_attack(). 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # com_acme_coyote_call_attack_finish ( 1589s # ComAcmeCoyote *proxy, 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_call_attack_sync: 1589s # * @proxy: A #ComAcmeCoyoteProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1589s # * 1589s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # com_acme_coyote_call_attack_sync ( 1589s # ComAcmeCoyote *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1589s # "Attack", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_complete_run: 1589s # * @object: A #ComAcmeCoyote. 1589s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1589s # * 1589s # * 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. 1589s # * 1589s # * This method will free @invocation, you cannot use it afterwards. 1589s # */ 1589s # void 1589s # com_acme_coyote_complete_run ( 1589s # ComAcmeCoyote *object G_GNUC_UNUSED, 1589s # GDBusMethodInvocation *invocation) 1589s # { 1589s # g_dbus_method_invocation_return_value (invocation, 1589s # g_variant_new ("()")); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_complete_sleep: 1589s # * @object: A #ComAcmeCoyote. 1589s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1589s # * 1589s # * 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. 1589s # * 1589s # * This method will free @invocation, you cannot use it afterwards. 1589s # */ 1589s # void 1589s # com_acme_coyote_complete_sleep ( 1589s # ComAcmeCoyote *object G_GNUC_UNUSED, 1589s # GDBusMethodInvocation *invocation) 1589s # { 1589s # g_dbus_method_invocation_return_value (invocation, 1589s # g_variant_new ("()")); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_complete_attack: 1589s # * @object: A #ComAcmeCoyote. 1589s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1589s # * 1589s # * 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. 1589s # * 1589s # * This method will free @invocation, you cannot use it afterwards. 1589s # */ 1589s # void 1589s # com_acme_coyote_complete_attack ( 1589s # ComAcmeCoyote *object G_GNUC_UNUSED, 1589s # GDBusMethodInvocation *invocation) 1589s # { 1589s # g_dbus_method_invocation_return_value (invocation, 1589s # g_variant_new ("()")); 1589s # } 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # 1589s # /** 1589s # * ComAcmeCoyoteProxy: 1589s # * 1589s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1589s # */ 1589s # 1589s # /** 1589s # * ComAcmeCoyoteProxyClass: 1589s # * @parent_class: The parent class. 1589s # * 1589s # * Class structure for #ComAcmeCoyoteProxy. 1589s # */ 1589s # 1589s # struct _ComAcmeCoyoteProxyPrivate 1589s # { 1589s # GData *qdata; 1589s # }; 1589s # 1589s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1589s # 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1589s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1589s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1589s # 1589s # #else 1589s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1589s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1589s # 1589s # #endif 1589s # static void 1589s # com_acme_coyote_proxy_finalize (GObject *object) 1589s # { 1589s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1589s # g_datalist_clear (&proxy->priv->qdata); 1589s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_get_property (GObject *object, 1589s # guint prop_id, 1589s # GValue *value, 1589s # GParamSpec *pspec G_GNUC_UNUSED) 1589s # { 1589s # const _ExtendedGDBusPropertyInfo *info; 1589s # GVariant *variant; 1589s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1589s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1589s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1589s # if (info->use_gvariant) 1589s # { 1589s # g_value_set_variant (value, variant); 1589s # } 1589s # else 1589s # { 1589s # if (variant != NULL) 1589s # g_dbus_gvariant_to_gvalue (variant, value); 1589s # } 1589s # if (variant != NULL) 1589s # g_variant_unref (variant); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1589s # GAsyncResult *res, 1589s # gpointer user_data) 1589s # { 1589s # const _ExtendedGDBusPropertyInfo *info = user_data; 1589s # GError *error; 1589s # GVariant *_ret; 1589s # error = NULL; 1589s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1589s # if (!_ret) 1589s # { 1589s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1589s # info->parent_struct.name, 1589s # error->message, g_quark_to_string (error->domain), error->code); 1589s # g_error_free (error); 1589s # } 1589s # else 1589s # { 1589s # g_variant_unref (_ret); 1589s # } 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_set_property (GObject *object, 1589s # guint prop_id, 1589s # const GValue *value, 1589s # GParamSpec *pspec G_GNUC_UNUSED) 1589s # { 1589s # const _ExtendedGDBusPropertyInfo *info; 1589s # GVariant *variant; 1589s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1589s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1589s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1589s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1589s # "org.freedesktop.DBus.Properties.Set", 1589s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1589s # g_variant_unref (variant); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1589s # const gchar *sender_name G_GNUC_UNUSED, 1589s # const gchar *signal_name, 1589s # GVariant *parameters) 1589s # { 1589s # _ExtendedGDBusSignalInfo *info; 1589s # GVariantIter iter; 1589s # GVariant *child; 1589s # GValue *paramv; 1589s # gsize num_params; 1589s # gsize n; 1589s # guint signal_id; 1589s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1589s # if (info == NULL) 1589s # return; 1589s # num_params = g_variant_n_children (parameters); 1589s # paramv = g_new0 (GValue, num_params + 1); 1589s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1589s # g_value_set_object (¶mv[0], proxy); 1589s # g_variant_iter_init (&iter, parameters); 1589s # n = 1; 1589s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1589s # { 1589s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1589s # if (arg_info->use_gvariant) 1589s # { 1589s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1589s # g_value_set_variant (¶mv[n], child); 1589s # n++; 1589s # } 1589s # else 1589s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1589s # g_variant_unref (child); 1589s # } 1589s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1589s # g_signal_emitv (paramv, signal_id, 0, NULL); 1589s # for (n = 0; n < num_params + 1; n++) 1589s # g_value_unset (¶mv[n]); 1589s # g_free (paramv); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1589s # GVariant *changed_properties, 1589s # const gchar *const *invalidated_properties) 1589s # { 1589s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1589s # guint n; 1589s # const gchar *key; 1589s # GVariantIter *iter; 1589s # _ExtendedGDBusPropertyInfo *info; 1589s # g_variant_get (changed_properties, "a{sv}", &iter); 1589s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1589s # { 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1589s # g_datalist_remove_data (&proxy->priv->qdata, key); 1589s # if (info != NULL) 1589s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1589s # } 1589s # g_variant_iter_free (iter); 1589s # for (n = 0; invalidated_properties[n] != NULL; n++) 1589s # { 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1589s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1589s # if (info != NULL) 1589s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1589s # } 1589s # } 1589s # 1589s # static const gchar * 1589s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1589s # { 1589s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1589s # GVariant *variant; 1589s # const gchar *value = NULL; 1589s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1589s # if (variant != NULL) 1589s # { 1589s # value = g_variant_get_string (variant, NULL); 1589s # g_variant_unref (variant); 1589s # } 1589s # return value; 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1589s # { 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1589s # #else 1589s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1589s # #endif 1589s # 1589s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1589s # { 1589s # GObjectClass *gobject_class; 1589s # GDBusProxyClass *proxy_class; 1589s # 1589s # gobject_class = G_OBJECT_CLASS (klass); 1589s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1589s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1589s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1589s # 1589s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1589s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1589s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1589s # 1589s # com_acme_coyote_override_properties (gobject_class, 1); 1589s # 1589s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1589s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1589s # #endif 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1589s # { 1589s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_proxy_new: 1589s # * @connection: A #GDBusConnection. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1589s # * 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1589s # * 1589s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1589s # */ 1589s # void 1589s # com_acme_coyote_proxy_new ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # 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); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_proxy_new_finish: 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1589s # * 1589s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # ComAcmeCoyote * 1589s # com_acme_coyote_proxy_new_finish ( 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GObject *ret; 1589s # GObject *source_object; 1589s # source_object = g_async_result_get_source_object (res); 1589s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1589s # g_object_unref (source_object); 1589s # if (ret != NULL) 1589s # return COM_ACME_COYOTE (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_proxy_new_sync: 1589s # * @connection: A #GDBusConnection. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1589s # * 1589s # * The calling thread is blocked until a reply is received. 1589s # * 1589s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1589s # * 1589s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # ComAcmeCoyote * 1589s # com_acme_coyote_proxy_new_sync ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GInitable *ret; 1589s # 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); 1589s # if (ret != NULL) 1589s # return COM_ACME_COYOTE (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # 1589s # /** 1589s # * com_acme_coyote_proxy_new_for_bus: 1589s # * @bus_type: A #GBusType. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: A bus name (well-known or unique). 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1589s # * 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1589s # * 1589s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1589s # */ 1589s # void 1589s # com_acme_coyote_proxy_new_for_bus ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # 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); 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_proxy_new_for_bus_finish: 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1589s # * 1589s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # ComAcmeCoyote * 1589s # com_acme_coyote_proxy_new_for_bus_finish ( 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GObject *ret; 1589s # GObject *source_object; 1589s # source_object = g_async_result_get_source_object (res); 1589s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1589s # g_object_unref (source_object); 1589s # if (ret != NULL) 1589s # return COM_ACME_COYOTE (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_proxy_new_for_bus_sync: 1589s # * @bus_type: A #GBusType. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: A bus name (well-known or unique). 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1589s # * 1589s # * The calling thread is blocked until a reply is received. 1589s # * 1589s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1589s # * 1589s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # ComAcmeCoyote * 1589s # com_acme_coyote_proxy_new_for_bus_sync ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GInitable *ret; 1589s # 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); 1589s # if (ret != NULL) 1589s # return COM_ACME_COYOTE (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # 1589s # /** 1589s # * ComAcmeCoyoteSkeleton: 1589s # * 1589s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1589s # */ 1589s # 1589s # /** 1589s # * ComAcmeCoyoteSkeletonClass: 1589s # * @parent_class: The parent class. 1589s # * 1589s # * Class structure for #ComAcmeCoyoteSkeleton. 1589s # */ 1589s # 1589s # struct _ComAcmeCoyoteSkeletonPrivate 1589s # { 1589s # GValue *properties; 1589s # GList *changed_properties; 1589s # GSource *changed_properties_idle_source; 1589s # GMainContext *context; 1589s # GMutex lock; 1589s # }; 1589s # 1589s # static void 1589s # _com_acme_coyote_skeleton_handle_method_call ( 1589s # GDBusConnection *connection G_GNUC_UNUSED, 1589s # const gchar *sender G_GNUC_UNUSED, 1589s # const gchar *object_path G_GNUC_UNUSED, 1589s # const gchar *interface_name, 1589s # const gchar *method_name, 1589s # GVariant *parameters, 1589s # GDBusMethodInvocation *invocation, 1589s # gpointer user_data) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1589s # _ExtendedGDBusMethodInfo *info; 1589s # GVariantIter iter; 1589s # GVariant *child; 1589s # GValue *paramv; 1589s # gsize num_params; 1589s # guint num_extra; 1589s # gsize n; 1589s # guint signal_id; 1589s # GValue return_value = G_VALUE_INIT; 1589s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1589s # g_assert (info != NULL); 1589s # num_params = g_variant_n_children (parameters); 1589s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1589s # n = 0; 1589s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1589s # g_value_set_object (¶mv[n++], skeleton); 1589s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1589s # g_value_set_object (¶mv[n++], invocation); 1589s # if (info->pass_fdlist) 1589s # { 1589s # #ifdef G_OS_UNIX 1589s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1589s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1589s # #else 1589s # g_assert_not_reached (); 1589s # #endif 1589s # } 1589s # g_variant_iter_init (&iter, parameters); 1589s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1589s # { 1589s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1589s # if (arg_info->use_gvariant) 1589s # { 1589s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1589s # g_value_set_variant (¶mv[n], child); 1589s # n++; 1589s # } 1589s # else 1589s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1589s # g_variant_unref (child); 1589s # } 1589s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1589s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1589s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1589s # if (!g_value_get_boolean (&return_value)) 1589s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1589s # g_value_unset (&return_value); 1589s # for (n = 0; n < num_params + num_extra; n++) 1589s # g_value_unset (¶mv[n]); 1589s # g_free (paramv); 1589s # } 1589s # 1589s # static GVariant * 1589s # _com_acme_coyote_skeleton_handle_get_property ( 1589s # GDBusConnection *connection G_GNUC_UNUSED, 1589s # const gchar *sender G_GNUC_UNUSED, 1589s # const gchar *object_path G_GNUC_UNUSED, 1589s # const gchar *interface_name G_GNUC_UNUSED, 1589s # const gchar *property_name, 1589s # GError **error, 1589s # gpointer user_data) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1589s # GValue value = G_VALUE_INIT; 1589s # GParamSpec *pspec; 1589s # _ExtendedGDBusPropertyInfo *info; 1589s # GVariant *ret; 1589s # ret = NULL; 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1589s # g_assert (info != NULL); 1589s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1589s # if (pspec == NULL) 1589s # { 1589s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1589s # } 1589s # else 1589s # { 1589s # g_value_init (&value, pspec->value_type); 1589s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1589s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1589s # g_value_unset (&value); 1589s # } 1589s # return ret; 1589s # } 1589s # 1589s # static gboolean 1589s # _com_acme_coyote_skeleton_handle_set_property ( 1589s # GDBusConnection *connection G_GNUC_UNUSED, 1589s # const gchar *sender G_GNUC_UNUSED, 1589s # const gchar *object_path G_GNUC_UNUSED, 1589s # const gchar *interface_name G_GNUC_UNUSED, 1589s # const gchar *property_name, 1589s # GVariant *variant, 1589s # GError **error, 1589s # gpointer user_data) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1589s # GValue value = G_VALUE_INIT; 1589s # GParamSpec *pspec; 1589s # _ExtendedGDBusPropertyInfo *info; 1589s # gboolean ret; 1589s # ret = FALSE; 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1589s # g_assert (info != NULL); 1589s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1589s # if (pspec == NULL) 1589s # { 1589s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1589s # } 1589s # else 1589s # { 1589s # if (info->use_gvariant) 1589s # g_value_set_variant (&value, variant); 1589s # else 1589s # g_dbus_gvariant_to_gvalue (variant, &value); 1589s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1589s # g_value_unset (&value); 1589s # ret = TRUE; 1589s # } 1589s # return ret; 1589s # } 1589s # 1589s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1589s # { 1589s # _com_acme_coyote_skeleton_handle_method_call, 1589s # _com_acme_coyote_skeleton_handle_get_property, 1589s # _com_acme_coyote_skeleton_handle_set_property, 1589s # {NULL} 1589s # }; 1589s # 1589s # static GDBusInterfaceInfo * 1589s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1589s # { 1589s # return com_acme_coyote_interface_info (); 1589s # } 1589s # 1589s # static GDBusInterfaceVTable * 1589s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1589s # { 1589s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1589s # } 1589s # 1589s # static GVariant * 1589s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1589s # 1589s # GVariantBuilder builder; 1589s # guint n; 1589s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1589s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1589s # goto out; 1589s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1589s # { 1589s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1589s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1589s # { 1589s # GVariant *value; 1589s # 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); 1589s # if (value != NULL) 1589s # { 1589s # g_variant_take_ref (value); 1589s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1589s # g_variant_unref (value); 1589s # } 1589s # } 1589s # } 1589s # out: 1589s # return g_variant_builder_end (&builder); 1589s # } 1589s # 1589s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1589s # 1589s # static void 1589s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1589s # gboolean emit_changed = FALSE; 1589s # 1589s # g_mutex_lock (&skeleton->priv->lock); 1589s # if (skeleton->priv->changed_properties_idle_source != NULL) 1589s # { 1589s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1589s # skeleton->priv->changed_properties_idle_source = NULL; 1589s # emit_changed = TRUE; 1589s # } 1589s # g_mutex_unlock (&skeleton->priv->lock); 1589s # 1589s # if (emit_changed) 1589s # _com_acme_coyote_emit_changed (skeleton); 1589s # } 1589s # 1589s # static void 1589s # _com_acme_coyote_on_signal_surprised ( 1589s # ComAcmeCoyote *object) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1589s # 1589s # GList *connections, *l; 1589s # GVariant *signal_variant; 1589s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1589s # 1589s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1589s # for (l = connections; l != NULL; l = l->next) 1589s # { 1589s # GDBusConnection *connection = l->data; 1589s # g_dbus_connection_emit_signal (connection, 1589s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1589s # signal_variant, NULL); 1589s # } 1589s # g_variant_unref (signal_variant); 1589s # g_list_free_full (connections, g_object_unref); 1589s # } 1589s # 1589s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1589s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1589s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1589s # 1589s # #else 1589s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1589s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1589s # 1589s # #endif 1589s # static void 1589s # com_acme_coyote_skeleton_finalize (GObject *object) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1589s # guint n; 1589s # for (n = 0; n < 1; n++) 1589s # g_value_unset (&skeleton->priv->properties[n]); 1589s # g_free (skeleton->priv->properties); 1589s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1589s # if (skeleton->priv->changed_properties_idle_source != NULL) 1589s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1589s # g_main_context_unref (skeleton->priv->context); 1589s # g_mutex_clear (&skeleton->priv->lock); 1589s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_skeleton_get_property (GObject *object, 1589s # guint prop_id, 1589s # GValue *value, 1589s # GParamSpec *pspec G_GNUC_UNUSED) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1589s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1589s # g_mutex_lock (&skeleton->priv->lock); 1589s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1589s # g_mutex_unlock (&skeleton->priv->lock); 1589s # } 1589s # 1589s # static gboolean 1589s # _com_acme_coyote_emit_changed (gpointer user_data) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1589s # GList *l; 1589s # GVariantBuilder builder; 1589s # GVariantBuilder invalidated_builder; 1589s # guint num_changes; 1589s # 1589s # g_mutex_lock (&skeleton->priv->lock); 1589s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1589s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1589s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1589s # { 1589s # ChangedProperty *cp = l->data; 1589s # GVariant *variant; 1589s # const GValue *cur_value; 1589s # 1589s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1589s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1589s # { 1589s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1589s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1589s # g_variant_unref (variant); 1589s # num_changes++; 1589s # } 1589s # } 1589s # if (num_changes > 0) 1589s # { 1589s # GList *connections, *ll; 1589s # GVariant *signal_variant; 1589s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1589s # &builder, &invalidated_builder)); 1589s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1589s # for (ll = connections; ll != NULL; ll = ll->next) 1589s # { 1589s # GDBusConnection *connection = ll->data; 1589s # 1589s # g_dbus_connection_emit_signal (connection, 1589s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1589s # "org.freedesktop.DBus.Properties", 1589s # "PropertiesChanged", 1589s # signal_variant, 1589s # NULL); 1589s # } 1589s # g_variant_unref (signal_variant); 1589s # g_list_free_full (connections, g_object_unref); 1589s # } 1589s # else 1589s # { 1589s # g_variant_builder_clear (&builder); 1589s # g_variant_builder_clear (&invalidated_builder); 1589s # } 1589s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1589s # skeleton->priv->changed_properties = NULL; 1589s # skeleton->priv->changed_properties_idle_source = NULL; 1589s # g_mutex_unlock (&skeleton->priv->lock); 1589s # return FALSE; 1589s # } 1589s # 1589s # static void 1589s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1589s # { 1589s # ChangedProperty *cp; 1589s # GList *l; 1589s # cp = NULL; 1589s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1589s # { 1589s # ChangedProperty *i_cp = l->data; 1589s # if (i_cp->info == info) 1589s # { 1589s # cp = i_cp; 1589s # break; 1589s # } 1589s # } 1589s # if (cp == NULL) 1589s # { 1589s # cp = g_new0 (ChangedProperty, 1); 1589s # cp->prop_id = prop_id; 1589s # cp->info = info; 1589s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1589s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1589s # g_value_copy (orig_value, &cp->orig_value); 1589s # } 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_skeleton_notify (GObject *object, 1589s # GParamSpec *pspec G_GNUC_UNUSED) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1589s # g_mutex_lock (&skeleton->priv->lock); 1589s # if (skeleton->priv->changed_properties != NULL && 1589s # skeleton->priv->changed_properties_idle_source == NULL) 1589s # { 1589s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1589s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1589s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1589s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1589s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1589s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1589s # } 1589s # g_mutex_unlock (&skeleton->priv->lock); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_skeleton_set_property (GObject *object, 1589s # guint prop_id, 1589s # const GValue *value, 1589s # GParamSpec *pspec) 1589s # { 1589s # const _ExtendedGDBusPropertyInfo *info; 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1589s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1589s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1589s # g_mutex_lock (&skeleton->priv->lock); 1589s # g_object_freeze_notify (object); 1589s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1589s # { 1589s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1589s # info->emits_changed_signal) 1589s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1589s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1589s # g_object_notify_by_pspec (object, pspec); 1589s # } 1589s # g_mutex_unlock (&skeleton->priv->lock); 1589s # g_object_thaw_notify (object); 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1589s # { 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1589s # #else 1589s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1589s # #endif 1589s # 1589s # g_mutex_init (&skeleton->priv->lock); 1589s # skeleton->priv->context = g_main_context_ref_thread_default (); 1589s # skeleton->priv->properties = g_new0 (GValue, 1); 1589s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1589s # } 1589s # 1589s # static const gchar * 1589s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1589s # { 1589s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1589s # const gchar *value; 1589s # g_mutex_lock (&skeleton->priv->lock); 1589s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1589s # g_mutex_unlock (&skeleton->priv->lock); 1589s # return value; 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1589s # { 1589s # GObjectClass *gobject_class; 1589s # GDBusInterfaceSkeletonClass *skeleton_class; 1589s # 1589s # gobject_class = G_OBJECT_CLASS (klass); 1589s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1589s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1589s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1589s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1589s # 1589s # 1589s # com_acme_coyote_override_properties (gobject_class, 1); 1589s # 1589s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1589s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1589s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1589s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1589s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1589s # 1589s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1589s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1589s # #endif 1589s # } 1589s # 1589s # static void 1589s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1589s # { 1589s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1589s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1589s # } 1589s # 1589s # /** 1589s # * com_acme_coyote_skeleton_new: 1589s # * 1589s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1589s # * 1589s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1589s # */ 1589s # ComAcmeCoyote * 1589s # com_acme_coyote_skeleton_new (void) 1589s # { 1589s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1589s # } 1589s # 1589s # /* ------------------------------------------------------------------------ 1589s # * Code for interface org.project.Bar.Frobnicator 1589s # * ------------------------------------------------------------------------ 1589s # */ 1589s # 1589s # /** 1589s # * SECTION:OrgProjectBarFrobnicator 1589s # * @title: OrgProjectBarFrobnicator 1589s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1589s # * 1589s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1589s # */ 1589s # 1589s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1589s # 1589s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "RandomMethod", 1589s # NULL, 1589s # NULL, 1589s # NULL 1589s # }, 1589s # "handle-random-method", 1589s # FALSE 1589s # }; 1589s # 1589s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1589s # { 1589s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1589s # NULL 1589s # }; 1589s # 1589s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1589s # { 1589s # { 1589s # -1, 1589s # (gchar *) "org.project.Bar.Frobnicator", 1589s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1589s # NULL, 1589s # NULL, 1589s # NULL 1589s # }, 1589s # "org-project-bar-frobnicator", 1589s # }; 1589s # 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_interface_info: 1589s # * 1589s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1589s # * 1589s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1589s # */ 1589s # GDBusInterfaceInfo * 1589s # org_project_bar_frobnicator_interface_info (void) 1589s # { 1589s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_override_properties: 1589s # * @klass: The class structure for a #GObject derived class. 1589s # * @property_id_begin: The property id to assign to the first overridden property. 1589s # * 1589s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1589s # * The properties are overridden in the order they are defined. 1589s # * 1589s # * Returns: The last property id. 1589s # */ 1589s # guint 1589s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1589s # { 1589s # return property_id_begin - 1; 1589s # } 1589s # 1589s # 1589s # inline static void 1589s # org_project_bar_frobnicator_method_marshal_random_method ( 1589s # GClosure *closure, 1589s # GValue *return_value, 1589s # unsigned int n_param_values, 1589s # const GValue *param_values, 1589s # void *invocation_hint, 1589s # void *marshal_data) 1589s # { 1589s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1589s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1589s # } 1589s # 1589s # 1589s # /** 1589s # * OrgProjectBarFrobnicator: 1589s # * 1589s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1589s # */ 1589s # 1589s # /** 1589s # * OrgProjectBarFrobnicatorIface: 1589s # * @parent_iface: The parent interface. 1589s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1589s # * 1589s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1589s # */ 1589s # 1589s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1589s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1589s # { 1589s # /* GObject signals for incoming D-Bus method calls: */ 1589s # /** 1589s # * OrgProjectBarFrobnicator::handle-random-method: 1589s # * @object: A #OrgProjectBarFrobnicator. 1589s # * @invocation: A #GDBusMethodInvocation. 1589s # * 1589s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1589s # * 1589s # * 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. 1589s # * 1589s # * 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. 1589s # */ 1589s # g_signal_new ("handle-random-method", 1589s # G_TYPE_FROM_INTERFACE (iface), 1589s # G_SIGNAL_RUN_LAST, 1589s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1589s # g_signal_accumulator_true_handled, 1589s # NULL, 1589s # org_project_bar_frobnicator_method_marshal_random_method, 1589s # G_TYPE_BOOLEAN, 1589s # 1, 1589s # G_TYPE_DBUS_METHOD_INVOCATION); 1589s # 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_call_random_method: 1589s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1589s # * 1589s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1589s # */ 1589s # void 1589s # org_project_bar_frobnicator_call_random_method ( 1589s # OrgProjectBarFrobnicator *proxy, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1589s # "RandomMethod", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # callback, 1589s # user_data); 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_call_random_method_finish: 1589s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # org_project_bar_frobnicator_call_random_method_finish ( 1589s # OrgProjectBarFrobnicator *proxy, 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_call_random_method_sync: 1589s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL. 1589s # * 1589s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1589s # * 1589s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1589s # * 1589s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1589s # */ 1589s # gboolean 1589s # org_project_bar_frobnicator_call_random_method_sync ( 1589s # OrgProjectBarFrobnicator *proxy, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GVariant *_ret; 1589s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1589s # "RandomMethod", 1589s # g_variant_new ("()"), 1589s # G_DBUS_CALL_FLAGS_NONE, 1589s # -1, 1589s # cancellable, 1589s # error); 1589s # if (_ret == NULL) 1589s # goto _out; 1589s # g_variant_get (_ret, 1589s # "()"); 1589s # g_variant_unref (_ret); 1589s # _out: 1589s # return _ret != NULL; 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_complete_random_method: 1589s # * @object: A #OrgProjectBarFrobnicator. 1589s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1589s # * 1589s # * 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. 1589s # * 1589s # * This method will free @invocation, you cannot use it afterwards. 1589s # */ 1589s # void 1589s # org_project_bar_frobnicator_complete_random_method ( 1589s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1589s # GDBusMethodInvocation *invocation) 1589s # { 1589s # g_dbus_method_invocation_return_value (invocation, 1589s # g_variant_new ("()")); 1589s # } 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # 1589s # /** 1589s # * OrgProjectBarFrobnicatorProxy: 1589s # * 1589s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1589s # */ 1589s # 1589s # /** 1589s # * OrgProjectBarFrobnicatorProxyClass: 1589s # * @parent_class: The parent class. 1589s # * 1589s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1589s # */ 1589s # 1589s # struct _OrgProjectBarFrobnicatorProxyPrivate 1589s # { 1589s # GData *qdata; 1589s # }; 1589s # 1589s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1589s # 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1589s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1589s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1589s # 1589s # #else 1589s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1589s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1589s # 1589s # #endif 1589s # static void 1589s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1589s # { 1589s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1589s # g_datalist_clear (&proxy->priv->qdata); 1589s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1589s # guint prop_id G_GNUC_UNUSED, 1589s # GValue *value G_GNUC_UNUSED, 1589s # GParamSpec *pspec G_GNUC_UNUSED) 1589s # { 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1589s # guint prop_id G_GNUC_UNUSED, 1589s # const GValue *value G_GNUC_UNUSED, 1589s # GParamSpec *pspec G_GNUC_UNUSED) 1589s # { 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1589s # const gchar *sender_name G_GNUC_UNUSED, 1589s # const gchar *signal_name, 1589s # GVariant *parameters) 1589s # { 1589s # _ExtendedGDBusSignalInfo *info; 1589s # GVariantIter iter; 1589s # GVariant *child; 1589s # GValue *paramv; 1589s # gsize num_params; 1589s # gsize n; 1589s # guint signal_id; 1589s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1589s # if (info == NULL) 1589s # return; 1589s # num_params = g_variant_n_children (parameters); 1589s # paramv = g_new0 (GValue, num_params + 1); 1589s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1589s # g_value_set_object (¶mv[0], proxy); 1589s # g_variant_iter_init (&iter, parameters); 1589s # n = 1; 1589s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1589s # { 1589s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1589s # if (arg_info->use_gvariant) 1589s # { 1589s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1589s # g_value_set_variant (¶mv[n], child); 1589s # n++; 1589s # } 1589s # else 1589s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1589s # g_variant_unref (child); 1589s # } 1589s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1589s # g_signal_emitv (paramv, signal_id, 0, NULL); 1589s # for (n = 0; n < num_params + 1; n++) 1589s # g_value_unset (¶mv[n]); 1589s # g_free (paramv); 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1589s # GVariant *changed_properties, 1589s # const gchar *const *invalidated_properties) 1589s # { 1589s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1589s # guint n; 1589s # const gchar *key; 1589s # GVariantIter *iter; 1589s # _ExtendedGDBusPropertyInfo *info; 1589s # g_variant_get (changed_properties, "a{sv}", &iter); 1589s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1589s # { 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1589s # g_datalist_remove_data (&proxy->priv->qdata, key); 1589s # if (info != NULL) 1589s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1589s # } 1589s # g_variant_iter_free (iter); 1589s # for (n = 0; invalidated_properties[n] != NULL; n++) 1589s # { 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1589s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1589s # if (info != NULL) 1589s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1589s # } 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1589s # { 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1589s # #else 1589s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1589s # #endif 1589s # 1589s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1589s # { 1589s # GObjectClass *gobject_class; 1589s # GDBusProxyClass *proxy_class; 1589s # 1589s # gobject_class = G_OBJECT_CLASS (klass); 1589s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1589s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1589s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1589s # 1589s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1589s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1589s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1589s # 1589s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1589s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1589s # #endif 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1589s # { 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_proxy_new: 1589s # * @connection: A #GDBusConnection. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1589s # * 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1589s # * 1589s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1589s # */ 1589s # void 1589s # org_project_bar_frobnicator_proxy_new ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # 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); 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_proxy_new_finish: 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1589s # * 1589s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # OrgProjectBarFrobnicator * 1589s # org_project_bar_frobnicator_proxy_new_finish ( 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GObject *ret; 1589s # GObject *source_object; 1589s # source_object = g_async_result_get_source_object (res); 1589s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1589s # g_object_unref (source_object); 1589s # if (ret != NULL) 1589s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_proxy_new_sync: 1589s # * @connection: A #GDBusConnection. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1589s # * 1589s # * The calling thread is blocked until a reply is received. 1589s # * 1589s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1589s # * 1589s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # OrgProjectBarFrobnicator * 1589s # org_project_bar_frobnicator_proxy_new_sync ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GInitable *ret; 1589s # 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); 1589s # if (ret != NULL) 1589s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_proxy_new_for_bus: 1589s # * @bus_type: A #GBusType. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: A bus name (well-known or unique). 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1589s # * @user_data: User data to pass to @callback. 1589s # * 1589s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1589s # * 1589s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1589s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1589s # * 1589s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1589s # */ 1589s # void 1589s # org_project_bar_frobnicator_proxy_new_for_bus ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data) 1589s # { 1589s # 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); 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1589s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1589s # * 1589s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # OrgProjectBarFrobnicator * 1589s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1589s # GAsyncResult *res, 1589s # GError **error) 1589s # { 1589s # GObject *ret; 1589s # GObject *source_object; 1589s # source_object = g_async_result_get_source_object (res); 1589s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1589s # g_object_unref (source_object); 1589s # if (ret != NULL) 1589s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1589s # * @bus_type: A #GBusType. 1589s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1589s # * @name: A bus name (well-known or unique). 1589s # * @object_path: An object path. 1589s # * @cancellable: (nullable): A #GCancellable or %NULL. 1589s # * @error: Return location for error or %NULL 1589s # * 1589s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1589s # * 1589s # * The calling thread is blocked until a reply is received. 1589s # * 1589s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1589s # * 1589s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1589s # */ 1589s # OrgProjectBarFrobnicator * 1589s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error) 1589s # { 1589s # GInitable *ret; 1589s # 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); 1589s # if (ret != NULL) 1589s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1589s # else 1589s # return NULL; 1589s # } 1589s # 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # 1589s # /** 1589s # * OrgProjectBarFrobnicatorSkeleton: 1589s # * 1589s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1589s # */ 1589s # 1589s # /** 1589s # * OrgProjectBarFrobnicatorSkeletonClass: 1589s # * @parent_class: The parent class. 1589s # * 1589s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1589s # */ 1589s # 1589s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1589s # { 1589s # GValue *properties; 1589s # GList *changed_properties; 1589s # GSource *changed_properties_idle_source; 1589s # GMainContext *context; 1589s # GMutex lock; 1589s # }; 1589s # 1589s # static void 1589s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1589s # GDBusConnection *connection G_GNUC_UNUSED, 1589s # const gchar *sender G_GNUC_UNUSED, 1589s # const gchar *object_path G_GNUC_UNUSED, 1589s # const gchar *interface_name, 1589s # const gchar *method_name, 1589s # GVariant *parameters, 1589s # GDBusMethodInvocation *invocation, 1589s # gpointer user_data) 1589s # { 1589s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1589s # _ExtendedGDBusMethodInfo *info; 1589s # GVariantIter iter; 1589s # GVariant *child; 1589s # GValue *paramv; 1589s # gsize num_params; 1589s # guint num_extra; 1589s # gsize n; 1589s # guint signal_id; 1589s # GValue return_value = G_VALUE_INIT; 1589s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1589s # g_assert (info != NULL); 1589s # num_params = g_variant_n_children (parameters); 1589s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1589s # n = 0; 1589s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1589s # g_value_set_object (¶mv[n++], skeleton); 1589s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1589s # g_value_set_object (¶mv[n++], invocation); 1589s # if (info->pass_fdlist) 1589s # { 1589s # #ifdef G_OS_UNIX 1589s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1589s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1589s # #else 1589s # g_assert_not_reached (); 1589s # #endif 1589s # } 1589s # g_variant_iter_init (&iter, parameters); 1589s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1589s # { 1589s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1589s # if (arg_info->use_gvariant) 1589s # { 1589s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1589s # g_value_set_variant (¶mv[n], child); 1589s # n++; 1589s # } 1589s # else 1589s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1589s # g_variant_unref (child); 1589s # } 1589s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1589s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1589s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1589s # if (!g_value_get_boolean (&return_value)) 1589s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1589s # g_value_unset (&return_value); 1589s # for (n = 0; n < num_params + num_extra; n++) 1589s # g_value_unset (¶mv[n]); 1589s # g_free (paramv); 1589s # } 1589s # 1589s # static GVariant * 1589s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1589s # GDBusConnection *connection G_GNUC_UNUSED, 1589s # const gchar *sender G_GNUC_UNUSED, 1589s # const gchar *object_path G_GNUC_UNUSED, 1589s # const gchar *interface_name G_GNUC_UNUSED, 1589s # const gchar *property_name, 1589s # GError **error, 1589s # gpointer user_data) 1589s # { 1589s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1589s # GValue value = G_VALUE_INIT; 1589s # GParamSpec *pspec; 1589s # _ExtendedGDBusPropertyInfo *info; 1589s # GVariant *ret; 1589s # ret = NULL; 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1589s # g_assert (info != NULL); 1589s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1589s # if (pspec == NULL) 1589s # { 1589s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1589s # } 1589s # else 1589s # { 1589s # g_value_init (&value, pspec->value_type); 1589s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1589s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1589s # g_value_unset (&value); 1589s # } 1589s # return ret; 1589s # } 1589s # 1589s # static gboolean 1589s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1589s # GDBusConnection *connection G_GNUC_UNUSED, 1589s # const gchar *sender G_GNUC_UNUSED, 1589s # const gchar *object_path G_GNUC_UNUSED, 1589s # const gchar *interface_name G_GNUC_UNUSED, 1589s # const gchar *property_name, 1589s # GVariant *variant, 1589s # GError **error, 1589s # gpointer user_data) 1589s # { 1589s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1589s # GValue value = G_VALUE_INIT; 1589s # GParamSpec *pspec; 1589s # _ExtendedGDBusPropertyInfo *info; 1589s # gboolean ret; 1589s # ret = FALSE; 1589s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1589s # g_assert (info != NULL); 1589s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1589s # if (pspec == NULL) 1589s # { 1589s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1589s # } 1589s # else 1589s # { 1589s # if (info->use_gvariant) 1589s # g_value_set_variant (&value, variant); 1589s # else 1589s # g_dbus_gvariant_to_gvalue (variant, &value); 1589s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1589s # g_value_unset (&value); 1589s # ret = TRUE; 1589s # } 1589s # return ret; 1589s # } 1589s # 1589s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1589s # { 1589s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1589s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1589s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1589s # {NULL} 1589s # }; 1589s # 1589s # static GDBusInterfaceInfo * 1589s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1589s # { 1589s # return org_project_bar_frobnicator_interface_info (); 1589s # } 1589s # 1589s # static GDBusInterfaceVTable * 1589s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1589s # { 1589s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1589s # } 1589s # 1589s # static GVariant * 1589s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1589s # { 1589s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1589s # 1589s # GVariantBuilder builder; 1589s # guint n; 1589s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1589s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1589s # goto out; 1589s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1589s # { 1589s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1589s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1589s # { 1589s # GVariant *value; 1589s # 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); 1589s # if (value != NULL) 1589s # { 1589s # g_variant_take_ref (value); 1589s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1589s # g_variant_unref (value); 1589s # } 1589s # } 1589s # } 1589s # out: 1589s # return g_variant_builder_end (&builder); 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1589s # { 1589s # } 1589s # 1589s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1589s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1589s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1589s # 1589s # #else 1589s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1589s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1589s # 1589s # #endif 1589s # static void 1589s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1589s # { 1589s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1589s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1589s # if (skeleton->priv->changed_properties_idle_source != NULL) 1589s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1589s # g_main_context_unref (skeleton->priv->context); 1589s # g_mutex_clear (&skeleton->priv->lock); 1589s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1589s # { 1589s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1589s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1589s # #else 1589s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1589s # #endif 1589s # 1589s # g_mutex_init (&skeleton->priv->lock); 1589s # skeleton->priv->context = g_main_context_ref_thread_default (); 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1589s # { 1589s # GObjectClass *gobject_class; 1589s # GDBusInterfaceSkeletonClass *skeleton_class; 1589s # 1589s # gobject_class = G_OBJECT_CLASS (klass); 1589s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1589s # 1589s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1589s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1589s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1589s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1589s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1589s # 1589s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1589s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1589s # #endif 1589s # } 1589s # 1589s # static void 1589s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1589s # { 1589s # } 1589s # 1589s # /** 1589s # * org_project_bar_frobnicator_skeleton_new: 1589s # * 1589s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1589s # * 1589s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1589s # */ 1589s # OrgProjectBarFrobnicator * 1589s # org_project_bar_frobnicator_skeleton_new (void) 1589s # { 1589s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1589s # } 1589s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1589s # tmpdir: /tmp/tmpckycg9xd 1589s # codegen: /usr/bin/gdbus-codegen 1589s # /tmp/tmpckycg9xd/tmpqpcyk7o5.xml: 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpckycg9xd/tmpqpcyk7o5.xml', '--output', '-', '--header'] 1589s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1589s # Output: /* 1589s # * This file is generated by gdbus-codegen, do not modify it. 1589s # * 1589s # * The license of this code is the same as for the D-Bus interface description 1589s # * it was derived from. Note that it links to GLib, so must comply with the 1589s # * LGPL linking clauses. 1589s # */ 1589s # 1589s # #ifndef __STDOUT__ 1589s # #define __STDOUT__ 1589s # 1589s # #include 1589s # 1589s # G_BEGIN_DECLS 1589s # 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # /* Declarations for FDPassing */ 1589s # 1589s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1589s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1589s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1589s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1589s # 1589s # struct _FDPassing; 1589s # typedef struct _FDPassing FDPassing; 1589s # typedef struct _FDPassingIface FDPassingIface; 1589s # 1589s # struct _FDPassingIface 1589s # { 1589s # GTypeInterface parent_iface; 1589s # 1589s # gboolean (*handle_hello_fd) ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GUnixFDList *fd_list, 1589s # const gchar *arg_greeting); 1589s # 1589s # gboolean (*handle_no_annotation) ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GVariant *arg_greeting, 1589s # const gchar *arg_greeting_locale); 1589s # 1589s # gboolean (*handle_no_annotation_nested) ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GVariant *arg_files); 1589s # 1589s # }; 1589s # 1589s # GType fdpassing_get_type (void) G_GNUC_CONST; 1589s # 1589s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1589s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1589s # 1589s # 1589s # /* D-Bus method call completion functions: */ 1589s # void fdpassing_complete_hello_fd ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GUnixFDList *fd_list, 1589s # const gchar *response); 1589s # 1589s # void fdpassing_complete_no_annotation ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GVariant *response, 1589s # const gchar *response_locale); 1589s # 1589s # void fdpassing_complete_no_annotation_nested ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # 1589s # 1589s # /* D-Bus method calls: */ 1589s # void fdpassing_call_hello_fd ( 1589s # FDPassing *proxy, 1589s # const gchar *arg_greeting, 1589s # GUnixFDList *fd_list, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean fdpassing_call_hello_fd_finish ( 1589s # FDPassing *proxy, 1589s # gchar **out_response, 1589s # GUnixFDList **out_fd_list, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean fdpassing_call_hello_fd_sync ( 1589s # FDPassing *proxy, 1589s # const gchar *arg_greeting, 1589s # GUnixFDList *fd_list, 1589s # gchar **out_response, 1589s # GUnixFDList **out_fd_list, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void fdpassing_call_no_annotation ( 1589s # FDPassing *proxy, 1589s # GVariant *arg_greeting, 1589s # const gchar *arg_greeting_locale, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean fdpassing_call_no_annotation_finish ( 1589s # FDPassing *proxy, 1589s # GVariant **out_response, 1589s # gchar **out_response_locale, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean fdpassing_call_no_annotation_sync ( 1589s # FDPassing *proxy, 1589s # GVariant *arg_greeting, 1589s # const gchar *arg_greeting_locale, 1589s # GVariant **out_response, 1589s # gchar **out_response_locale, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void fdpassing_call_no_annotation_nested ( 1589s # FDPassing *proxy, 1589s # GVariant *arg_files, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean fdpassing_call_no_annotation_nested_finish ( 1589s # FDPassing *proxy, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean fdpassing_call_no_annotation_nested_sync ( 1589s # FDPassing *proxy, 1589s # GVariant *arg_files, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # 1589s # 1589s # /* ---- */ 1589s # 1589s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1589s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1589s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1589s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1589s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1589s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1589s # 1589s # typedef struct _FDPassingProxy FDPassingProxy; 1589s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1589s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1589s # 1589s # struct _FDPassingProxy 1589s # { 1589s # /*< private >*/ 1589s # GDBusProxy parent_instance; 1589s # FDPassingProxyPrivate *priv; 1589s # }; 1589s # 1589s # struct _FDPassingProxyClass 1589s # { 1589s # GDBusProxyClass parent_class; 1589s # }; 1589s # 1589s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1589s # 1589s # #if GLIB_CHECK_VERSION(2, 44, 0) 1589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1589s # #endif 1589s # 1589s # void fdpassing_proxy_new ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # FDPassing *fdpassing_proxy_new_finish ( 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # FDPassing *fdpassing_proxy_new_sync ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void fdpassing_proxy_new_for_bus ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # 1589s # /* ---- */ 1589s # 1589s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1589s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1589s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1589s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1589s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1589s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1589s # 1589s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1589s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1589s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1589s # 1589s # struct _FDPassingSkeleton 1589s # { 1589s # /*< private >*/ 1589s # GDBusInterfaceSkeleton parent_instance; 1589s # FDPassingSkeletonPrivate *priv; 1589s # }; 1589s # 1589s # struct _FDPassingSkeletonClass 1589s # { 1589s # GDBusInterfaceSkeletonClass parent_class; 1589s # }; 1589s # 1589s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1589s # 1589s # #if GLIB_CHECK_VERSION(2, 44, 0) 1589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1589s # #endif 1589s # 1589s # FDPassing *fdpassing_skeleton_new (void); 1589s # 1589s # 1589s # G_END_DECLS 1589s # 1589s # #endif /* __STDOUT__ */ 1589s # /tmp/tmpckycg9xd/tmp6zakrxey.xml: 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpckycg9xd/tmp6zakrxey.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1589s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1589s # Output: /* 1589s # * This file is generated by gdbus-codegen, do not modify it. 1589s # * 1589s # * The license of this code is the same as for the D-Bus interface description 1589s # * it was derived from. Note that it links to GLib, so must comply with the 1589s # * LGPL linking clauses. 1589s # */ 1589s # 1589s # #ifndef __STDOUT__ 1589s # #define __STDOUT__ 1589s # 1589s # #include 1589s # 1589s # G_BEGIN_DECLS 1589s # 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # /* Declarations for FDPassing */ 1589s # 1589s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1589s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1589s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1589s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1589s # 1589s # struct _FDPassing; 1589s # typedef struct _FDPassing FDPassing; 1589s # typedef struct _FDPassingIface FDPassingIface; 1589s # 1589s # struct _FDPassingIface 1589s # { 1589s # GTypeInterface parent_iface; 1589s # 1589s # gboolean (*handle_hello_fd) ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GUnixFDList *fd_list, 1589s # const gchar *arg_greeting); 1589s # 1589s # gboolean (*handle_no_annotation) ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GVariant *arg_greeting, 1589s # const gchar *arg_greeting_locale); 1589s # 1589s # gboolean (*handle_no_annotation_nested) ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GVariant *arg_files); 1589s # 1589s # }; 1589s # 1589s # GType fdpassing_get_type (void) G_GNUC_CONST; 1589s # 1589s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1589s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1589s # 1589s # 1589s # /* D-Bus method call completion functions: */ 1589s # void fdpassing_complete_hello_fd ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GUnixFDList *fd_list, 1589s # const gchar *response); 1589s # 1589s # void fdpassing_complete_no_annotation ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GVariant *response, 1589s # const gchar *response_locale); 1589s # 1589s # void fdpassing_complete_no_annotation_nested ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation); 1589s # 1589s # 1589s # 1589s # /* D-Bus method calls: */ 1589s # void fdpassing_call_hello_fd ( 1589s # FDPassing *proxy, 1589s # const gchar *arg_greeting, 1589s # GUnixFDList *fd_list, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean fdpassing_call_hello_fd_finish ( 1589s # FDPassing *proxy, 1589s # gchar **out_response, 1589s # GUnixFDList **out_fd_list, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean fdpassing_call_hello_fd_sync ( 1589s # FDPassing *proxy, 1589s # const gchar *arg_greeting, 1589s # GUnixFDList *fd_list, 1589s # gchar **out_response, 1589s # GUnixFDList **out_fd_list, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void fdpassing_call_no_annotation ( 1589s # FDPassing *proxy, 1589s # GVariant *arg_greeting, 1589s # const gchar *arg_greeting_locale, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean fdpassing_call_no_annotation_finish ( 1589s # FDPassing *proxy, 1589s # GVariant **out_response, 1589s # gchar **out_response_locale, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean fdpassing_call_no_annotation_sync ( 1589s # FDPassing *proxy, 1589s # GVariant *arg_greeting, 1589s # const gchar *arg_greeting_locale, 1589s # GVariant **out_response, 1589s # gchar **out_response_locale, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void fdpassing_call_no_annotation_nested ( 1589s # FDPassing *proxy, 1589s # GVariant *arg_files, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean fdpassing_call_no_annotation_nested_finish ( 1589s # FDPassing *proxy, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean fdpassing_call_no_annotation_nested_sync ( 1589s # FDPassing *proxy, 1589s # GVariant *arg_files, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # 1589s # 1589s # /* ---- */ 1589s # 1589s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1589s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1589s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1589s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1589s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1589s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1589s # 1589s # typedef struct _FDPassingProxy FDPassingProxy; 1589s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1589s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1589s # 1589s # struct _FDPassingProxy 1589s # { 1589s # /*< private >*/ 1589s # GDBusProxy parent_instance; 1589s # FDPassingProxyPrivate *priv; 1589s # }; 1589s # 1589s # struct _FDPassingProxyClass 1589s # { 1589s # GDBusProxyClass parent_class; 1589s # }; 1589s # 1589s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1589s # 1589s # #if GLIB_CHECK_VERSION(2, 44, 0) 1589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1589s # #endif 1589s # 1589s # void fdpassing_proxy_new ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # FDPassing *fdpassing_proxy_new_finish ( 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # FDPassing *fdpassing_proxy_new_sync ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void fdpassing_proxy_new_for_bus ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # 1589s # /* ---- */ 1589s # 1589s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1589s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1589s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1589s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1589s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1589s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1589s # 1589s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1589s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1589s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1589s # 1589s # struct _FDPassingSkeleton 1589s # { 1589s # /*< private >*/ 1589s # GDBusInterfaceSkeleton parent_instance; 1589s # FDPassingSkeletonPrivate *priv; 1589s # }; 1589s # 1589s # struct _FDPassingSkeletonClass 1589s # { 1589s # GDBusInterfaceSkeletonClass parent_class; 1589s # }; 1589s # 1589s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1589s # 1589s # #if GLIB_CHECK_VERSION(2, 44, 0) 1589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1589s # #endif 1589s # 1589s # FDPassing *fdpassing_skeleton_new (void); 1589s # 1589s # 1589s # G_END_DECLS 1589s # 1589s # #endif /* __STDOUT__ */ 1589s # /tmp/tmpckycg9xd/tmp16npglhy.xml: 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # 1589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpckycg9xd/tmp16npglhy.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1589s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1589s # Output: /* 1589s # * This file is generated by gdbus-codegen, do not modify it. 1589s # * 1589s # * The license of this code is the same as for the D-Bus interface description 1589s # * it was derived from. Note that it links to GLib, so must comply with the 1589s # * LGPL linking clauses. 1589s # */ 1589s # 1589s # #ifndef __STDOUT__ 1589s # #define __STDOUT__ 1589s # 1589s # #include 1589s # 1589s # G_BEGIN_DECLS 1589s # 1589s # 1589s # /* ------------------------------------------------------------------------ */ 1589s # /* Declarations for FDPassing */ 1589s # 1589s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1589s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1589s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1589s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1589s # 1589s # struct _FDPassing; 1589s # typedef struct _FDPassing FDPassing; 1589s # typedef struct _FDPassingIface FDPassingIface; 1589s # 1589s # struct _FDPassingIface 1589s # { 1589s # GTypeInterface parent_iface; 1589s # 1589s # gboolean (*handle_hello_fd) ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GUnixFDList *fd_list, 1589s # const gchar *arg_greeting); 1589s # 1589s # gboolean (*handle_no_annotation) ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GUnixFDList *fd_list, 1589s # GVariant *arg_greeting, 1589s # const gchar *arg_greeting_locale); 1589s # 1589s # gboolean (*handle_no_annotation_nested) ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GUnixFDList *fd_list, 1589s # GVariant *arg_files); 1589s # 1589s # }; 1589s # 1589s # GType fdpassing_get_type (void) G_GNUC_CONST; 1589s # 1589s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1589s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1589s # 1589s # 1589s # /* D-Bus method call completion functions: */ 1589s # void fdpassing_complete_hello_fd ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GUnixFDList *fd_list, 1589s # const gchar *response); 1589s # 1589s # void fdpassing_complete_no_annotation ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GUnixFDList *fd_list, 1589s # GVariant *response, 1589s # const gchar *response_locale); 1589s # 1589s # void fdpassing_complete_no_annotation_nested ( 1589s # FDPassing *object, 1589s # GDBusMethodInvocation *invocation, 1589s # GUnixFDList *fd_list); 1589s # 1589s # 1589s # 1589s # /* D-Bus method calls: */ 1589s # void fdpassing_call_hello_fd ( 1589s # FDPassing *proxy, 1589s # const gchar *arg_greeting, 1589s # GDBusCallFlags call_flags, 1589s # gint timeout_msec, 1589s # GUnixFDList *fd_list, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean fdpassing_call_hello_fd_finish ( 1589s # FDPassing *proxy, 1589s # gchar **out_response, 1589s # GUnixFDList **out_fd_list, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean fdpassing_call_hello_fd_sync ( 1589s # FDPassing *proxy, 1589s # const gchar *arg_greeting, 1589s # GDBusCallFlags call_flags, 1589s # gint timeout_msec, 1589s # GUnixFDList *fd_list, 1589s # gchar **out_response, 1589s # GUnixFDList **out_fd_list, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void fdpassing_call_no_annotation ( 1589s # FDPassing *proxy, 1589s # GVariant *arg_greeting, 1589s # const gchar *arg_greeting_locale, 1589s # GDBusCallFlags call_flags, 1589s # gint timeout_msec, 1589s # GUnixFDList *fd_list, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean fdpassing_call_no_annotation_finish ( 1589s # FDPassing *proxy, 1589s # GVariant **out_response, 1589s # gchar **out_response_locale, 1589s # GUnixFDList **out_fd_list, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean fdpassing_call_no_annotation_sync ( 1589s # FDPassing *proxy, 1589s # GVariant *arg_greeting, 1589s # const gchar *arg_greeting_locale, 1589s # GDBusCallFlags call_flags, 1589s # gint timeout_msec, 1589s # GUnixFDList *fd_list, 1589s # GVariant **out_response, 1589s # gchar **out_response_locale, 1589s # GUnixFDList **out_fd_list, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void fdpassing_call_no_annotation_nested ( 1589s # FDPassing *proxy, 1589s # GVariant *arg_files, 1589s # GDBusCallFlags call_flags, 1589s # gint timeout_msec, 1589s # GUnixFDList *fd_list, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # 1589s # gboolean fdpassing_call_no_annotation_nested_finish ( 1589s # FDPassing *proxy, 1589s # GUnixFDList **out_fd_list, 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # 1589s # gboolean fdpassing_call_no_annotation_nested_sync ( 1589s # FDPassing *proxy, 1589s # GVariant *arg_files, 1589s # GDBusCallFlags call_flags, 1589s # gint timeout_msec, 1589s # GUnixFDList *fd_list, 1589s # GUnixFDList **out_fd_list, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # 1589s # 1589s # /* ---- */ 1589s # 1589s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1589s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1589s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1589s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1589s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1589s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1589s # 1589s # typedef struct _FDPassingProxy FDPassingProxy; 1589s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1589s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1589s # 1589s # struct _FDPassingProxy 1589s # { 1589s # /*< private >*/ 1589s # GDBusProxy parent_instance; 1589s # FDPassingProxyPrivate *priv; 1589s # }; 1589s # 1589s # struct _FDPassingProxyClass 1589s # { 1589s # GDBusProxyClass parent_class; 1589s # }; 1589s # 1589s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1589s # 1589s # #if GLIB_CHECK_VERSION(2, 44, 0) 1589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1589s # #endif 1589s # 1589s # void fdpassing_proxy_new ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # FDPassing *fdpassing_proxy_new_finish ( 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # FDPassing *fdpassing_proxy_new_sync ( 1589s # GDBusConnection *connection, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # void fdpassing_proxy_new_for_bus ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GAsyncReadyCallback callback, 1589s # gpointer user_data); 1589s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1589s # GAsyncResult *res, 1589s # GError **error); 1589s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1589s # GBusType bus_type, 1589s # GDBusProxyFlags flags, 1589s # const gchar *name, 1589s # const gchar *object_path, 1589s # GCancellable *cancellable, 1589s # GError **error); 1589s # 1589s # 1589s # /* ---- */ 1589s # 1589s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1589s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1589s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1589s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1589s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1589s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1589s # 1589s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1589s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1589s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1589s # 1589s # struct _FDPassingSkeleton 1589s # { 1589s # /*< private >*/ 1589s # GDBusInterfaceSkeleton parent_instance; 1589s # FDPassingSkeletonPrivate *priv; 1589s # }; 1589s # 1589s # struct _FDPassingSkeletonClass 1589s # { 1589s # GDBusInterfaceSkeletonClass parent_class; 1589s # }; 1589s # 1589s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1589s # 1589s # #if GLIB_CHECK_VERSION(2, 44, 0) 1589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1589s # #endif 1589s # 1589s # FDPassing *fdpassing_skeleton_new (void); 1589s # 1589s # 1589s # G_END_DECLS 1589s # 1589s # #endif /* __STDOUT__ */ 1589s 1..39 1589s ok - glib/codegen.py.test 1589s # Running test: glib/logging.test 1589s TAP version 14 1589s # random seed: R02Sebfd2a9b1ae9b418e9c9c41e9262858d 1589s 1..17 1589s # Start of logging tests 1590s ok 1 /logging/default-handler 1590s # slow test /logging/default-handler executed in 1.52 secs 1590s ok 2 /logging/warnings 1590s ok 3 /logging/fatal-log-mask 1590s # bu-DEBUG: message 1590s # ba-DEBUG: message 1590s # ba-INFO: message 1590s ok 4 /logging/set-handler 1590s ok 5 /logging/print-handler 1590s ok 6 /logging/printerr-handler 1590s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1590s # The Log Message Handler 1590s # 1590s # The Good Fail Message Handler 1590s # 1590s ok 7 /logging/653052 1590s ok 8 /logging/gibberish 1590s # Start of default-handler tests 1590s # Start of subprocess tests 1590s # End of subprocess tests 1590s # End of default-handler tests 1590s # End of logging tests 1590s # Start of structured-logging tests 1590s ok 9 /structured-logging/no-state 1590s ok 10 /structured-logging/some-state 1590s ok 11 /structured-logging/robustness 1590s ok 12 /structured-logging/roundtrip1 1590s ok 13 /structured-logging/roundtrip2 1590s ok 14 /structured-logging/roundtrip3 1590s ok 15 /structured-logging/variant1 1590s ok 16 /structured-logging/variant2 1590s ok 17 /structured-logging/set-writer-func-twice 1590s # End of structured-logging tests 1590s ok - glib/logging.test 1590s # Running test: glib/timer.test 1590s TAP version 14 1590s # random seed: R02S5c126aa7a7981ce56f6ce02b4480933f 1590s 1..10 1590s # Start of timer tests 1590s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1590s ok 2 /timer/stop 1590s ok 3 /timer/continue 1590s ok 4 /timer/reset 1590s ok 5 /timer/is_active 1590s # End of timer tests 1590s # Start of timeval tests 1590s ok 6 /timeval/add 1590s ok 7 /timeval/from-iso8601 1590s ok 8 /timeval/to-iso8601 1590s # Start of to-iso8601 tests 1590s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 1590s # End of to-iso8601 tests 1590s # End of timeval tests 1590s # Start of usleep tests 1590s ok 10 /usleep/with-zero-wait 1590s # End of usleep tests 1590s ok - glib/timer.test 1590s # Running test: glib/cxx-2b.test 1590s TAP version 14 1590s # random seed: R02Sc4e5ee62e5981c62f53db6830897c079 1590s 1..2 1590s # Start of gtask tests 1590s # 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. 1590s ok 1 /gtask/name 1590s # Start of name tests 1590s # 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. 1590s ok 2 /gtask/name/macro-wrapper 1590s # End of name tests 1590s # End of gtask tests 1590s ok - glib/cxx-2b.test 1590s # Running test: glib/giomodule.test 1590s TAP version 14 1590s # random seed: R02Sa609cb25584525e47cf33fe993a25db2 1590s 1..3 1590s # Start of giomodule tests 1590s ok 1 /giomodule/extension-point 1590s ok 2 /giomodule/module-scan-all 1590s ok 3 /giomodule/module-scan-all-with-scope 1590s # End of giomodule tests 1590s ok - glib/giomodule.test 1590s # Running test: glib/portal-support-env-var.test 1590s TAP version 14 1590s # random seed: R02Sf8697d33780545511770b63d1647a286 1590s 1..1 1590s # Start of portal-support tests 1590s ok 1 /portal-support/env-var 1590s # End of portal-support tests 1590s ok - glib/portal-support-env-var.test 1590s # Running test: glib/cxx-17.test 1590s TAP version 14 1590s # random seed: R02S12f26cffeabe12c9c0b4e293bf3346ef 1590s 1..2 1590s # Start of gtask tests 1590s # 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. 1590s ok 1 /gtask/name 1590s # Start of name tests 1590s # 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. 1590s ok 2 /gtask/name/macro-wrapper 1590s # End of name tests 1590s # End of gtask tests 1590s ok - glib/cxx-17.test 1590s # Running test: glib/memchunk.test 1590s TAP version 14 1590s # random seed: R02S75acda8546b5ed12cd243e441d49f8a4 1590s 1..1 1590s # Start of memchunk tests 1590s ok 1 /memchunk/basic 1590s # End of memchunk tests 1590s ok - glib/memchunk.test 1590s # Running test: glib/reference.test 1590s TAP version 14 1590s # random seed: R02S95f47ca6d8d1fce4cb79f409ab86d241 1590s 1..29 1590s # Start of type tests 1590s ok 1 /type/fundamentals 1590s ok 2 /type/qdata 1590s ok 3 /type/query 1590s ok 4 /type/class-private 1590s # End of type tests 1590s # Start of object tests 1590s ok 5 /object/clear 1590s ok 6 /object/clear-function 1590s ok 7 /object/set 1590s ok 8 /object/set-function 1590s ok 9 /object/value 1590s ok 10 /object/initially-unowned 1590s ok 11 /object/weak-pointer 1590s ok 12 /object/weak-ref 1590s ok 13 /object/toggle-ref 1590s ok 14 /object/qdata 1590s ok 15 /object/qdata2 1590s # Start of set tests 1590s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1590s ok 16 /object/set/derived-type 1590s # End of set tests 1590s # Start of weak-pointer tests 1590s ok 17 /object/weak-pointer/clear 1590s ok 18 /object/weak-pointer/clear-function 1590s ok 19 /object/weak-pointer/set 1590s ok 20 /object/weak-pointer/set-function 1590s # End of weak-pointer tests 1590s # Start of weak-ref tests 1590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1590s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1590s ok 21 /object/weak-ref/on-dispose 1590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1590s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1590s ok 22 /object/weak-ref/on-run-dispose 1590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1590s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1590s ok 23 /object/weak-ref/on-toggle-notify 1590s ok 24 /object/weak-ref/in-toggle-notify 1590s ok 25 /object/weak-ref/many 1590s # Start of concurrent tests 1590s ok 26 /object/weak-ref/concurrent/0 1590s ok 27 /object/weak-ref/concurrent/1 1591s # End of concurrent tests 1591s # End of weak-ref tests 1591s # Start of toggle-ref tests 1591s ok 28 /object/toggle-ref/ref-on-dispose 1591s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1591s # End of toggle-ref tests 1591s # End of object tests 1591s ok - glib/reference.test 1591s # Running test: glib/application-command-line.test 1591s TAP version 14 1591s # random seed: R02S33b718ff1fe2ac76bd9c7e5753661897 1591s 1..1 1591s # Start of application-command-line tests 1591s ok 1 /application-command-line/basic-properties 1591s # End of application-command-line tests 1591s ok - glib/application-command-line.test 1591s # Running test: glib/strfuncs.test 1591s TAP version 14 1591s # random seed: R02Sef17496ea61828ae83d08eb23cfbd549 1591s 1..50 1591s # Start of strfuncs tests 1591s ok 1 /strfuncs/ascii-strcasecmp 1591s ok 2 /strfuncs/ascii_strdown 1591s ok 3 /strfuncs/ascii_strdup 1591s ok 4 /strfuncs/ascii_strtod 1591s ok 5 /strfuncs/bounds-check 1591s ok 6 /strfuncs/has-prefix 1591s ok 7 /strfuncs/has-prefix-macro 1591s ok 8 /strfuncs/has-suffix 1591s ok 9 /strfuncs/has-suffix-macro 1591s ok 10 /strfuncs/memdup 1591s ok 11 /strfuncs/memdup2 1591s ok 12 /strfuncs/set_str 1591s ok 13 /strfuncs/stpcpy 1591s ok 14 /strfuncs/str_match_string 1591s ok 15 /strfuncs/str_tokenize_and_fold 1591s ok 16 /strfuncs/strcanon 1591s ok 17 /strfuncs/strchomp 1591s ok 18 /strfuncs/strchug 1591s ok 19 /strfuncs/strcompress-strescape 1591s ok 20 /strfuncs/strconcat 1591s ok 21 /strfuncs/strdelimit 1591s ok 22 /strfuncs/strdup 1591s ok 23 /strfuncs/strdup-printf 1591s ok 24 /strfuncs/strdupv 1591s ok 25 /strfuncs/strerror 1591s ok 26 /strfuncs/strip-context 1591s ok 27 /strfuncs/strjoin 1591s ok 28 /strfuncs/strjoinv 1591s ok 29 /strfuncs/strlcat 1591s ok 30 /strfuncs/strlcpy 1591s ok 31 /strfuncs/strncasecmp 1591s ok 32 /strfuncs/strndup 1591s ok 33 /strfuncs/strnfill 1591s ok 34 /strfuncs/strreverse 1591s ok 35 /strfuncs/strsignal 1591s ok 36 /strfuncs/strsplit 1591s ok 37 /strfuncs/strsplit-set 1591s ok 38 /strfuncs/strstr 1591s ok 39 /strfuncs/strtod 1591s ok 40 /strfuncs/strtoull-strtoll 1591s ok 41 /strfuncs/strup 1591s ok 42 /strfuncs/strv-contains 1591s ok 43 /strfuncs/strv-equal 1591s ok 44 /strfuncs/strv-length 1591s ok 45 /strfuncs/test-is-to-digit 1591s ok 46 /strfuncs/transliteration 1591s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1591s ok 47 /strfuncs/str-equal 1591s # Start of ascii-string-to-num tests 1591s ok 48 /strfuncs/ascii-string-to-num/pathological 1591s ok 49 /strfuncs/ascii-string-to-num/usual 1591s # End of ascii-string-to-num tests 1591s # Start of strdup tests 1591s ok 50 /strfuncs/strdup/inline 1591s # End of strdup tests 1591s # End of strfuncs tests 1591s ok - glib/strfuncs.test 1591s # Running test: glib/autoptr-girepository.test 1591s TAP version 14 1591s # random seed: R02S889649a6f4a437513bf2478ef856b23b 1591s 1..24 1591s # Start of autoptr tests 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/repository/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/repository/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/repository/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/repository/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/repository/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/repository/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/repository/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/repository/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 1 /autoptr/repository 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/typelib/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/typelib/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/typelib/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/typelib/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/typelib/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/typelib/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/typelib/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/typelib/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 2 /autoptr/typelib 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/base-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/base-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/base-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/base-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/base-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/base-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/base-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/base-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 3 /autoptr/base-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/arg-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/arg-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/arg-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/arg-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/arg-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/arg-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/arg-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/arg-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 4 /autoptr/arg-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callable-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callable-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/callable-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callable-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/callable-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callable-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callable-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callable-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 5 /autoptr/callable-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callback-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callback-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/callback-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callback-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/callback-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callback-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callback-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/callback-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 6 /autoptr/callback-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/constant-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/constant-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/constant-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/constant-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/constant-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/constant-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/constant-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/constant-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 7 /autoptr/constant-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/enum-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/enum-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/enum-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/enum-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/enum-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/enum-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/enum-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/enum-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 8 /autoptr/enum-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/field-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/field-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/field-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/field-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/field-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/field-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/field-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/field-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 9 /autoptr/field-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/flags-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/flags-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/flags-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/flags-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/flags-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/flags-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/flags-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/flags-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 10 /autoptr/flags-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/function-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/function-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/function-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/function-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/function-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/function-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/function-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/function-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 11 /autoptr/function-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/interface-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/interface-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/interface-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/interface-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/interface-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/interface-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/interface-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/interface-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 12 /autoptr/interface-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/object-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/object-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/object-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/object-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/object-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/object-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/object-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/object-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 13 /autoptr/object-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/property-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/property-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/property-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/property-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/property-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/property-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/property-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/property-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 14 /autoptr/property-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/registered-type-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/registered-type-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/registered-type-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/registered-type-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/registered-type-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/registered-type-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/registered-type-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/registered-type-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 15 /autoptr/registered-type-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/signal-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/signal-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/signal-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/signal-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/signal-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/signal-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/signal-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/signal-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 16 /autoptr/signal-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/struct-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/struct-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/struct-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/struct-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/struct-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/struct-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/struct-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/struct-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 17 /autoptr/struct-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/type-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/type-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/type-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/type-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/type-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/type-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/type-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/type-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 18 /autoptr/type-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/union-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/union-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/union-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/union-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/union-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/union-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/union-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/union-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 19 /autoptr/union-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/value-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/value-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/value-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/value-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/value-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/value-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/value-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/value-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 20 /autoptr/value-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/vfunc-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/vfunc-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/vfunc-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/vfunc-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/autoptr/vfunc-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/vfunc-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/vfunc-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/autoptr/vfunc-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 21 /autoptr/vfunc-info 1591s # End of autoptr tests 1591s # Start of auto tests 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/arg-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/arg-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/auto/arg-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/arg-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/auto/arg-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/arg-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/arg-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/auto/arg-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 22 /auto/arg-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/type-info/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/type-info/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/auto/type-info/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/type-info/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/auto/type-info/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/type-info/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/type-info/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/auto/type-info/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 23 /auto/type-info 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/function-invoker/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/function-invoker/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_6U8QZ2/auto/function-invoker/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/function-invoker/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_6U8QZ2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_6U8QZ2/auto/function-invoker/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/function-invoker/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_6U8QZ2/auto/function-invoker/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_6U8QZ2/auto/function-invoker/.dirs/runtime 1591s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1591s ok 24 /auto/function-invoker 1591s # End of auto tests 1591s ok - glib/autoptr-girepository.test 1591s # Running test: glib/simple-proxy.test 1591s TAP version 14 1591s # random seed: R02S894bd5d17846b63a7e0543431316ed77 1591s 1..3 1591s # Start of static-proxy tests 1591s ok 1 /static-proxy/uri 1591s ok 2 /static-proxy/socks 1591s ok 3 /static-proxy/ignore 1591s # End of static-proxy tests 1591s ok - glib/simple-proxy.test 1591s # Running test: glib/dir.test 1591s TAP version 14 1591s # random seed: R02Sfb51df9d09feca588df562daddfa1932 1591s 1..3 1591s # Start of dir tests 1591s ok 1 /dir/read 1591s ok 2 /dir/nonexisting 1591s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1591s ok 3 /dir/refcounting 1591s # End of dir tests 1591s ok - glib/dir.test 1591s # Running test: glib/filter-streams.test 1591s TAP version 14 1591s # random seed: R02Scd95a15f0debe7f7ad6a70c2ed9c1fba 1591s 1..4 1591s # Start of filter-stream tests 1591s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1591s ok 1 /filter-stream/input 1591s ok 2 /filter-stream/output 1591s ok 3 /filter-stream/async-input 1591s ok 4 /filter-stream/async-output 1591s # End of filter-stream tests 1591s ok - glib/filter-streams.test 1591s # Running test: glib/messages-low-memory.py.test 1591s TAP version 13 1591s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1591s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1591s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1591s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1591s # Return code: -6 1591s # Output: 1591s # Error: GLib-Message: 15:25:25.064: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1591s # GLib-Message: 15:25:25.064: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1591s # ../../../glib/gprintf.c:350: failed to allocate memory 1591s 1..1 1591s ok - glib/messages-low-memory.py.test 1591s # Running test: glib/642026-ec.test 1591s TAP version 14 1591s # random seed: R02S72b9c8443e00985529907a330d8a65ab 1591s 1..1 1591s # Start of glib tests 1591s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1591s ok 1 /glib/642026 1591s # End of glib tests 1591s ok - glib/642026-ec.test 1591s # Running test: glib/simple-async-result.test 1591s TAP version 14 1591s # random seed: R02Sdd7fd8488344009288e6eb51fd0352bb 1591s 1..2 1591s # Start of gio tests 1591s # Start of simple-async-result tests 1591s ok 1 /gio/simple-async-result/test 1591s # GLib-GIO-DEBUG: GTask 0x107b9218 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1591s ok 2 /gio/simple-async-result/valid 1591s # End of simple-async-result tests 1591s # End of gio tests 1591s ok - glib/simple-async-result.test 1591s # Running test: glib/g-icon.test 1591s TAP version 14 1591s # random seed: R02Sf5526ad2b48ea5c94c49fb31188283f0 1591s 1..6 1591s # Start of icons tests 1591s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1591s ok 1 /icons/to-string 1591s ok 2 /icons/serialize 1591s ok 3 /icons/themed 1591s ok 4 /icons/emblemed 1591s ok 5 /icons/file 1591s ok 6 /icons/bytes 1591s # End of icons tests 1591s ok - glib/g-icon.test 1591s # Running test: glib/unix.test 1591s TAP version 14 1591s # random seed: R02S3fbaac2219131d0de94272ff0f7e7d94 1591s 1..20 1591s # Start of glib-unix tests 1591s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1591s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1591s ok 1 /glib-unix/closefrom 1591s ok 2 /glib-unix/pipe 1591s # /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 1591s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1591s ok 3 /glib-unix/pipe-stdio-overwrite 1591s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1591s ok 4 /glib-unix/pipe-struct 1591s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1591s ok 5 /glib-unix/pipe-struct-auto 1591s ok 6 /glib-unix/error 1591s ok 7 /glib-unix/nonblocking 1591s ok 8 /glib-unix/sighup 1591s # slow test /glib-unix/sighup executed in 0.50 secs 1592s ok 9 /glib-unix/sigterm 1592s # slow test /glib-unix/sigterm executed in 0.50 secs 1592s # Executing: glib/unix.test 1592s ok 10 /glib-unix/sighup_again 1592s # slow test /glib-unix/sighup_again executed in 0.50 secs 1592s ok 11 /glib-unix/sighup_add_remove 1592s ok 12 /glib-unix/sighup_nested 1594s ok 13 /glib-unix/callback_after_signal 1594s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1594s ok 14 /glib-unix/child-wait 1594s # Start of closefrom tests 1594s # Start of subprocess tests 1594s # End of subprocess tests 1594s # End of closefrom tests 1594s # Start of pipe tests 1594s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1594s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1594s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1594s ok 15 /glib-unix/pipe/fd-cloexec 1594s # End of pipe tests 1594s # Start of sighup tests 1595s ok 16 /glib-unix/sighup/alternate-stack 1595s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1595s # End of sighup tests 1595s # Start of sigterm tests 1596s ok 17 /glib-unix/sigterm/alternate-stack 1596s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1596s # End of sigterm tests 1596s # Start of sighup_again tests 1597s # Executing: glib/unix.test 1597s ok 18 /glib-unix/sighup_again/alternate-stack 1597s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1597s # End of sighup_again tests 1597s # Start of get-passwd-entry tests 1597s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1597s ok 19 /glib-unix/get-passwd-entry/root 1597s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1597s ok 20 /glib-unix/get-passwd-entry/nonexistent 1597s # End of get-passwd-entry tests 1597s # End of glib-unix tests 1597s ok - glib/unix.test 1597s # Running test: glib/gdbus-sasl.test 1597s TAP version 14 1597s # random seed: R02S3da9e35d0c6bfd5d444424414f9b73f6 1597s 1..1 1597s # Start of gdbus tests 1597s # Start of sasl tests 1597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_SBTLZ2/gdbus/sasl/server/.dirs/home 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_SBTLZ2/gdbus/sasl/server/.dirs/cache 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_SBTLZ2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_SBTLZ2/gdbus/sasl/server/.dirs/system-config2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_SBTLZ2/gdbus/sasl/server/.dirs/config 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_SBTLZ2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_SBTLZ2/gdbus/sasl/server/.dirs/system-data2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_SBTLZ2/gdbus/sasl/server/.dirs/data 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_SBTLZ2/gdbus/sasl/server/.dirs/state 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_SBTLZ2/gdbus/sasl/server/.dirs/runtime 1597s # New handshake: EXTERNAL with incorrect initial response 1597s # C:“AUTH EXTERNAL 30” 1597s # Expect: /^REJECTED.*$/ 1597s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1597s # New handshake: EXTERNAL without initial response, failing to authenticate 1597s # C:“AUTH EXTERNAL” 1597s # Expect: /^DATA$/ 1597s # S:“DATA” 1597s # C:“DATA 30” 1597s # Expect: /^REJECTED.*$/ 1597s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1597s # New handshake: EXTERNAL with initial response 1597s # C:“AUTH EXTERNAL 31303030” 1597s # Expect: /^OK [0-9a-f]+$/ 1597s # S:“OK 19e7dc1b4e0cfcc8d7bdc2706778016b” 1597s # New handshake: EXTERNAL without initial response 1597s # C:“AUTH EXTERNAL” 1597s # Expect: /^DATA$/ 1597s # S:“DATA” 1597s # C:“DATA 31303030” 1597s # Expect: /^OK [0-9a-f]+$/ 1597s # S:“OK 19e7dc1b4e0cfcc8d7bdc2706778016b” 1597s # New handshake: EXTERNAL with empty authorization identity 1597s # C:“AUTH EXTERNAL” 1597s # Expect: /^DATA$/ 1597s # S:“DATA” 1597s # C:“DATA” 1597s # Expect: /^OK [0-9a-f]+$/ 1597s # S:“OK 19e7dc1b4e0cfcc8d7bdc2706778016b” 1597s # New handshake: EXTERNAL with empty authorization identity and whitespace 1597s # C:“AUTH EXTERNAL” 1597s # Expect: /^DATA$/ 1597s # S:“DATA” 1597s # C:“DATA ” 1597s # Expect: /^OK [0-9a-f]+$/ 1597s # S:“OK 19e7dc1b4e0cfcc8d7bdc2706778016b” 1597s ok 1 /gdbus/sasl/server 1597s # End of sasl tests 1597s # End of gdbus tests 1597s ok - glib/gdbus-sasl.test 1597s # Running test: glib/enums.test 1597s TAP version 14 1597s # random seed: R02S6ca65d5f6e06236369abde9d67af09b8 1597s 1..4 1597s # Start of enum tests 1597s ok 1 /enum/basic 1597s ok 2 /enum/define-type 1597s # End of enum tests 1597s # Start of flags tests 1597s ok 3 /flags/basic 1597s ok 4 /flags/define-type 1597s # End of flags tests 1597s ok - glib/enums.test 1597s # Running test: glib/type.test 1597s TAP version 14 1597s # random seed: R02Sd0ab1577ffe53de8058b7a78c448e9bc 1597s 1..6 1597s # Start of type tests 1597s ok 1 /type/registration-serial 1597s ok 2 /type/interface-prerequisite 1597s ok 3 /type/interface-check 1597s ok 4 /type/next-base 1597s ok 5 /type/is-a 1597s # Invalid types can?t be queried. 1597s # Unclassed types can?t be queried. 1597s ok 6 /type/query 1597s # End of type tests 1597s ok - glib/type.test 1597s # Running test: glib/gio-tool.py.test 1597s TAP version 13 1597s ok 1 __main__.TestGioTool.test_help 1597s # tmpdir: /tmp/tmp4n9kj76m 1597s # gio: /usr/bin/gio 1597s # Running: ['/usr/bin/gio', '--help'] 1597s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1597s # Output: Usage: 1597s # gio COMMAND [ARGS…] 1597s # 1597s # Commands: 1597s # help Print help 1597s # version Print version 1597s # cat Concatenate files to standard output 1597s # copy Copy one or more files 1597s # info Show information about locations 1597s # launch Launch an application from a desktop file 1597s # list List the contents of locations 1597s # mime Get or set the handler for a mimetype 1597s # mkdir Create directories 1597s # monitor Monitor files and directories for changes 1597s # mount Mount or unmount the locations 1597s # move Move one or more files 1597s # open Open files with the default application 1597s # rename Rename a file 1597s # remove Delete one or more files 1597s # save Read from standard input and save 1597s # set Set a file attribute 1597s # trash Move files or directories to the trash 1597s # tree Lists the contents of locations in a tree 1597s # 1597s # Use “gio help COMMAND” to get detailed help. 1597s # Running: ['/usr/bin/gio', 'help'] 1597s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1597s # Output: Usage: 1597s # gio COMMAND [ARGS…] 1597s # 1597s # Commands: 1597s # help Print help 1597s # version Print version 1597s # cat Concatenate files to standard output 1597s # copy Copy one or more files 1597s # info Show information about locations 1597s # launch Launch an application from a desktop file 1597s # list List the contents of locations 1597s # mime Get or set the handler for a mimetype 1597s # mkdir Create directories 1597s # monitor Monitor files and directories for changes 1597s # mount Mount or unmount the locations 1597s # move Move one or more files 1597s # open Open files with the default application 1597s # rename Rename a file 1597s # remove Delete one or more files 1597s # save Read from standard input and save 1597s # set Set a file attribute 1597s # trash Move files or directories to the trash 1597s # tree Lists the contents of locations in a tree 1597s # 1597s # Use “gio help COMMAND” to get detailed help. 1597s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1597s # tmpdir: /tmp/tmplqxcmuv0 1597s # gio: /usr/bin/gio 1597s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmplqxcmuv0/tmpa1ejmo3t'] 1597s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1597s # Output: uri: file:///tmp/tmplqxcmuv0/tmpa1ejmo3t 1597s # local path: /tmp/tmplqxcmuv0/tmpa1ejmo3t 1597s # unix mount: /dev/vda2[/lxd/containers/autopkgtest-lxd-gaafls/rootfs] / btrfs rw,relatime,idmapped,discard=async,space_cache=v2,user_subvol_rm_allowed,subvolid=20542,subvol=/lxd/containers/autopkgtest-lxd-gaafls 1597s # attributes: 1597s # standard::content-type: application/x-zerosize 1597s ok 3 __main__.TestGioTool.test_no_args 1597s # tmpdir: /tmp/tmpx3619x1a 1597s # gio: /usr/bin/gio 1597s # Running: ['/usr/bin/gio'] 1597s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1597s 1..3 1597s ok - glib/gio-tool.py.test 1597s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1597s TAP version 14 1597s # random seed: R02S3d7b5bf193b691734828e21c53981265 1597s 1..8 1597s # Start of gdbus tests 1597s # Start of codegen tests 1597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/annotations/.dirs/home 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/annotations/.dirs/cache 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/annotations/.dirs/system-config2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/annotations/.dirs/config 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/annotations/.dirs/system-data2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/annotations/.dirs/data 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/annotations/.dirs/state 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/annotations/.dirs/runtime 1597s ok 1 /gdbus/codegen/annotations 1597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/interface_stability/.dirs/home 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/interface_stability/.dirs/cache 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/interface_stability/.dirs/system-config2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/interface_stability/.dirs/config 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/interface_stability/.dirs/system-data2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/interface_stability/.dirs/data 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/interface_stability/.dirs/state 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/interface_stability/.dirs/runtime 1597s ok 2 /gdbus/codegen/interface_stability 1597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/object-manager/.dirs/home 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/object-manager/.dirs/cache 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/object-manager/.dirs/system-config2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/object-manager/.dirs/config 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/object-manager/.dirs/system-data2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/object-manager/.dirs/data 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/object-manager/.dirs/state 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/object-manager/.dirs/runtime 1597s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1597s ok 3 /gdbus/codegen/object-manager 1597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/property-naming/.dirs/home 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/property-naming/.dirs/cache 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/property-naming/.dirs/system-config2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/property-naming/.dirs/config 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/property-naming/.dirs/system-data2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/property-naming/.dirs/data 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/property-naming/.dirs/state 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/property-naming/.dirs/runtime 1597s ok 4 /gdbus/codegen/property-naming 1597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/autocleanups/.dirs/home 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/autocleanups/.dirs/cache 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/autocleanups/.dirs/system-config2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/autocleanups/.dirs/config 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/autocleanups/.dirs/system-data2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/autocleanups/.dirs/data 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/autocleanups/.dirs/state 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/autocleanups/.dirs/runtime 1597s ok 5 /gdbus/codegen/autocleanups 1597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/deprecations/.dirs/home 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/deprecations/.dirs/cache 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/deprecations/.dirs/system-config2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/deprecations/.dirs/config 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/deprecations/.dirs/system-data2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/deprecations/.dirs/data 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/deprecations/.dirs/state 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/deprecations/.dirs/runtime 1597s ok 6 /gdbus/codegen/deprecations 1597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/standalone-interface-info/.dirs/home 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/standalone-interface-info/.dirs/cache 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/standalone-interface-info/.dirs/config 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/standalone-interface-info/.dirs/data 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/standalone-interface-info/.dirs/state 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1597s ok 7 /gdbus/codegen/standalone-interface-info 1597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/unix-fd-list/.dirs/home 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/unix-fd-list/.dirs/cache 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/unix-fd-list/.dirs/config 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/unix-fd-list/.dirs/data 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/unix-fd-list/.dirs/state 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LLOOZ2/gdbus/codegen/unix-fd-list/.dirs/runtime 1597s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1597s ok 8 /gdbus/codegen/unix-fd-list 1597s # End of codegen tests 1597s # End of gdbus tests 1597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1597s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1597s ok - glib/gdbus-test-codegen-min-required-2-64.test 1597s # Running test: glib/appmonitor.test 1597s TAP version 14 1597s # random seed: R02S75c79a458b81630aca87af59c4abd53d 1597s 1..1 1597s # Start of monitor tests 1597s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_FHWPZ2/monitor/app/.dirs/home 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_FHWPZ2/monitor/app/.dirs/cache 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_FHWPZ2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_FHWPZ2/monitor/app/.dirs/system-config2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_FHWPZ2/monitor/app/.dirs/config 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_FHWPZ2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_FHWPZ2/monitor/app/.dirs/system-data2 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_FHWPZ2/monitor/app/.dirs/data 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_FHWPZ2/monitor/app/.dirs/state 1597s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_FHWPZ2/monitor/app/.dirs/runtime 1597s # Using data directory: /tmp/test_appmonitor_FHWPZ2/monitor/app/.dirs/data 1597s ok 1 /monitor/app 1597s # End of monitor tests 1597s ok - glib/appmonitor.test 1597s # Running test: glib/signals-refcount2.test 1597s TAP version 14 1597s # random seed: R02Sec215db36f37f71f73d442c84a27df22 1597s 1..1 1597s # Start of gobject tests 1597s # Start of refcount tests 1597s # init 0x1d9ca58 1597s # 1597s # init 0x1d9cbb0 1597s # 1602s # Executing: glib/signals-refcount2.test 1602s # dispose 0x1d9ca58! 1602s # 1602s # dispose 0x1d9cbb0! 1602s # 1602s ok 1 /gobject/refcount/signals 1602s # slow test /gobject/refcount/signals executed in 5.00 secs 1602s # End of refcount tests 1602s # End of gobject tests 1602s ok - glib/signals-refcount2.test 1602s # Running test: glib/properties-introspection.test 1602s TAP version 14 1602s # random seed: R02Sec428072caed081a5bfee1c18467eec9 1602s 1..2 1602s # Start of properties tests 1602s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1602s ok 1 /properties/introspection 1602s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1602s ok 2 /properties/collision 1602s # End of properties tests 1602s ok - glib/properties-introspection.test 1602s # Running test: glib/dynamictype.test 1602s TAP version 14 1602s # random seed: R02S665b9d37fed263dd56a8173ed2c4b170 1602s 1..2 1602s # Start of gobject tests 1602s ok 1 /gobject/dynamic-type 1602s # Start of dynamic-type tests 1602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1602s ok 2 /gobject/dynamic-type/query 1602s # End of dynamic-type tests 1603s # End of gobject tests 1603s ok - glib/dynamictype.test 1603s # Running test: glib/properties-refcount4.test 1603s TAP version 14 1603s # random seed: R02Sd1778b0a1477624bf99a965953a42414 1603s 1..1 1603s # Start of gobject tests 1603s # Start of refcount tests 1603s ok 1 /gobject/refcount/properties-4 1603s # End of refcount tests 1603s # End of gobject tests 1603s ok - glib/properties-refcount4.test 1603s # Running test: glib/sequence.test 1603s TAP version 14 1603s # random seed: R02S2d5c24c0daccf9e5e5230691fa5a281f 1603s 1..16 1603s # Start of sequence tests 1603s ok 1 /sequence/out-of-range-jump 1603s ok 2 /sequence/iter-move 1603s ok 3 /sequence/insert-sorted-non-pointer 1603s ok 4 /sequence/stable-sort 1603s ok 5 /sequence/is_empty 1603s # Start of random tests 1603s ok 6 /sequence/random/seed:825541564 1603s # slow test /sequence/random/seed:825541564 executed in 0.65 secs 1604s ok 7 /sequence/random/seed:801678400 1604s # slow test /sequence/random/seed:801678400 executed in 0.62 secs 1605s ok 8 /sequence/random/seed:1477639090 1605s # slow test /sequence/random/seed:1477639090 executed in 0.64 secs 1605s ok 9 /sequence/random/seed:3369132895 1605s # slow test /sequence/random/seed:3369132895 executed in 0.60 secs 1606s ok 10 /sequence/random/seed:1192944867 1606s # slow test /sequence/random/seed:1192944867 executed in 0.62 secs 1606s ok 11 /sequence/random/seed:770458294 1606s # slow test /sequence/random/seed:770458294 executed in 0.65 secs 1607s # Executing: glib/sequence.test 1607s ok 12 /sequence/random/seed:1099575817 1607s # slow test /sequence/random/seed:1099575817 executed in 0.62 secs 1608s ok 13 /sequence/random/seed:590523467 1608s # slow test /sequence/random/seed:590523467 executed in 0.64 secs 1608s ok 14 /sequence/random/seed:3583571454 1608s # slow test /sequence/random/seed:3583571454 executed in 0.65 secs 1609s ok 15 /sequence/random/seed:579241222 1609s # slow test /sequence/random/seed:579241222 executed in 0.66 secs 1610s ok 16 /sequence/random/seed:398233444 1610s # slow test /sequence/random/seed:398233444 executed in 0.64 secs 1610s # End of random tests 1610s # End of sequence tests 1610s ok - glib/sequence.test 1610s # Running test: glib/gdbus-connection-loss.test 1610s TAP version 14 1610s # random seed: R02S16e0eda322a8a6f50292a1367f01683b 1610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1610s 1..1 1610s # Start of gdbus tests 1610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_PPPUZ2/gdbus/connection-loss/.dirs/home 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_PPPUZ2/gdbus/connection-loss/.dirs/cache 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_PPPUZ2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_PPPUZ2/gdbus/connection-loss/.dirs/system-config2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_PPPUZ2/gdbus/connection-loss/.dirs/config 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_PPPUZ2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_PPPUZ2/gdbus/connection-loss/.dirs/system-data2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_PPPUZ2/gdbus/connection-loss/.dirs/data 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_PPPUZ2/gdbus/connection-loss/.dirs/state 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_PPPUZ2/gdbus/connection-loss/.dirs/runtime 1610s ok 1 /gdbus/connection-loss 1610s # End of gdbus tests 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1610s ok - glib/gdbus-connection-loss.test 1610s # Running test: glib/notify-init.test 1610s TAP version 14 1610s # random seed: R02S5184cfdbc07ae301893f6de073eb0644 1610s 1..1 1610s # Start of properties tests 1610s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1610s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1610s ok 1 /properties/notify-in-init 1610s # End of properties tests 1610s ok - glib/notify-init.test 1610s # Running test: glib/accumulator.test 1610s TAP version 14 1610s # random seed: R02S8b067ca6cf7aaaa191bbf792d4c9c7c1 1610s 1..1 1610s # Start of gobject tests 1610s ok 1 /gobject/accumulator 1610s # End of gobject tests 1610s ok - glib/accumulator.test 1610s # Running test: glib/slice.test 1610s TAP version 14 1610s # random seed: R02Sbff094223ecef8d2e05c244752c488b2 1610s 1..3 1610s # Start of slice tests 1610s ok 1 /slice/copy 1610s ok 2 /slice/chain 1610s ok 3 /slice/allocate 1610s # slow test /slice/allocate executed in 0.52 secs 1610s # End of slice tests 1610s ok - glib/slice.test 1610s # Running test: glib/memory-monitor-dbus.test 1611s TAP version 13 1611s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1611s 1..1 1611s ok - glib/memory-monitor-dbus.test 1611s # Running test: glib/assert-msg-test.py.test 1611s TAP version 13 1611s ok 1 __main__.TestAssertMessage.test_gassert 1611s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1611s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1611s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1611s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1611s # Error: ** 1611s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1611s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1611s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1611s 1..2 1611s ok - glib/assert-msg-test.py.test 1611s # Running test: glib/async-splice-output-stream.test 1611s TAP version 14 1611s # random seed: R02S2e68e14fb43907b86dbafa42d845b7bc 1611s 1..5 1611s # Start of async-splice tests 1611s ok 1 /async-splice/copy-chunks 1611s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1611s ok 2 /async-splice/copy-chunks-threaded-input 1611s ok 3 /async-splice/copy-chunks-threaded-output 1611s ok 4 /async-splice/copy-chunks-threaded 1611s ok 5 /async-splice/cancelled 1611s # End of async-splice tests 1611s ok - glib/async-splice-output-stream.test 1611s # Running test: glib/permission.test 1611s TAP version 14 1611s # random seed: R02S46db44b97c7c3e99d822373b49c00acb 1611s 1..1 1611s # Start of permission tests 1611s ok 1 /permission/simple 1611s # End of permission tests 1611s ok - glib/permission.test 1611s # Running test: glib/hash.test 1611s TAP version 14 1611s # random seed: R02S78475cf724f44f39a3cdec28100e024d 1611s 1..34 1611s # Start of hash tests 1611s ok 1 /hash/misc 1611s ok 2 /hash/one 1611s ok 3 /hash/honeyman 1611s ok 4 /hash/direct 1611s ok 5 /hash/direct2 1611s ok 6 /hash/int 1611s ok 7 /hash/int64 1611s ok 8 /hash/double 1611s ok 9 /hash/string 1611s ok 10 /hash/set 1611s ok 11 /hash/set-ref 1611s ok 12 /hash/ref 1611s ok 13 /hash/remove-all 1611s ok 14 /hash/recursive-remove-all 1611s ok 15 /hash/find 1611s ok 16 /hash/foreach 1611s ok 17 /hash/foreach-steal 1611s ok 18 /hash/steal-extended 1611s ok 19 /hash/steal-all-keys 1611s ok 20 /hash/steal-all-values 1611s ok 21 /hash/lookup-extended 1611s ok 22 /hash/new-similar 1611s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1611s ok 23 /hash/lookup-null-key 1611s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1611s ok 24 /hash/destroy-modify 1611s ok 25 /hash/consistency 1611s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1611s ok 26 /hash/iter-replace 1611s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1611s ok 27 /hash/set-insert-corruption 1611s ok 28 /hash/set-to-strv 1611s ok 29 /hash/get-keys-as-ptr-array 1611s ok 30 /hash/get-values-as-ptr-array 1611s ok 31 /hash/primes 1611s # Start of int64 tests 1611s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1611s ok 32 /hash/int64/collisions 1611s # End of int64 tests 1611s # Start of double tests 1611s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1611s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1611s ok 33 /hash/double/collisions 1611s # End of double tests 1611s # Start of recursive-remove-all tests 1611s # End of recursive-remove-all tests 1611s # Start of steal-extended tests 1611s ok 34 /hash/steal-extended/optional 1611s # End of steal-extended tests 1611s # End of hash tests 1611s ok - glib/hash.test 1611s # Running test: glib/gdbus-addresses.test 1611s TAP version 14 1611s # random seed: R02S10d92419f5b6a714728d3dd13850d89b 1611s 1..9 1611s # Start of gdbus tests 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/empty-address/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/empty-address/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/empty-address/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/empty-address/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/empty-address/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/empty-address/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/empty-address/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/empty-address/.dirs/runtime 1611s ok 1 /gdbus/empty-address 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unsupported-address/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unsupported-address/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/unsupported-address/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unsupported-address/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/unsupported-address/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unsupported-address/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unsupported-address/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unsupported-address/.dirs/runtime 1611s ok 2 /gdbus/unsupported-address 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/address-parsing/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/address-parsing/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/address-parsing/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/address-parsing/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/address-parsing/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/address-parsing/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/address-parsing/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/address-parsing/.dirs/runtime 1611s ok 3 /gdbus/address-parsing 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unix-address/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unix-address/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/unix-address/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unix-address/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/unix-address/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unix-address/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unix-address/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/unix-address/.dirs/runtime 1611s ok 4 /gdbus/unix-address 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/nonce-tcp-address/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/nonce-tcp-address/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/nonce-tcp-address/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/nonce-tcp-address/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/nonce-tcp-address/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/nonce-tcp-address/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/nonce-tcp-address/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/nonce-tcp-address/.dirs/runtime 1611s ok 5 /gdbus/nonce-tcp-address 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/tcp-address/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/tcp-address/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/tcp-address/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/tcp-address/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/tcp-address/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/tcp-address/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/tcp-address/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/tcp-address/.dirs/runtime 1611s ok 6 /gdbus/tcp-address 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/autolaunch-address/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/autolaunch-address/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/autolaunch-address/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/autolaunch-address/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/autolaunch-address/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/autolaunch-address/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/autolaunch-address/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/autolaunch-address/.dirs/runtime 1611s ok 7 /gdbus/autolaunch-address 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/mixed-address/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/mixed-address/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/mixed-address/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/mixed-address/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/mixed-address/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/mixed-address/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/mixed-address/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/mixed-address/.dirs/runtime 1611s ok 8 /gdbus/mixed-address 1611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/escape-address/.dirs/home 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/escape-address/.dirs/cache 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/escape-address/.dirs/system-config2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/escape-address/.dirs/config 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_FYMWZ2/gdbus/escape-address/.dirs/system-data2 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/escape-address/.dirs/data 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/escape-address/.dirs/state 1611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_FYMWZ2/gdbus/escape-address/.dirs/runtime 1611s ok 9 /gdbus/escape-address 1611s # End of gdbus tests 1611s ok - glib/gdbus-addresses.test 1611s # Running test: glib/dbus-appinfo.test 1611s TAP version 14 1611s # random seed: R02S2f3b138d4a3d2e7b68e87a1a9a984a3e 1611s 1..3 1611s # Start of appinfo tests 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1611s ok 1 /appinfo/dbusappinfo 1611s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1611s dbus-daemon[6435]: [session uid=1000 pid=6435] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=6434 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1611s # Acquired a message bus connection 1611s dbus-daemon[6435]: [session uid=1000 pid=6435] Successfully activated service 'org.freedesktop.portal.Documents' 1611s # Acquired the name org.freedesktop.portal.Documents 1611s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1611s ok 2 /appinfo/flatpak-doc-export 1611s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1611s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1611s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1611s ok 3 /appinfo/flatpak-missing-doc-export 1611s # End of appinfo tests 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1611s # Lost the name org.freedesktop.portal.Documents 1611s ok - glib/dbus-appinfo.test 1611s # Running test: glib/gsocketclient-slow.test 1611s TAP version 14 1611s # random seed: R02S1bded5230daf9aec3315bdae78a2813e 1611s 1..4 1611s # Start of socket-client tests 1611s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1611s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1611s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a91540 and GSocketClientAsyncConnectData 0x1a8d1f0 1611s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1611s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1611s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a929f8 for GSocketClientAsyncConnectData 0x1a8d1f0 1611s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1611s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1611s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1611s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1611s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1611s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1611s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a93a38 for GSocketClientAsyncConnectData 0x1a8d1f0 1611s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1612s # Executing: glib/gsocketclient-slow.test 1612s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1612s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1612s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1612s ok 1 /socket-client/connection-fail 1612s # slow test /socket-client/connection-fail executed in 1.20 secs 1612s # Start of happy-eyeballs tests 1612s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a94920 and GSocketClientAsyncConnectData 0x1a8d1f0 1612s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1612s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1612s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a94f58 for GSocketClientAsyncConnectData 0x1a8d1f0 1612s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1613s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1613s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1613s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1613s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1613s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1613s ok 2 /socket-client/happy-eyeballs/slow 1613s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1613s # Start of cancellation tests 1613s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a95560 and GSocketClientAsyncConnectData 0x1a94c88 1613s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1613s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1613s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1613s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a95ba0 and GSocketClientAsyncConnectData 0x1a95710 1613s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1613s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1613s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a96210 for GSocketClientAsyncConnectData 0x1a95710 1613s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1613s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1613s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1613s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1613s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1613s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1613s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1613s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1613s # End of cancellation tests 1613s # End of happy-eyeballs tests 1613s # End of socket-client tests 1613s ok - glib/gsocketclient-slow.test 1613s # Running test: glib/trash.test 1613s TAP version 14 1613s # random seed: R02S2f627bfd4cd1a13f3cfe4040c985279d 1613s 1..3 1613s # Start of trash tests 1613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1613s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1613s # File: /tmp/test-trashKH4JZ2 (parent st_dev: 128) 1613s # Home: /home/ubuntu (st_dev: 128) 1613s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1613s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1613s ok 3 /trash/long-filename 1613s # End of trash tests 1613s ok - glib/trash.test 1613s # Running test: glib/socket.test 1613s TAP version 14 1613s # random seed: R02S15edb72c0997c0311b8a7c064c25306a 1613s 1..28 1613s # Start of socket tests 1614s ok 1 /socket/ipv4_sync 1614s # slow test /socket/ipv4_sync executed in 1.00 secs 1615s ok 2 /socket/ipv4_async 1615s # slow test /socket/ipv4_async executed in 1.00 secs 1615s ok 3 /socket/ipv6_sync 1615s ok 4 /socket/ipv6_async 1615s ok 5 /socket/ipv6_v4mapped 1616s ok 6 /socket/close_graceful 1616s # slow test /socket/close_graceful executed in 1.00 secs 1616s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1616s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1616s ok 8 /socket/fd_reuse 1616s ok 9 /socket/address 1616s ok 10 /socket/unix-from-fd 1616s ok 11 /socket/unix-connection 1616s ok 12 /socket/unix-connection-ancillary-data 1616s ok 13 /socket/source-postmortem 1616s ok 14 /socket/read_write 1616s ok 15 /socket/read_writev 1616s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1616s ok 16 /socket/receive_bytes 1616s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1616s ok 17 /socket/receive_bytes_from 1616s # Start of ipv4_sync tests 1616s ok 18 /socket/ipv4_sync/datagram 1616s # Start of datagram tests 1617s # Executing: glib/socket.test 1617s ok 19 /socket/ipv4_sync/datagram/timeouts 1617s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1617s # End of datagram tests 1617s # End of ipv4_sync tests 1617s # Start of ipv6_sync tests 1617s ok 20 /socket/ipv6_sync/datagram 1617s # Start of datagram tests 1618s ok 21 /socket/ipv6_sync/datagram/timeouts 1618s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1618s # End of datagram tests 1618s # End of ipv6_sync tests 1618s # Start of reuse tests 1618s ok 22 /socket/reuse/tcp 1618s ok 23 /socket/reuse/udp 1618s # End of reuse tests 1618s # Start of get_available tests 1619s ok 24 /socket/get_available/datagram 1619s ok 25 /socket/get_available/stream 1619s # End of get_available tests 1619s # Start of credentials tests 1619s # Supported on this OS: GCredentials:linux-ucred:pid=0 1619s ok 26 /socket/credentials/tcp_client 1619s # Supported on this OS: GCredentials:linux-ucred:pid=0 1619s ok 27 /socket/credentials/tcp_server 1619s # Supported on this OS: GCredentials:linux-ucred:pid=6456,uid=1000,gid=1000 1619s ok 28 /socket/credentials/unix_socketpair 1619s # End of credentials tests 1619s # End of socket tests 1619s ok - glib/socket.test 1619s # Running test: glib/debugcontroller.test 1619s TAP version 14 1619s # random seed: R02Sf18aeffb25b078ebf86035f4b2019ee7 1619s 1..3 1619s # Start of debug-controller tests 1619s # Start of dbus tests 1619s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # GLib-GIO-DEBUG: Debug output enabled 1619s # GLib-GIO-DEBUG: Debug output disabled 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s ok 1 /debug-controller/dbus/basic 1619s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s ok 2 /debug-controller/dbus/duplicate 1619s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1619s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1619s # End of dbus tests 1619s # End of debug-controller tests 1619s ok - glib/debugcontroller.test 1619s # Running test: glib/converter.test 1619s TAP version 14 1619s # random seed: R02Saeb88295052358decfa480290c52e9bc 1619s 1..1 1619s # Start of converter tests 1619s ok 1 /converter/bytes 1619s # End of converter tests 1619s ok - glib/converter.test 1619s # Running test: glib/atomic-c-17.test 1619s TAP version 14 1619s # random seed: R02S715b80e457d6ee0cc163cccb00d570d2 1619s 1..2 1619s # Start of atomic tests 1619s ok 1 /atomic/types 1619s ok 2 /atomic/threaded 1619s # End of atomic tests 1619s ok - glib/atomic-c-17.test 1619s # Running test: glib/resources.test 1619s TAP version 14 1619s # random seed: R02S061ec10cbeea92b27dcd534464217b5f 1619s 1..17 1619s # Start of resource tests 1619s ok 1 /resource/file 1619s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1619s ok 2 /resource/file-path 1619s ok 3 /resource/data 1619s ok 4 /resource/data_unaligned 1619s ok 5 /resource/data-corrupt 1619s ok 6 /resource/data-empty 1619s ok 7 /resource/registered 1619s ok 8 /resource/manual 1619s ok 9 /resource/manual2 1619s ok 10 /resource/automatic 1619s ok 11 /resource/module 1619s ok 12 /resource/binary-linked 1619s ok 13 /resource/64k 1619s GLib-GIO-Message: 15:25:53.109: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1619s ok 14 /resource/overlay 1619s ok 15 /resource/digits 1619s # Start of uri tests 1619s ok 16 /resource/uri/query-info 1619s ok 17 /resource/uri/file 1619s # End of uri tests 1619s # End of resource tests 1619s ok - glib/resources.test 1619s # Running test: glib/static-link.test 1619s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1619s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1619s and make sure you have glib build dependencies installed, including 1619s meson. 1619s ok # SKIP - glib/static-link.test 1619s # Running test: glib/gapplication.test 1619s TAP version 14 1619s # random seed: R02S9eed174e7d5a6067e996f0cb4d7cd8bd 1619s 1..24 1619s # Start of gapplication tests 1619s ok 1 /gapplication/no-dbus 1619s ok 2 /gapplication/no-appid 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s ok 3 /gapplication/properties 1619s ok 4 /gapplication/app-id 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s ok 5 /gapplication/quit 1619s ok 6 /gapplication/registered 1619s ok 7 /gapplication/local-actions 1619s ok 8 /gapplication/local-command-line 1619s ok 9 /gapplication/resource-path 1619s ok 10 /gapplication/test-help 1619s ok 11 /gapplication/command-line-done 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s ok 12 /gapplication/test-busy 1619s ok 13 /gapplication/test-handle-local-options1 1619s ok 14 /gapplication/test-handle-local-options2 1619s ok 15 /gapplication/test-handle-local-options3 1619s ok 16 /gapplication/api 1619s ok 17 /gapplication/version 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # launching subprocess 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s ok 18 /gapplication/replace 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # launching subprocess 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s ok 19 /gapplication/no-replace 1619s # slow test /gapplication/no-replace executed in 0.51 secs 1619s # Start of dbus tests 1619s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1619s # Message 0 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 1 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 2 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s ok 20 /gapplication/dbus/activate 1619s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1619s # Message 0 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1619s # Message 1 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 2 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 3 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s ok 21 /gapplication/dbus/open 1619s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1619s # Message 0 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 1 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 2 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s ok 22 /gapplication/dbus/command-line 1619s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s ok 23 /gapplication/dbus/command-line-done 1619s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1619s # Message 0 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 1 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 2 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 3 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 4 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 5 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 6 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 7 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 8 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 9 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 10 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # Message 11 1619s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1619s ok 24 /gapplication/dbus/activate-action 1619s # End of dbus tests 1619s # End of gapplication tests 1619s ok - glib/gapplication.test 1619s # Running test: glib/markup-collect.test 1619s TAP version 14 1619s # random seed: R02S0209e537b7fc707d0cbe7d9169de45ca 1619s 1..21 1619s # Start of markup tests 1619s # Start of collect tests 1619s ok 1 /markup/collect/0 1619s ok 2 /markup/collect/1 1619s ok 3 /markup/collect/2 1619s ok 4 /markup/collect/3 1619s ok 5 /markup/collect/4 1619s ok 6 /markup/collect/5 1619s ok 7 /markup/collect/6 1619s ok 8 /markup/collect/7 1619s ok 9 /markup/collect/8 1619s ok 10 /markup/collect/9 1619s ok 11 /markup/collect/10 1619s ok 12 /markup/collect/11 1619s ok 13 /markup/collect/12 1619s ok 14 /markup/collect/13 1619s ok 15 /markup/collect/14 1619s ok 16 /markup/collect/15 1619s ok 17 /markup/collect/16 1619s ok 18 /markup/collect/17 1619s ok 19 /markup/collect/18 1619s ok 20 /markup/collect/19 1619s ok 21 /markup/collect/cleanup 1619s # End of collect tests 1619s # End of markup tests 1619s ok - glib/markup-collect.test 1619s # Running test: glib/types.test 1619s TAP version 14 1619s # random seed: R02S781da2376345d4f2f399caae63d3f71b 1619s 1..1 1619s # Start of types tests 1619s ok 1 /types/basic_types 1619s # End of types tests 1619s ok - glib/types.test 1619s # Running test: glib/cxx-98.test 1619s TAP version 14 1619s # random seed: R02S3fb0fbe1669158958c136262afb72628 1619s 1..2 1619s # Start of gtask tests 1619s # 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. 1619s ok 1 /gtask/name 1619s # Start of name tests 1619s # 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. 1619s ok 2 /gtask/name/macro-wrapper 1619s # End of name tests 1619s # End of gtask tests 1619s ok - glib/cxx-98.test 1619s # Running test: glib/credentials.test 1619s TAP version 14 1619s # random seed: R02S8cad3027eb735f8140747e93b72e9513 1619s 1..1 1619s # Start of credentials tests 1619s # GCredentials:linux-ucred:pid=6544,uid=1000,gid=1000 1619s # GCredentials:linux-ucred:pid=6544,uid=0,gid=1000 1619s ok 1 /credentials/basic 1619s # End of credentials tests 1619s ok - glib/credentials.test 1619s # Running test: glib/cond.test 1619s TAP version 14 1619s # random seed: R02Sd4cfa652d99d72af4a7aa11eef06277d 1619s 1..4 1619s # Start of thread tests 1619s ok 1 /thread/cond1 1619s ok 2 /thread/cond2 1619s # Start of cond tests 1620s ok 3 /thread/cond/wait-until 1620s # slow test /thread/cond/wait-until executed in 1.02 secs 1620s # Start of wait-until tests 1620s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1620s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1622s ok 4 /thread/cond/wait-until/contended-and-interrupted 1622s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1622s # End of wait-until tests 1622s # End of cond tests 1622s # End of thread tests 1622s ok - glib/cond.test 1622s # Running test: glib/unix-mounts.test 1622s TAP version 14 1622s # random seed: R02S827ad6af9039492b05c01e4bbd8dfdf1 1622s 1..4 1622s # Start of unix-mounts tests 1622s ok 1 /unix-mounts/is-system-fs-type 1622s ok 2 /unix-mounts/is-system-device-path 1622s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1622s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1622s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1622s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1622s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1622s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1622s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1622s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1622s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1622s ok 3 /unix-mounts/get-mount-points 1622s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1622s ok 4 /unix-mounts/get-mount-entries 1622s # End of unix-mounts tests 1622s ok - glib/unix-mounts.test 1622s # Running test: glib/actions.test 1622s TAP version 14 1622s # random seed: R02S6dea280812c0732f7bf245dcbb122952 1622s 1..13 1622s # Start of actions tests 1622s ok 1 /actions/basic 1622s ok 2 /actions/name 1622s ok 3 /actions/simplegroup 1622s ok 4 /actions/stateful 1622s ok 5 /actions/default-activate 1622s ok 6 /actions/entries 1622s ok 7 /actions/parse-detailed 1622s ok 8 /actions/property 1622s ok 9 /actions/no-properties 1622s # Start of dbus tests 1622s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1622s ok 10 /actions/dbus/export 1622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1622s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1622s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1622s # Executing: glib/actions.test 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s ok 11 /actions/dbus/threaded 1624s # slow test /actions/dbus/threaded executed in 2.22 secs 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s ok 12 /actions/dbus/bug679509 1624s # Start of export tests 1624s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1624s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1624s ok 13 /actions/dbus/export/error-handling 1624s # End of export tests 1624s # End of dbus tests 1624s # End of actions tests 1624s ok - glib/actions.test 1624s # Running test: glib/deftype.test 1624s ok - glib/deftype.test 1624s # Running test: glib/socket-address.test 1624s TAP version 14 1624s # random seed: R02Sd6b82275105922bbc6ac545f17e74df8 1624s 1..2 1624s # Start of socket tests 1624s # Start of address tests 1624s # Start of unix tests 1624s ok 1 /socket/address/unix/construct 1624s ok 2 /socket/address/unix/to-string 1624s # End of unix tests 1624s # End of address tests 1624s # End of socket tests 1624s ok - glib/socket-address.test 1624s # Running test: glib/memory-monitor.test 1624s TAP version 14 1624s # random seed: R02S6f1449f6df0dbedb689582460e10cbab 1624s 1..1 1624s # Start of memory-monitor tests 1624s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1624s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1624s ok 1 /memory-monitor/default 1624s # End of memory-monitor tests 1624s ok - glib/memory-monitor.test 1624s # Running test: glib/asyncqueue.test 1624s TAP version 14 1624s # random seed: R02Sebd3df0a3df89b0559806e1754cb1d63 1624s 1..7 1624s # Start of asyncqueue tests 1624s ok 1 /asyncqueue/basics 1624s ok 2 /asyncqueue/sort 1624s ok 3 /asyncqueue/destroy 1624s ok 4 /asyncqueue/threads 1624s ok 5 /asyncqueue/timed 1624s ok 6 /asyncqueue/remove 1624s ok 7 /asyncqueue/push_front 1624s # End of asyncqueue tests 1624s ok - glib/asyncqueue.test 1624s # Running test: glib/fileutils.test 1624s TAP version 14 1624s # random seed: R02S3cae629f32b7486f77e46c15e833668a 1624s 1..27 1624s # Start of fileutils tests 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/paths/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/paths/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/paths/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/paths/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/paths/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/paths/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/paths/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/paths/.dirs/runtime 1624s ok 1 /fileutils/paths 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-path/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-path/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/build-path/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-path/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/build-path/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-path/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-path/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/build-path/.dirs/runtime 1624s ok 2 /fileutils/build-path 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-pathv/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-pathv/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/build-pathv/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-pathv/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/build-pathv/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-pathv/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-pathv/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/build-pathv/.dirs/runtime 1624s ok 3 /fileutils/build-pathv 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-filename/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-filename/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/build-filename/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-filename/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/build-filename/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-filename/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-filename/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/build-filename/.dirs/runtime 1624s ok 4 /fileutils/build-filename 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-filenamev/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-filenamev/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/build-filenamev/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-filenamev/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/build-filenamev/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-filenamev/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/build-filenamev/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/build-filenamev/.dirs/runtime 1624s ok 5 /fileutils/build-filenamev 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents/.dirs/runtime 1624s # We do not have CAP_DAC_OVERRIDE or equivalent 1624s ok 6 /fileutils/mkdir-with-parents 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents-permission/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents-permission/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents-permission/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents-permission/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents-permission/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1624s # We do not have CAP_DAC_OVERRIDE or equivalent 1624s ok 7 /fileutils/mkdir-with-parents-permission 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/format-size-for-display/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/format-size-for-display/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/format-size-for-display/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/format-size-for-display/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/format-size-for-display/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/format-size-for-display/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/format-size-for-display/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/format-size-for-display/.dirs/runtime 1624s ok 8 /fileutils/format-size-for-display 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/errors/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/errors/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/errors/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/errors/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/errors/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/errors/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/errors/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/errors/.dirs/runtime 1624s ok 9 /fileutils/errors 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/basename/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/basename/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/basename/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/basename/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/basename/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/basename/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/basename/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/basename/.dirs/runtime 1624s ok 10 /fileutils/basename 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-basename/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-basename/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/get-basename/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-basename/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/get-basename/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-basename/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-basename/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/get-basename/.dirs/runtime 1624s ok 11 /fileutils/get-basename 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/dirname/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/dirname/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/dirname/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/dirname/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/dirname/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/dirname/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/dirname/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/dirname/.dirs/runtime 1624s ok 12 /fileutils/dirname 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/dir-make-tmp/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/dir-make-tmp/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/dir-make-tmp/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/dir-make-tmp/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/dir-make-tmp/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/dir-make-tmp/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/dir-make-tmp/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/dir-make-tmp/.dirs/runtime 1624s ok 13 /fileutils/dir-make-tmp 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/file-open-tmp/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/file-open-tmp/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/file-open-tmp/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/file-open-tmp/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/file-open-tmp/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/file-open-tmp/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/file-open-tmp/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/file-open-tmp/.dirs/runtime 1624s ok 14 /fileutils/file-open-tmp 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/file-test/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/file-test/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/file-test/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/file-test/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/file-test/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/file-test/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/file-test/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/file-test/.dirs/runtime 1624s ok 15 /fileutils/file-test 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkstemp/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkstemp/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/mkstemp/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkstemp/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/mkstemp/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkstemp/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkstemp/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/mkstemp/.dirs/runtime 1624s ok 16 /fileutils/mkstemp 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdtemp/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdtemp/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/mkdtemp/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdtemp/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/mkdtemp/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdtemp/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/mkdtemp/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/mkdtemp/.dirs/runtime 1624s ok 17 /fileutils/mkdtemp 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/get-contents/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/get-contents/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents/.dirs/runtime 1624s ok 18 /fileutils/get-contents 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents-large-file/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents-large-file/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/get-contents-large-file/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents-large-file/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/get-contents-large-file/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents-large-file/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents-large-file/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/get-contents-large-file/.dirs/runtime 1624s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/set-contents/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/set-contents/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents/.dirs/runtime 1624s ok 20 /fileutils/set-contents 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/.dirs/runtime 1624s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1624s # Flags 0 and test 0 1624s # Flags 0 and test 1 1624s # Flags 0 and test 2 1624s # Flags 0 and test 3 1624s # Flags 0 and test 4 1624s # Flags 0 and test 5 1624s # Flags 1 and test 0 1624s # Flags 1 and test 1 1624s # Flags 1 and test 2 1624s # Flags 1 and test 3 1624s # Flags 1 and test 4 1624s # Flags 1 and test 5 1624s # Flags 2 and test 0 1624s # Flags 2 and test 1 1624s # Flags 2 and test 2 1624s # Flags 2 and test 3 1624s # Flags 2 and test 4 1624s # Flags 2 and test 5 1624s # Flags 3 and test 0 1624s # Flags 3 and test 1 1624s # Flags 3 and test 2 1624s # Flags 3 and test 3 1624s # Flags 3 and test 4 1624s # Flags 3 and test 5 1624s # Flags 4 and test 0 1624s # Flags 4 and test 1 1624s # Flags 4 and test 2 1624s # Flags 4 and test 3 1624s # Flags 4 and test 4 1624s # Flags 4 and test 5 1624s # Flags 5 and test 0 1624s # Flags 5 and test 1 1624s # Flags 5 and test 2 1624s # Flags 5 and test 3 1624s # Flags 5 and test 4 1624s # Flags 5 and test 5 1624s # Flags 6 and test 0 1624s # Flags 6 and test 1 1624s # Flags 6 and test 2 1624s # Flags 6 and test 3 1624s # Flags 6 and test 4 1624s # Flags 6 and test 5 1624s ok 21 /fileutils/set-contents-full 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/read-link/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/read-link/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/read-link/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/read-link/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/read-link/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/read-link/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/read-link/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/read-link/.dirs/runtime 1624s ok 22 /fileutils/read-link 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/stdio-wrappers/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/stdio-wrappers/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/stdio-wrappers/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/stdio-wrappers/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/stdio-wrappers/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/stdio-wrappers/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/stdio-wrappers/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/stdio-wrappers/.dirs/runtime 1624s # We do not have CAP_DAC_OVERRIDE or equivalent 1624s ok 23 /fileutils/stdio-wrappers 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/fopen-modes/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/fopen-modes/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/fopen-modes/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/fopen-modes/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/fopen-modes/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/fopen-modes/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/fopen-modes/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/fopen-modes/.dirs/runtime 1624s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1624s # Testing fopen() mode 'w' 1624s # Testing fopen() mode 'r' 1624s # Testing fopen() mode 'a' 1624s # Testing fopen() mode 'w+' 1624s # Testing fopen() mode 'r+' 1624s # Testing fopen() mode 'a+' 1624s # Testing fopen() mode 'wb' 1624s # Testing fopen() mode 'rb' 1624s # Testing fopen() mode 'ab' 1624s # Testing fopen() mode 'w+b' 1624s # Testing fopen() mode 'r+b' 1624s # Testing fopen() mode 'a+b' 1624s # Testing fopen() mode 'wb+' 1624s # Testing fopen() mode 'rb+' 1624s # Testing fopen() mode 'ab+' 1624s ok 24 /fileutils/fopen-modes 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/clear-fd/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/clear-fd/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/clear-fd/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/clear-fd/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/clear-fd/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/clear-fd/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/clear-fd/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/clear-fd/.dirs/runtime 1624s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1624s # Will be closed by autocleanup: 3, -42 1624s # Testing error handling 1624s ok 25 /fileutils/clear-fd 1624s # Start of set-contents-full tests 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-file/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-file/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-file/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-file/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-file/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1624s # We do not have CAP_DAC_OVERRIDE or equivalent 1624s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1624s ok 26 /fileutils/set-contents-full/read-only-file 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-directory/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-directory/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-directory/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-directory/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HPJNZ2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1624s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1624s # Flags 0 1624s # We do not have CAP_DAC_OVERRIDE or equivalent 1624s # Flags 1 1624s # We do not have CAP_DAC_OVERRIDE or equivalent 1624s # Flags 2 1624s # We do not have CAP_DAC_OVERRIDE or equivalent 1624s # Flags 3 1624s # We do not have CAP_DAC_OVERRIDE or equivalent 1624s # Flags 4 1624s # We do not have CAP_DAC_OVERRIDE or equivalent 1624s # Flags 5 1624s # We do not have CAP_DAC_OVERRIDE or equivalent 1624s # Flags 6 1624s # We do not have CAP_DAC_OVERRIDE or equivalent 1624s ok 27 /fileutils/set-contents-full/read-only-directory 1624s # End of set-contents-full tests 1624s # Start of clear-fd tests 1624s # Start of subprocess tests 1624s # End of subprocess tests 1624s # End of clear-fd tests 1624s # End of fileutils tests 1624s Unable to clean up temporary directory /tmp/test_fileutils_HPJNZ2/glib-file-set-contents-full-rodir-7Q0PZ2: Directory not empty 1624s Unable to clean up temporary directory /tmp/test_fileutils_HPJNZ2/glib-file-set-contents-full-rodir-L21PZ2: Directory not empty 1624s Unable to clean up temporary directory /tmp/test_fileutils_HPJNZ2/glib-file-set-contents-full-rodir-E12PZ2: Directory not empty 1624s Unable to clean up temporary directory /tmp/test_fileutils_HPJNZ2/glib-file-set-contents-full-rodir-U83PZ2: Directory not empty 1624s Unable to clean up temporary directory /tmp/test_fileutils_HPJNZ2/glib-file-set-contents-full-rodir-HM5PZ2: Directory not empty 1624s Unable to clean up temporary directory /tmp/test_fileutils_HPJNZ2/glib-file-set-contents-full-rodir-IV6PZ2: Directory not empty 1624s Unable to clean up temporary directory /tmp/test_fileutils_HPJNZ2/glib-file-set-contents-full-rodir-XH8PZ2: Directory not empty 1624s Unable to clean up temporary directory /tmp/test_fileutils_HPJNZ2: Directory not empty 1624s ok - glib/fileutils.test 1624s # Running test: glib/hook.test 1624s TAP version 14 1624s # random seed: R02S3cd279b39bf2f970506852863b8af977 1624s 1..2 1624s # Start of hook tests 1624s ok 1 /hook/basics 1624s ok 2 /hook/corner-cases 1624s # End of hook tests 1624s ok - glib/hook.test 1624s # Running test: glib/unicode-normalize.test 1624s TAP version 14 1624s # random seed: R02S0fc5aa2d2a9b30ee2d935dc25ad304d6 1624s 1..3 1624s # Start of unicode tests 1624s # Processing Part0 # Specific cases 1624s # Processing Part1 # Character by character test 1625s # Processing Part2 # Canonical Order Test 1625s # Processing Part3 # PRI #29 Test 1625s ok 1 /unicode/normalize 1625s # Invalid UTF-8 vector 0 1625s # Invalid UTF-8 vector 1 1625s # Invalid UTF-8 vector 2 1625s # Invalid UTF-8 vector 3 1625s # Invalid UTF-8 vector 4 1625s # Invalid UTF-8 vector 5 1625s # Invalid UTF-8 vector 6 1625s # Invalid UTF-8 vector 7 1625s # Invalid UTF-8 vector 8 1625s # Invalid UTF-8 vector 9 1625s # Invalid UTF-8 vector 10 1625s # Invalid UTF-8 vector 11 1625s # Invalid UTF-8 vector 12 1625s ok 2 /unicode/normalize-invalid 1625s # Start of normalize tests 1625s ok 3 /unicode/normalize/bad-length 1625s # End of normalize tests 1625s # End of unicode tests 1625s ok - glib/unicode-normalize.test 1625s # Running test: glib/refcount.test 1625s TAP version 14 1625s # random seed: R02S6b4d5a1c52c8eb22111d12c79e2707ba 1625s 1..4 1625s # Start of refcount tests 1625s ok 1 /refcount/grefcount 1625s ok 2 /refcount/gatomicrefcount 1625s # Start of grefcount tests 1625s ok 3 /refcount/grefcount/saturation 1625s # End of grefcount tests 1625s # Start of gatomicrefcount tests 1625s ok 4 /refcount/gatomicrefcount/saturation 1625s # End of gatomicrefcount tests 1625s # End of refcount tests 1625s ok - glib/refcount.test 1625s # Running test: glib/gdbus-error.test 1625s TAP version 14 1625s # random seed: R02S0d53853e6b108a07ea9d2cf3da54b646 1625s 1..4 1625s # Start of gdbus tests 1625s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/registered-errors/.dirs/home 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/registered-errors/.dirs/cache 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_GVGVZ2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_GVGVZ2/gdbus/registered-errors/.dirs/system-config2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/registered-errors/.dirs/config 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_GVGVZ2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_GVGVZ2/gdbus/registered-errors/.dirs/system-data2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/registered-errors/.dirs/data 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/registered-errors/.dirs/state 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_GVGVZ2/gdbus/registered-errors/.dirs/runtime 1625s ok 1 /gdbus/registered-errors 1625s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/unregistered-errors/.dirs/home 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/unregistered-errors/.dirs/cache 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_GVGVZ2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_GVGVZ2/gdbus/unregistered-errors/.dirs/system-config2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/unregistered-errors/.dirs/config 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_GVGVZ2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_GVGVZ2/gdbus/unregistered-errors/.dirs/system-data2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/unregistered-errors/.dirs/data 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/unregistered-errors/.dirs/state 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_GVGVZ2/gdbus/unregistered-errors/.dirs/runtime 1625s ok 2 /gdbus/unregistered-errors 1625s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/transparent-gerror/.dirs/home 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/transparent-gerror/.dirs/cache 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_GVGVZ2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_GVGVZ2/gdbus/transparent-gerror/.dirs/system-config2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/transparent-gerror/.dirs/config 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_GVGVZ2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_GVGVZ2/gdbus/transparent-gerror/.dirs/system-data2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/transparent-gerror/.dirs/data 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/transparent-gerror/.dirs/state 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_GVGVZ2/gdbus/transparent-gerror/.dirs/runtime 1625s ok 3 /gdbus/transparent-gerror 1625s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/register-error/.dirs/home 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/register-error/.dirs/cache 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_GVGVZ2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_GVGVZ2/gdbus/register-error/.dirs/system-config2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/register-error/.dirs/config 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_GVGVZ2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_GVGVZ2/gdbus/register-error/.dirs/system-data2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/register-error/.dirs/data 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_GVGVZ2/gdbus/register-error/.dirs/state 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_GVGVZ2/gdbus/register-error/.dirs/runtime 1625s ok 4 /gdbus/register-error 1625s # End of gdbus tests 1625s ok - glib/gdbus-error.test 1625s # Running test: glib/bindinggroup.test 1625s TAP version 14 1625s # random seed: R02S2b828a1187800e487657e90e392b135d 1625s 1..11 1625s # Start of GObject tests 1625s # Start of BindingGroup tests 1625s ok 1 /GObject/BindingGroup/invalid 1625s ok 2 /GObject/BindingGroup/default 1625s ok 3 /GObject/BindingGroup/bidirectional 1625s ok 4 /GObject/BindingGroup/transform 1625s ok 5 /GObject/BindingGroup/transform-closures 1625s ok 6 /GObject/BindingGroup/same-object 1625s ok 7 /GObject/BindingGroup/weak-ref-source 1625s ok 8 /GObject/BindingGroup/weak-ref-target 1625s ok 9 /GObject/BindingGroup/properties 1625s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1625s ok 11 /GObject/BindingGroup/empty-closures 1625s # End of BindingGroup tests 1625s # End of GObject tests 1625s ok - glib/bindinggroup.test 1625s # Running test: glib/atomic.test 1625s TAP version 14 1625s # random seed: R02S3318a258711919507fcc14417e4f7c4d 1625s 1..2 1625s # Start of atomic tests 1625s ok 1 /atomic/types 1625s ok 2 /atomic/threaded 1625s # End of atomic tests 1625s ok - glib/atomic.test 1625s # Running test: glib/function-info.test 1625s TAP version 14 1625s # random seed: R02S9590ef73c57223922bf90c671071bf76 1625s 1..1 1625s # Start of function-info tests 1625s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_T2FXZ2/function-info/invoker/.dirs/home 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_T2FXZ2/function-info/invoker/.dirs/cache 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_T2FXZ2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_T2FXZ2/function-info/invoker/.dirs/system-config2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_T2FXZ2/function-info/invoker/.dirs/config 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_T2FXZ2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_T2FXZ2/function-info/invoker/.dirs/system-data2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_T2FXZ2/function-info/invoker/.dirs/data 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_T2FXZ2/function-info/invoker/.dirs/state 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_T2FXZ2/function-info/invoker/.dirs/runtime 1625s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1625s # /function-info/invoker summary: Test preparing a function invoker 1625s ok 1 /function-info/invoker 1625s # End of function-info tests 1625s ok - glib/function-info.test 1625s # Running test: glib/utils-c-11.test 1625s TAP version 14 1625s # random seed: R02S93e61cb8a364b56690b152bce39dce9c 1625s 1..40 1625s # Start of utils tests 1625s ok 1 /utils/language-names 1625s ok 2 /utils/locale-variants 1625s ok 3 /utils/version 1625s ok 4 /utils/appname 1625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1625s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1625s ok 5 /utils/prgname-thread-safety 1625s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1625s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1625s ok 6 /utils/tmpdir 1625s ok 7 /utils/basic_bits 1625s ok 8 /utils/bits 1625s ok 9 /utils/swap 1625s ok 10 /utils/find-program 1625s ok 11 /utils/find-program-for-path 1625s ok 12 /utils/debug 1625s ok 13 /utils/codeset 1625s ok 14 /utils/codeset2 1625s ok 15 /utils/console-charset 1625s ok 16 /utils/gettext 1625s ok 17 /utils/username 1625s ok 18 /utils/realname 1625s ok 19 /utils/hostname 1625s ok 20 /utils/xdgdirs 1625s ok 21 /utils/specialdir 1625s # NAME: Ubuntu 1625s ok 22 /utils/os-info 1625s ok 23 /utils/clear-pointer 1625s ok 24 /utils/clear-pointer-cast 1625s ok 25 /utils/take-pointer 1625s ok 26 /utils/clear-source 1625s ok 27 /utils/misc-mem 1625s # /utils/aligned-mem summary: Aligned memory allocator 1625s # Alignment must not be zero 1625s # Alignment must be a power of two 1625s # Alignment must be a multiple of sizeof(void*) 1625s ok 28 /utils/aligned-mem 1625s # /utils/free-sized summary: Check that g_free_sized() works 1625s ok 29 /utils/free-sized 1625s ok 30 /utils/nullify 1625s ok 31 /utils/atexit 1625s ok 32 /utils/check-setuid 1625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1625s ok 33 /utils/int-limits 1625s ok 34 /utils/clear-list 1625s ok 35 /utils/clear-slist 1625s # Start of specialdir tests 1625s ok 36 /utils/specialdir/desktop 1625s # End of specialdir tests 1625s # Start of clear-pointer tests 1625s ok 37 /utils/clear-pointer/side-effects 1625s # End of clear-pointer tests 1625s # Start of aligned-mem tests 1625s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1625s ok 38 /utils/aligned-mem/alignment 1625s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1625s ok 39 /utils/aligned-mem/zeroed 1625s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1625s ok 40 /utils/aligned-mem/free-sized 1625s # Start of subprocess tests 1625s # End of subprocess tests 1625s # End of aligned-mem tests 1625s # End of utils tests 1625s ok - glib/utils-c-11.test 1625s # Running test: glib/refstring.test 1625s TAP version 14 1625s # random seed: R02S2fb83dbdd4fe0101ca497c5c0eb78133 1625s 1..6 1625s # Start of refstring tests 1625s # s = 'hello, world' (0x438ef00) 1625s ok 1 /refstring/base 1625s ok 2 /refstring/length 1625s ok 3 /refstring/length-auto 1625s ok 4 /refstring/length-nuls 1625s # s = 'hello, world' (0x4387000) 1625s # p = s = 'hello, world' (0x4387000) 1625s # releasing p[0x4387000] ('hello, world') 1625s # p = 'goodbye, world' (0x4387028) 1625s # releasing p[0x4387028] ('goodbye, world') 1625s # releasing s[0x4387000] ('hello, world') 1625s ok 5 /refstring/intern 1626s ok 6 /refstring/intern-thread-safety 1626s # slow test /refstring/intern-thread-safety executed in 1.02 secs 1626s # End of refstring tests 1626s ok - glib/refstring.test 1626s # Running test: glib/gdbus-method-invocation.test 1626s TAP version 14 1626s # random seed: R02S3b7aadb120a83baee9258698e0470824 1626s 1..1 1626s # Start of gdbus tests 1626s # Start of method-invocation tests 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_LMOYZ2/gdbus/method-invocation/return/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_LMOYZ2/gdbus/method-invocation/return/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_LMOYZ2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_LMOYZ2/gdbus/method-invocation/return/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_LMOYZ2/gdbus/method-invocation/return/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_LMOYZ2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_LMOYZ2/gdbus/method-invocation/return/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_LMOYZ2/gdbus/method-invocation/return/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_LMOYZ2/gdbus/method-invocation/return/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_LMOYZ2/gdbus/method-invocation/return/.dirs/runtime 1626s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1626s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1626s # Calling org.freedesktop.DBus.Properties.Get 1626s # Calling org.freedesktop.DBus.Properties.Get 1626s # Calling org.freedesktop.DBus.Properties.Get 1626s # Calling org.freedesktop.DBus.Properties.Set 1626s # Calling org.freedesktop.DBus.Properties.GetAll 1626s # Calling org.example.Foo.WrongReturnType 1626s # Calling org.example.Foo.GetFDs 1626s # Calling org.example.Foo.GetFDs 1626s # Calling org.example.Foo.ReturnError 1626s # Calling org.example.Foo.CloseBeforeReturning 1626s ok 1 /gdbus/method-invocation/return 1626s # End of method-invocation tests 1626s # End of gdbus tests 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s ok - glib/gdbus-method-invocation.test 1626s # Running test: glib/stream-rw_all.test 1626s TAP version 14 1626s # random seed: R02S01b1fd7509f4244b1d9965e0d38e8bec 1626s 1..3 1626s # Start of stream tests 1626s # Start of read_all_async tests 1626s ok 1 /stream/read_all_async/memory 1626s # End of read_all_async tests 1626s # Start of write_all_async tests 1626s ok 2 /stream/write_all_async/memory 1626s # End of write_all_async tests 1626s # Start of read_write_all_async tests 1626s ok 3 /stream/read_write_all_async/pipe 1626s # End of read_write_all_async tests 1626s # End of stream tests 1626s ok - glib/stream-rw_all.test 1626s # Running test: glib/rand.test 1626s TAP version 14 1626s # random seed: R02S010af27aaef35aa6e7a8c3a700847760 1626s 1..2 1626s # Start of rand tests 1626s ok 1 /rand/test-rand 1626s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1626s ok 2 /rand/double-range 1626s # End of rand tests 1626s ok - glib/rand.test 1626s # Running test: glib/gdbus-connection.test 1626s TAP version 14 1626s # random seed: R02S2cff22c1daba64fa1b26399afce7bfc2 1626s 1..9 1626s # Start of gdbus tests 1626s # Start of connection tests 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/bus-failure/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/bus-failure/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/bus-failure/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/bus-failure/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/bus-failure/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/bus-failure/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/bus-failure/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/bus-failure/.dirs/runtime 1626s ok 1 /gdbus/connection/bus-failure 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/basic/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/basic/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/basic/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/basic/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/basic/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/basic/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/basic/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/basic/.dirs/runtime 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is 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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s ok 2 /gdbus/connection/basic 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/life-cycle/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/life-cycle/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/life-cycle/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/life-cycle/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/life-cycle/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/life-cycle/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/life-cycle/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/life-cycle/.dirs/runtime 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is 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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s ok 3 /gdbus/connection/life-cycle 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/send/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/send/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/send/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/send/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/send/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/send/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/send/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/send/.dirs/runtime 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is 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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s ok 4 /gdbus/connection/send 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signals/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signals/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signals/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signals/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signals/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signals/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signals/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signals/.dirs/runtime 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is 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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s ok 5 /gdbus/connection/signals 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signal-match-rules/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signal-match-rules/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signal-match-rules/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signal-match-rules/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signal-match-rules/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signal-match-rules/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signal-match-rules/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/signal-match-rules/.dirs/runtime 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is 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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s ok 6 /gdbus/connection/signal-match-rules 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/filter/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/filter/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/filter/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/filter/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/filter/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/filter/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/filter/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/filter/.dirs/runtime 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is 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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s ok 7 /gdbus/connection/filter 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/serials/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/serials/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/serials/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/serials/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/serials/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/serials/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/serials/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/serials/.dirs/runtime 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is 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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s ok 8 /gdbus/connection/serials 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/cancel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/cancel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/cancel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/cancel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/cancel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/cancel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/cancel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_6BXZZ2/gdbus/connection/cancel/.dirs/runtime 1626s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is 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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1626s ok 9 /gdbus/connection/cancel 1626s # End of connection tests 1626s # End of gdbus tests 1626s ok - glib/gdbus-connection.test 1626s # Running test: glib/repository.test 1626s TAP version 14 1626s # random seed: R02S31b6a3d8660bc70ec4a89645cb633401 1626s 1..23 1626s # Start of repository tests 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/basic/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/basic/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/basic/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/basic/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/basic/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/basic/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/basic/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/basic/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/basic/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/basic/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1626s ok 1 /repository/basic 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/info/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/info/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/info/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/info/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/info/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/info/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/info/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/info/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/info/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/info/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1626s ok 2 /repository/info 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/dependencies/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/dependencies/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/dependencies/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/dependencies/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/dependencies/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/dependencies/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/dependencies/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/dependencies/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1626s ok 3 /repository/dependencies 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/arg-info/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/arg-info/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/arg-info/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/arg-info/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/arg-info/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/arg-info/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/arg-info/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/arg-info/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1626s ok 4 /repository/arg-info 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/callable-info/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/callable-info/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/callable-info/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/callable-info/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/callable-info/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/callable-info/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/callable-info/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/callable-info/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1626s ok 5 /repository/callable-info 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/callback-info/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/callback-info/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/callback-info/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/callback-info/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/callback-info/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/callback-info/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/callback-info/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/callback-info/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1626s ok 6 /repository/callback-info 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/char-types/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/char-types/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/char-types/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/char-types/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/char-types/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/char-types/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/char-types/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/char-types/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/char-types/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/char-types/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1626s ok 7 /repository/char-types 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/constructor-return-type/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/constructor-return-type/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/constructor-return-type/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/constructor-return-type/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/constructor-return-type/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/constructor-return-type/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/constructor-return-type/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/constructor-return-type/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1626s ok 8 /repository/constructor-return-type 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/enum-info-c-identifier/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/enum-info-c-identifier/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/enum-info-c-identifier/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/enum-info-c-identifier/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/enum-info-c-identifier/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/enum-info-c-identifier/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/enum-info-c-identifier/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/enum-info-c-identifier/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1626s ok 9 /repository/enum-info-c-identifier 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/enum-info-static-methods/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/enum-info-static-methods/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/enum-info-static-methods/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/enum-info-static-methods/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/enum-info-static-methods/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/enum-info-static-methods/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/enum-info-static-methods/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/enum-info-static-methods/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/enum-info-static-methods summary: Test an enum with methods 1626s ok 10 /repository/enum-info-static-methods 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/error-quark/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/error-quark/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/error-quark/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/error-quark/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/error-quark/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/error-quark/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/error-quark/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/error-quark/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/error-quark summary: Test finding an error quark by error domain 1626s ok 11 /repository/error-quark 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/flags-info-c-identifier/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/flags-info-c-identifier/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/flags-info-c-identifier/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/flags-info-c-identifier/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/flags-info-c-identifier/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/flags-info-c-identifier/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/flags-info-c-identifier/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/flags-info-c-identifier/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1626s ok 12 /repository/flags-info-c-identifier 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/fundamental-ref-func/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/fundamental-ref-func/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/fundamental-ref-func/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/fundamental-ref-func/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/fundamental-ref-func/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/fundamental-ref-func/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/fundamental-ref-func/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/fundamental-ref-func/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1626s ok 13 /repository/fundamental-ref-func 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/instance-method-ownership-transfer/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/instance-method-ownership-transfer/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/instance-method-ownership-transfer/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/instance-method-ownership-transfer/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/instance-method-ownership-transfer/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/instance-method-ownership-transfer/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/instance-method-ownership-transfer/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/instance-method-ownership-transfer/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1626s ok 14 /repository/instance-method-ownership-transfer 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/object-gtype-interfaces/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/object-gtype-interfaces/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/object-gtype-interfaces/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/object-gtype-interfaces/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/object-gtype-interfaces/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/object-gtype-interfaces/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/object-gtype-interfaces/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/object-gtype-interfaces/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1626s ok 15 /repository/object-gtype-interfaces 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/signal-info-with-array-length-arg/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/signal-info-with-array-length-arg/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/signal-info-with-array-length-arg/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/signal-info-with-array-length-arg/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/signal-info-with-array-length-arg/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/signal-info-with-array-length-arg/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/signal-info-with-array-length-arg/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/signal-info-with-array-length-arg/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1626s ok 16 /repository/signal-info-with-array-length-arg 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/type-info-name/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/type-info-name/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/type-info-name/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/type-info-name/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/type-info-name/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/type-info-name/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/type-info-name/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/type-info-name/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1626s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1626s ok 17 /repository/type-info-name 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-no-invoker/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-no-invoker/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-no-invoker/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-no-invoker/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-no-invoker/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-no-invoker/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1626s ok 18 /repository/vfunc-info-with-no-invoker 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1626s ok 19 /repository/vfunc-info-with-invoker-on-interface 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-object/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-object/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-object/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-object/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1626s ok 20 /repository/vfunc-info-with-invoker-on-object 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/find-by-gtype/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/find-by-gtype/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/find-by-gtype/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/find-by-gtype/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/find-by-gtype/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/find-by-gtype/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/find-by-gtype/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/find-by-gtype/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/find-by-gtype summary: Test finding a GType 1626s ok 21 /repository/find-by-gtype 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/loaded-namespaces/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/loaded-namespaces/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/loaded-namespaces/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/loaded-namespaces/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/loaded-namespaces/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/loaded-namespaces/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/loaded-namespaces/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/loaded-namespaces/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1626s ok 22 /repository/loaded-namespaces 1626s # Start of base-info tests 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_E8N1Z2/repository/base-info/clear/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_E8N1Z2/repository/base-info/clear/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_E8N1Z2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_E8N1Z2/repository/base-info/clear/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_E8N1Z2/repository/base-info/clear/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_E8N1Z2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_E8N1Z2/repository/base-info/clear/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_E8N1Z2/repository/base-info/clear/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_E8N1Z2/repository/base-info/clear/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_E8N1Z2/repository/base-info/clear/.dirs/runtime 1626s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1626s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1626s ok 23 /repository/base-info/clear 1626s # End of base-info tests 1626s # End of repository tests 1626s ok - glib/repository.test 1626s # Running test: glib/file.test 1626s TAP version 14 1626s # random seed: R02Se0e6b0ca2153415c47cb3d66ef34a340 1626s 1..55 1626s # Start of file tests 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/basic/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/basic/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/basic/.dirs/system-config1:/tmp/test_file_BD11Z2/file/basic/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/basic/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/basic/.dirs/system-data1:/tmp/test_file_BD11Z2/file/basic/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/basic/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/basic/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/basic/.dirs/runtime 1626s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1626s ok 1 /file/basic 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/build-filename/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/build-filename/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/build-filename/.dirs/system-config1:/tmp/test_file_BD11Z2/file/build-filename/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/build-filename/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/build-filename/.dirs/system-data1:/tmp/test_file_BD11Z2/file/build-filename/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/build-filename/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/build-filename/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/build-filename/.dirs/runtime 1626s ok 2 /file/build-filename 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/build-filenamev/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/build-filenamev/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_BD11Z2/file/build-filenamev/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/build-filenamev/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_BD11Z2/file/build-filenamev/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/build-filenamev/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/build-filenamev/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/build-filenamev/.dirs/runtime 1626s ok 3 /file/build-filenamev 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/parent/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/parent/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/parent/.dirs/system-config1:/tmp/test_file_BD11Z2/file/parent/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/parent/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/parent/.dirs/system-data1:/tmp/test_file_BD11Z2/file/parent/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/parent/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/parent/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/parent/.dirs/runtime 1626s ok 4 /file/parent 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/child/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/child/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/child/.dirs/system-config1:/tmp/test_file_BD11Z2/file/child/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/child/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/child/.dirs/system-data1:/tmp/test_file_BD11Z2/file/child/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/child/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/child/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/child/.dirs/runtime 1626s ok 5 /file/child 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/empty-path/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/empty-path/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/empty-path/.dirs/system-config1:/tmp/test_file_BD11Z2/file/empty-path/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/empty-path/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/empty-path/.dirs/system-data1:/tmp/test_file_BD11Z2/file/empty-path/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/empty-path/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/empty-path/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/empty-path/.dirs/runtime 1626s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1626s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1626s ok 6 /file/empty-path 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/type/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/type/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/type/.dirs/system-config1:/tmp/test_file_BD11Z2/file/type/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/type/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/type/.dirs/system-data1:/tmp/test_file_BD11Z2/file/type/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/type/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/type/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/type/.dirs/runtime 1626s ok 7 /file/type 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/parse-name/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/parse-name/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/parse-name/.dirs/system-config1:/tmp/test_file_BD11Z2/file/parse-name/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/parse-name/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/parse-name/.dirs/system-data1:/tmp/test_file_BD11Z2/file/parse-name/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/parse-name/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/parse-name/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/parse-name/.dirs/runtime 1626s ok 8 /file/parse-name 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/replace-load/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/replace-load/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/replace-load/.dirs/system-config1:/tmp/test_file_BD11Z2/file/replace-load/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/replace-load/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/replace-load/.dirs/system-data1:/tmp/test_file_BD11Z2/file/replace-load/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/replace-load/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/replace-load/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/replace-load/.dirs/runtime 1626s ok 9 /file/replace-load 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/replace-cancel/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/replace-cancel/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_BD11Z2/file/replace-cancel/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/replace-cancel/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_BD11Z2/file/replace-cancel/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/replace-cancel/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/replace-cancel/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/replace-cancel/.dirs/runtime 1626s # Bug Reference: https://bugzilla.gnome.org/629301 1626s ok 10 /file/replace-cancel 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/replace-symlink/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/replace-symlink/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_BD11Z2/file/replace-symlink/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/replace-symlink/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_BD11Z2/file/replace-symlink/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/replace-symlink/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/replace-symlink/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/replace-symlink/.dirs/runtime 1626s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1626s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1626s # Using temporary directory /tmp/test_file_BD11Z2/g_file_replace_symlink_9AB2Z2 1626s ok 11 /file/replace-symlink 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/async-new-tmp/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/async-new-tmp/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_BD11Z2/file/async-new-tmp/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/async-new-tmp/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_BD11Z2/file/async-new-tmp/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/async-new-tmp/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/async-new-tmp/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/async-new-tmp/.dirs/runtime 1626s ok 12 /file/async-new-tmp 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/async-new-tmp-dir/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/async-new-tmp-dir/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_BD11Z2/file/async-new-tmp-dir/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/async-new-tmp-dir/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_BD11Z2/file/async-new-tmp-dir/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/async-new-tmp-dir/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/async-new-tmp-dir/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/async-new-tmp-dir/.dirs/runtime 1626s ok 13 /file/async-new-tmp-dir 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/async-delete/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/async-delete/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/async-delete/.dirs/system-config1:/tmp/test_file_BD11Z2/file/async-delete/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/async-delete/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/async-delete/.dirs/system-data1:/tmp/test_file_BD11Z2/file/async-delete/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/async-delete/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/async-delete/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/async-delete/.dirs/runtime 1626s ok 14 /file/async-delete 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/async-make-symlink/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/async-make-symlink/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_BD11Z2/file/async-make-symlink/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/async-make-symlink/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_BD11Z2/file/async-make-symlink/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/async-make-symlink/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/async-make-symlink/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/async-make-symlink/.dirs/runtime 1626s ok 15 /file/async-make-symlink 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/copy-preserve-mode/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/copy-preserve-mode/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_BD11Z2/file/copy-preserve-mode/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/copy-preserve-mode/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_BD11Z2/file/copy-preserve-mode/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/copy-preserve-mode/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/copy-preserve-mode/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/copy-preserve-mode/.dirs/runtime 1626s # Current umask: 2 1626s # Vector 0 1626s # Vector 1 1626s # Vector 2 1626s # Vector 3 1626s # Vector 4 1626s # Vector 5 1626s # Vector 6 1626s # Vector 7 1626s # Vector 8 1626s # Vector 9 1626s # Vector 10 1626s ok 16 /file/copy-preserve-mode 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/copy-async-with-closures/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/copy-async-with-closures/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_BD11Z2/file/copy-async-with-closures/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/copy-async-with-closures/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_BD11Z2/file/copy-async-with-closures/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/copy-async-with-closures/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/copy-async-with-closures/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/copy-async-with-closures/.dirs/runtime 1626s ok 17 /file/copy-async-with-closures 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/measure/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/measure/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/measure/.dirs/system-config1:/tmp/test_file_BD11Z2/file/measure/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/measure/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/measure/.dirs/system-data1:/tmp/test_file_BD11Z2/file/measure/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/measure/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/measure/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/measure/.dirs/runtime 1626s ok 18 /file/measure 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/measure-async/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/measure-async/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/measure-async/.dirs/system-config1:/tmp/test_file_BD11Z2/file/measure-async/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/measure-async/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/measure-async/.dirs/system-data1:/tmp/test_file_BD11Z2/file/measure-async/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/measure-async/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/measure-async/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/measure-async/.dirs/runtime 1626s ok 19 /file/measure-async 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/load-bytes/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/load-bytes/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/load-bytes/.dirs/system-config1:/tmp/test_file_BD11Z2/file/load-bytes/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/load-bytes/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/load-bytes/.dirs/system-data1:/tmp/test_file_BD11Z2/file/load-bytes/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/load-bytes/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/load-bytes/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/load-bytes/.dirs/runtime 1626s ok 20 /file/load-bytes 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/load-bytes-async/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/load-bytes-async/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_BD11Z2/file/load-bytes-async/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/load-bytes-async/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_BD11Z2/file/load-bytes-async/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/load-bytes-async/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/load-bytes-async/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/load-bytes-async/.dirs/runtime 1626s ok 21 /file/load-bytes-async 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/load-bytes-4gb/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/load-bytes-4gb/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_BD11Z2/file/load-bytes-4gb/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/load-bytes-4gb/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_BD11Z2/file/load-bytes-4gb/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/load-bytes-4gb/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/load-bytes-4gb/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/load-bytes-4gb/.dirs/runtime 1626s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/load-contents-4gb/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/load-contents-4gb/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_BD11Z2/file/load-contents-4gb/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/load-contents-4gb/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_BD11Z2/file/load-contents-4gb/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/load-contents-4gb/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/load-contents-4gb/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/load-contents-4gb/.dirs/runtime 1626s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/load-contents-4gb-async/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/load-contents-4gb-async/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_BD11Z2/file/load-contents-4gb-async/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/load-contents-4gb-async/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_BD11Z2/file/load-contents-4gb-async/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/load-contents-4gb-async/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/load-contents-4gb-async/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/load-contents-4gb-async/.dirs/runtime 1626s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/writev/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/writev/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/writev/.dirs/system-config1:/tmp/test_file_BD11Z2/file/writev/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/writev/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/writev/.dirs/system-data1:/tmp/test_file_BD11Z2/file/writev/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/writev/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/writev/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/writev/.dirs/runtime 1626s ok 25 /file/writev 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/build-attribute-list-for-copy/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/build-attribute-list-for-copy/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_BD11Z2/file/build-attribute-list-for-copy/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/build-attribute-list-for-copy/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_BD11Z2/file/build-attribute-list-for-copy/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/build-attribute-list-for-copy/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/build-attribute-list-for-copy/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/build-attribute-list-for-copy/.dirs/runtime 1626s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1626s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1626s # 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::* 1626s # 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::* 1626s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1626s # Attributes for copy: standard::size,xattr::* 1626s # Attributes for copy: standard::size,unix::mode,xattr::* 1626s ok 26 /file/build-attribute-list-for-copy 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/move_async/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/move_async/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/move_async/.dirs/system-config1:/tmp/test_file_BD11Z2/file/move_async/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/move_async/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/move_async/.dirs/system-data1:/tmp/test_file_BD11Z2/file/move_async/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/move_async/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/move_async/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/move_async/.dirs/runtime 1626s ok 27 /file/move_async 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/move-async-with-closures/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/move-async-with-closures/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_BD11Z2/file/move-async-with-closures/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/move-async-with-closures/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_BD11Z2/file/move-async-with-closures/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/move-async-with-closures/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/move-async-with-closures/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/move-async-with-closures/.dirs/runtime 1626s ok 28 /file/move-async-with-closures 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/query-zero-length-content-type/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/query-zero-length-content-type/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_BD11Z2/file/query-zero-length-content-type/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/query-zero-length-content-type/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_BD11Z2/file/query-zero-length-content-type/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/query-zero-length-content-type/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/query-zero-length-content-type/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/query-zero-length-content-type/.dirs/runtime 1626s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1626s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1626s ok 29 /file/query-zero-length-content-type 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/runtime 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/data/applications 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/config 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/config 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/config 1626s ok 30 /file/query-default-handler-file 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/runtime 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/data/applications 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/config 1626s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_BD11Z2/file/query-default-handler-file/.dirs/config to /tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/config 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/config 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/config 1626s ok 31 /file/query-default-handler-file-async 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/runtime 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/data/applications 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/config 1626s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_BD11Z2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/config 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/config 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/config 1626s ok 32 /file/query-default-handler-uri 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/runtime 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/data/applications 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/config 1626s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_BD11Z2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/config 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/config 1626s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BD11Z2/file/query-default-handler-uri-async/.dirs/config 1626s ok 33 /file/query-default-handler-uri-async 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/enumerator-cancellation/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/enumerator-cancellation/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_BD11Z2/file/enumerator-cancellation/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/enumerator-cancellation/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_BD11Z2/file/enumerator-cancellation/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/enumerator-cancellation/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/enumerator-cancellation/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/enumerator-cancellation/.dirs/runtime 1626s ok 34 /file/enumerator-cancellation 1626s # Start of async-create-delete tests 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/async-create-delete/0/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/0/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_BD11Z2/file/async-create-delete/0/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/0/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_BD11Z2/file/async-create-delete/0/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/0/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/0/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/async-create-delete/0/.dirs/runtime 1626s ok 35 /file/async-create-delete/0 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/async-create-delete/1/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/1/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_BD11Z2/file/async-create-delete/1/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/1/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_BD11Z2/file/async-create-delete/1/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/1/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/1/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/async-create-delete/1/.dirs/runtime 1626s ok 36 /file/async-create-delete/1 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/async-create-delete/10/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/10/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_BD11Z2/file/async-create-delete/10/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/10/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_BD11Z2/file/async-create-delete/10/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/10/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/10/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/async-create-delete/10/.dirs/runtime 1626s ok 37 /file/async-create-delete/10 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/async-create-delete/25/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/25/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_BD11Z2/file/async-create-delete/25/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/25/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_BD11Z2/file/async-create-delete/25/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/25/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/25/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/async-create-delete/25/.dirs/runtime 1626s ok 38 /file/async-create-delete/25 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/async-create-delete/4096/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/4096/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_BD11Z2/file/async-create-delete/4096/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/4096/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_BD11Z2/file/async-create-delete/4096/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/4096/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/async-create-delete/4096/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/async-create-delete/4096/.dirs/runtime 1626s ok 39 /file/async-create-delete/4096 1626s # End of async-create-delete tests 1626s # Start of replace-symlink tests 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/replace-symlink/using-etag/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/replace-symlink/using-etag/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_BD11Z2/file/replace-symlink/using-etag/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/replace-symlink/using-etag/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_BD11Z2/file/replace-symlink/using-etag/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/replace-symlink/using-etag/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/replace-symlink/using-etag/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/replace-symlink/using-etag/.dirs/runtime 1626s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1626s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1626s # Using temporary directory /tmp/test_file_BD11Z2/g_file_replace_symlink_using_etag_7FRNZ2 1627s # Executing: glib/file.test 1628s ok 40 /file/replace-symlink/using-etag 1628s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1628s # End of replace-symlink tests 1628s # Start of replace tests 1628s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/replace/write-only/.dirs/home 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/replace/write-only/.dirs/cache 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_BD11Z2/file/replace/write-only/.dirs/system-config2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/replace/write-only/.dirs/config 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_BD11Z2/file/replace/write-only/.dirs/system-data2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/replace/write-only/.dirs/data 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/replace/write-only/.dirs/state 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/replace/write-only/.dirs/runtime 1628s # /file/replace/write-only summary: Test various situations for g_file_replace() 1628s # Current umask: 2 1628s # Test 0, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_12TNZ2 1628s # Test 1, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_QOUNZ2 1628s # Test 2, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_KSWNZ2 1628s # Test 3, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_45XNZ2 1628s # Test 4, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_YNYNZ2 1628s # Test 5, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_WGYNZ2 1628s # Test 6, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_92ZNZ2 1628s # Test 7, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_IQ2NZ2 1628s # Test 8, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_BF2NZ2 1628s # Test 9, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_OZ2NZ2 1628s # Test 10, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_5Z3NZ2 1628s # Test 11, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_YX5NZ2 1628s # Test 12, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_NK6NZ2 1628s # Test 13, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_6D6NZ2 1628s # Test 14, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_TO8NZ2 1628s # Test 15, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_MK9NZ2 1628s # Test 16, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_REBOZ2 1628s # Test 17, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_AICOZ2 1628s # Test 18, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_9HDOZ2 1628s # Test 19, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_39EOZ2 1628s # Test 20, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_ARGOZ2 1628s # Test 21, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_WKIOZ2 1628s # Test 22, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_MOKOZ2 1628s # Test 23, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_E9KOZ2 1628s # Test 24, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_RIMOZ2 1628s # Test 25, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_GCNOZ2 1628s # Test 26, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_1UNOZ2 1628s # Test 27, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_JCOOZ2 1628s # Test 28, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_DFPOZ2 1628s # Test 29, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_M7QOZ2 1628s # Test 30, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_ZXQOZ2 1628s # Test 31, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_0OROZ2 1628s # Test 32, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_CISOZ2 1628s # Test 33, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_QEUOZ2 1628s # Test 34, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_08TOZ2 1628s # Test 35, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_3UUOZ2 1628s # Test 36, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_PUVOZ2 1628s # Test 37, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_2HXOZ2 1628s # Test 38, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_I4YOZ2 1628s # Test 39, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_SA0OZ2 1628s # Test 40, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_0V1OZ2 1628s # Test 41, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_3X2OZ2 1628s # Test 42, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_5G4OZ2 1628s # Test 43, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_VP5OZ2 1628s # Test 44, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_166OZ2 1628s # Test 45, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_WR7OZ2 1628s # Test 46, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_QH9OZ2 1628s # Test 47, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_W48OZ2 1628s # Test 48, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_F1APZ2 1628s # We do not have CAP_DAC_OVERRIDE or equivalent 1628s ok 41 /file/replace/write-only 1628s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/replace/read-write/.dirs/home 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/replace/read-write/.dirs/cache 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_BD11Z2/file/replace/read-write/.dirs/system-config2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/replace/read-write/.dirs/config 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_BD11Z2/file/replace/read-write/.dirs/system-data2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/replace/read-write/.dirs/data 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/replace/read-write/.dirs/state 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/replace/read-write/.dirs/runtime 1628s # /file/replace/read-write summary: Test various situations for g_file_replace() 1628s # Current umask: 2 1628s # Test 0, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_VABPZ2 1628s # Test 1, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_V8APZ2 1628s # Test 2, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_QDCPZ2 1628s # Test 3, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_KGEPZ2 1628s # Test 4, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_WCEPZ2 1628s # Test 5, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_7SEPZ2 1628s # Test 6, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_AFGPZ2 1628s # Test 7, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_BFJPZ2 1628s # Test 8, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_WWJPZ2 1628s # Test 9, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_VVJPZ2 1628s # Test 10, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_62LPZ2 1628s # Test 11, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_KNNPZ2 1628s # Test 12, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_22NPZ2 1628s # Test 13, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_QWNPZ2 1628s # Test 14, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_0JPPZ2 1628s # Test 15, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_8KRPZ2 1628s # Test 16, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_GXSPZ2 1628s # Test 17, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_DXUPZ2 1628s # Test 18, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_EVWPZ2 1628s # Test 19, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_BXYPZ2 1628s # Test 20, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_GV0PZ2 1628s # Test 21, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_3D3PZ2 1628s # Test 22, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_JB5PZ2 1628s # Test 23, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_3W5PZ2 1628s # Test 24, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_JW7PZ2 1628s # Test 25, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_098PZ2 1628s # Test 26, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_CQ9PZ2 1628s # Test 27, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_PL9PZ2 1628s # Test 28, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_N9AQZ2 1628s # Test 29, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_9OCQZ2 1628s # Test 30, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_W7CQZ2 1628s # Test 31, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_I6CQZ2 1628s # Test 32, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_XCFQZ2 1628s # Test 33, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_3OGQZ2 1628s # Test 34, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_1BHQZ2 1628s # Test 35, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_PSHQZ2 1628s # Test 36, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_YBJQZ2 1628s # Test 37, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_6XKQZ2 1628s # Test 38, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_7DMQZ2 1628s # Test 39, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_VOOQZ2 1628s # Test 40, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_M8QQZ2 1628s # Test 41, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_FATQZ2 1628s # Test 42, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_U1UQZ2 1628s # Test 43, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_96WQZ2 1628s # Test 44, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_GJYQZ2 1628s # Test 45, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_V4YQZ2 1628s # Test 46, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_FL0QZ2 1628s # Test 47, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_200QZ2 1628s # Test 48, using temporary directory /tmp/test_file_BD11Z2/g_file_replace_OJ2QZ2 1628s # We do not have CAP_DAC_OVERRIDE or equivalent 1628s ok 42 /file/replace/read-write 1628s # End of replace tests 1628s # Start of copy tests 1628s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/copy/progress/.dirs/home 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/copy/progress/.dirs/cache 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/copy/progress/.dirs/system-config1:/tmp/test_file_BD11Z2/file/copy/progress/.dirs/system-config2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/copy/progress/.dirs/config 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/copy/progress/.dirs/system-data1:/tmp/test_file_BD11Z2/file/copy/progress/.dirs/system-data2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/copy/progress/.dirs/data 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/copy/progress/.dirs/state 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/copy/progress/.dirs/runtime 1628s ok 43 /file/copy/progress 1628s # End of copy tests 1628s # Start of writev tests 1628s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/writev/no-bytes-written/.dirs/home 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/writev/no-bytes-written/.dirs/cache 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_BD11Z2/file/writev/no-bytes-written/.dirs/system-config2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/writev/no-bytes-written/.dirs/config 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_BD11Z2/file/writev/no-bytes-written/.dirs/system-data2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/writev/no-bytes-written/.dirs/data 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/writev/no-bytes-written/.dirs/state 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/writev/no-bytes-written/.dirs/runtime 1628s ok 44 /file/writev/no-bytes-written 1628s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/writev/no-vectors/.dirs/home 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/writev/no-vectors/.dirs/cache 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_BD11Z2/file/writev/no-vectors/.dirs/system-config2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/writev/no-vectors/.dirs/config 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_BD11Z2/file/writev/no-vectors/.dirs/system-data2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/writev/no-vectors/.dirs/data 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/writev/no-vectors/.dirs/state 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/writev/no-vectors/.dirs/runtime 1628s ok 45 /file/writev/no-vectors 1628s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/writev/empty-vectors/.dirs/home 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/writev/empty-vectors/.dirs/cache 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_BD11Z2/file/writev/empty-vectors/.dirs/system-config2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/writev/empty-vectors/.dirs/config 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_BD11Z2/file/writev/empty-vectors/.dirs/system-data2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/writev/empty-vectors/.dirs/data 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/writev/empty-vectors/.dirs/state 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/writev/empty-vectors/.dirs/runtime 1628s ok 46 /file/writev/empty-vectors 1628s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/writev/too-big-vectors/.dirs/home 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/writev/too-big-vectors/.dirs/cache 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_BD11Z2/file/writev/too-big-vectors/.dirs/system-config2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/writev/too-big-vectors/.dirs/config 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_BD11Z2/file/writev/too-big-vectors/.dirs/system-data2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/writev/too-big-vectors/.dirs/data 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/writev/too-big-vectors/.dirs/state 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/writev/too-big-vectors/.dirs/runtime 1628s ok 47 /file/writev/too-big-vectors 1628s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/writev/async/.dirs/home 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/writev/async/.dirs/cache 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/writev/async/.dirs/system-config1:/tmp/test_file_BD11Z2/file/writev/async/.dirs/system-config2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/writev/async/.dirs/config 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/writev/async/.dirs/system-data1:/tmp/test_file_BD11Z2/file/writev/async/.dirs/system-data2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/writev/async/.dirs/data 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/writev/async/.dirs/state 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/writev/async/.dirs/runtime 1628s ok 48 /file/writev/async 1628s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/writev/async_all/.dirs/home 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/writev/async_all/.dirs/cache 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_BD11Z2/file/writev/async_all/.dirs/system-config2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/writev/async_all/.dirs/config 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_BD11Z2/file/writev/async_all/.dirs/system-data2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/writev/async_all/.dirs/data 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/writev/async_all/.dirs/state 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/writev/async_all/.dirs/runtime 1628s ok 49 /file/writev/async_all 1628s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/writev/async_all-empty-vectors/.dirs/home 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-empty-vectors/.dirs/cache 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_BD11Z2/file/writev/async_all-empty-vectors/.dirs/system-config2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-empty-vectors/.dirs/config 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_BD11Z2/file/writev/async_all-empty-vectors/.dirs/system-data2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-empty-vectors/.dirs/data 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-empty-vectors/.dirs/state 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/writev/async_all-empty-vectors/.dirs/runtime 1628s ok 50 /file/writev/async_all-empty-vectors 1628s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/writev/async_all-no-vectors/.dirs/home 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-no-vectors/.dirs/cache 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_BD11Z2/file/writev/async_all-no-vectors/.dirs/system-config2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-no-vectors/.dirs/config 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_BD11Z2/file/writev/async_all-no-vectors/.dirs/system-data2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-no-vectors/.dirs/data 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-no-vectors/.dirs/state 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/writev/async_all-no-vectors/.dirs/runtime 1628s ok 51 /file/writev/async_all-no-vectors 1628s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/writev/async_all-to-big-vectors/.dirs/home 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-to-big-vectors/.dirs/cache 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_BD11Z2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-to-big-vectors/.dirs/config 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_BD11Z2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-to-big-vectors/.dirs/data 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-to-big-vectors/.dirs/state 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/writev/async_all-to-big-vectors/.dirs/runtime 1628s ok 52 /file/writev/async_all-to-big-vectors 1628s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/writev/async_all-cancellation/.dirs/home 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-cancellation/.dirs/cache 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_BD11Z2/file/writev/async_all-cancellation/.dirs/system-config2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-cancellation/.dirs/config 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_BD11Z2/file/writev/async_all-cancellation/.dirs/system-data2 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-cancellation/.dirs/data 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/writev/async_all-cancellation/.dirs/state 1628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/writev/async_all-cancellation/.dirs/runtime 1628s ok 53 /file/writev/async_all-cancellation 1628s # End of writev tests 1628s # Start of from-uri tests 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/from-uri/ignores-query-string/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/from-uri/ignores-query-string/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_BD11Z2/file/from-uri/ignores-query-string/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/from-uri/ignores-query-string/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_BD11Z2/file/from-uri/ignores-query-string/.dirs/system-data2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/from-uri/ignores-query-string/.dirs/data 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/from-uri/ignores-query-string/.dirs/state 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/from-uri/ignores-query-string/.dirs/runtime 1629s ok 54 /file/from-uri/ignores-query-string 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BD11Z2/file/from-uri/ignores-fragment/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BD11Z2/file/from-uri/ignores-fragment/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BD11Z2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_BD11Z2/file/from-uri/ignores-fragment/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BD11Z2/file/from-uri/ignores-fragment/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BD11Z2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_BD11Z2/file/from-uri/ignores-fragment/.dirs/system-data2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BD11Z2/file/from-uri/ignores-fragment/.dirs/data 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BD11Z2/file/from-uri/ignores-fragment/.dirs/state 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BD11Z2/file/from-uri/ignores-fragment/.dirs/runtime 1629s ok 55 /file/from-uri/ignores-fragment 1629s # End of from-uri tests 1629s # End of file tests 1629s ok - glib/file.test 1629s # Running test: glib/mimeapps.test 1629s TAP version 14 1629s # random seed: R02S0658ff923108707036e9d9370c5c75e8 1629s 1..7 1629s # Start of appinfo tests 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/system-data2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/data 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/state 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/runtime 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/system-data1/applications' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/data/applications' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/data/applications/myapp.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1629s # removing '/tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/data/applications/mimeapps.list' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1629s ok 1 /appinfo/all 1629s # Start of mime tests 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/system-data2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/data 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/state 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/runtime 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/system-data1/applications' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/data/applications' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1629s # removing '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/config 1629s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0XCRZ2/appinfo/all/.dirs/config to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/config 1629s ok 2 /appinfo/mime/api 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/system-data2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/data 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/state 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/runtime 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/system-data1/applications' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/data/applications' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1629s # removing '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/config 1629s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0XCRZ2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/config 1629s ok 3 /appinfo/mime/default 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/system-data2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/data 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/state 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/runtime 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/system-data1/applications' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/data/applications' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1629s # removing '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/config 1629s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/config 1629s ok 4 /appinfo/mime/file 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/system-data2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/data 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/state 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/runtime 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/data/applications' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1629s # removing '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1629s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0XCRZ2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/config 1629s ok 5 /appinfo/mime/scheme-handler 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/system-data2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/data 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/state 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/runtime 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/data/applications' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1629s # removing '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/config 1629s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0XCRZ2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/config 1629s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/config 1629s ok 6 /appinfo/mime/default-last-used 1629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/home 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/cache 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/config 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/data 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/state 1629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1629s # removing '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1629s # creating '/tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1629s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_0XCRZ2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_0XCRZ2/appinfo/mime/ignore-nonexisting/.dirs/config 1629s ok 7 /appinfo/mime/ignore-nonexisting 1629s # End of mime tests 1629s # End of appinfo tests 1629s ok - glib/mimeapps.test 1629s # Running test: glib/collate.test 1629s TAP version 14 1629s # random seed: R02S8cb39575020a531c5f8c71ee1f555bc0 1629s 1..9 1629s # Start of unicode tests 1629s # Start of collate tests 1629s ok 1 /unicode/collate/0 1629s ok 2 /unicode/collate/1 1629s ok 3 /unicode/collate/2 1629s # End of collate tests 1629s # Start of collate-key tests 1629s ok 4 /unicode/collate-key/0 1629s ok 5 /unicode/collate-key/1 1629s ok 6 /unicode/collate-key/2 1629s # End of collate-key tests 1629s # Start of collate-filename tests 1629s ok 7 /unicode/collate-filename/0 1629s ok 8 /unicode/collate-filename/1 1629s ok 9 /unicode/collate-filename/2 1629s # End of collate-filename tests 1629s # End of unicode tests 1629s ok - glib/collate.test 1629s # Running test: glib/live-g-file.test 1629s TAP version 14 1629s # random seed: R02Sd14290ab6d7e18d4af24b07e8251844d 1629s 1..13 1629s # Start of live-g-file tests 1629s # Cleaning target testing structure in 'testdir_live-g-file'... 1629s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1629s ok 1 /live-g-file/prep_clean_structure 1629s # 1629s # Going to create testing structure in 'testdir_live-g-file'... 1629s # Creating directory 'dir1'... 1629s # Creating directory 'dir1/subdir'... 1629s # Creating directory 'dir2'... 1629s # Creating directory 'dir-target'... 1629s # Creating directory 'dir_no-access'... 1629s # Creating directory 'dir_no-write'... 1629s # Creating file 'target-file'... 1629s # Creating file 'normal_file'... 1629s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1629s # Creating file 'executable_file'... 1629s # Creating file 'private_file'... 1629s # Creating file 'normal_file2'... 1629s # Creating file 'readonly_file'... 1629s # Creating file 'UTF_pr?i?lis? z'... 1629s # Creating directory 'dir_pr?i?lis? z'... 1629s # Creating symlink 'lost_symlink' --> 'nowhere'... 1629s # Creating directory 'dir_hidden'... 1629s # Creating file 'dir_hidden/.a-hidden-file'... 1629s # Creating file 'dir_hidden/file-in-.hidden1'... 1629s # Creating file 'dir_hidden/file-in-.hidden2'... 1629s # Creating pattern file... 1630s # done. 1630s ok 2 /live-g-file/create_structure 1630s # Testing sample structure in 'testdir_live-g-file'... 1630s # Testing file 'dir1'... 1630s # Testing file 'dir1/subdir'... 1630s # Testing file 'dir2'... 1630s # Testing file 'dir-target'... 1630s # Testing file 'dir_no-access'... 1630s # Testing file 'dir_no-write'... 1630s # Testing file 'target-file'... 1630s # Testing file 'normal_file'... 1630s # Testing file 'normal_file-symlink'... 1630s # Testing file 'executable_file'... 1630s # Testing file 'private_file'... 1630s # Testing file 'normal_file2'... 1630s # Testing file 'readonly_file'... 1630s # Testing file 'UTF_pr?i?lis? z'... 1630s # Testing file 'dir_pr?i?lis? z'... 1630s # Testing file 'lost_symlink'... 1630s # Testing file 'dir_hidden'... 1630s # Testing file 'dir_hidden/.a-hidden-file'... 1630s # Testing file 'dir_hidden/file-in-.hidden1'... 1630s # Testing file 'dir_hidden/file-in-.hidden2'... 1630s # Testing pattern file... 1630s # read 65536 bytes, total = 65536 of 65536. 1630s ok 3 /live-g-file/test_initial_structure 1630s # Traversing through the sample structure in 'testdir_live-g-file'... 1630s # Found file dir1, relative to root: dir1 1630s # Found file subdir, relative to root: dir1/subdir 1630s # Found file dir2, relative to root: dir2 1630s # Found file dir-target, relative to root: dir-target 1630s # Found file dir_no-access, relative to root: dir_no-access 1630s # Found file dir_no-write, relative to root: dir_no-write 1630s # Found file target-file, relative to root: target-file 1630s # Found file normal_file, relative to root: normal_file 1630s # Found file normal_file-symlink, relative to root: normal_file-symlink 1630s # Found file executable_file, relative to root: executable_file 1630s # Found file private_file, relative to root: private_file 1630s # Found file normal_file2, relative to root: normal_file2 1630s # Found file readonly_file, relative to root: readonly_file 1630s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1630s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1630s # Found file lost_symlink, relative to root: lost_symlink 1630s # Found file dir_hidden, relative to root: dir_hidden 1630s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1630s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1630s # Found file .hidden, relative to root: dir_hidden/.hidden 1630s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1630s # Found file pattern_file, relative to root: pattern_file 1630s ok 4 /live-g-file/test_traverse_structure 1630s # Test enumerate 'testdir_live-g-file'... 1630s # Testing file 'dir_no-access' 1630s # Testing file 'normal_file' 1630s # Testing file 'normal_file-symlink' 1630s # Testing file 'not_exists' 1630s # Testing file 'not_exists' 1630s # Testing file 'not_exists2' 1630s # Testing file 'not_exists3' 1630s # Testing file 'not_exists4' 1630s # Testing file 'dir_no-execute/file' 1630s ok 5 /live-g-file/test_enumerate 1630s # test_open: 'dir1' 1630s # test_open: 'dir_no-access' 1630s # test_open: 'target-file' 1630s # test_open: 'normal_file-symlink' 1630s # test_open: 'executable_file' 1630s # test_open: 'private_file' 1630s # test_open: 'readonly_file' 1630s # test_open: 'UTF_pr?i?lis? z' 1630s # test_open: 'pattern_file' 1630s # test_open: 'not_exists' 1630s # test_open: 'dir_no-execute/file' 1630s # test_open: 'lost_symlink' 1630s ok 6 /live-g-file/test_open 1630s # test_create: 'dir1' 1630s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir1?: Is a directory 1630s # test_create: 'dir1/subdir' 1630s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir1/subdir?: Is a directory 1630s # test_create: 'dir2' 1630s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir2?: File exists 1630s # test_create: 'normal_file' 1630s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/normal_file?: File exists 1630s # test_create: 'executable_file' 1630s # test_create: 'private_file' 1630s # test_create: 'normal_file2' 1630s # test_create: 'UTF_pr?i?lis? z' 1630s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1630s # test_create: 'dir_pr?i?lis? z' 1630s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1630s # test_create: 'pattern_file' 1630s # test_create: 'not_exists2' 1630s # test_create: 'not_exists3' 1630s # test_create: 'not_exists4' 1630s ok 7 /live-g-file/test_create 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1630s # res = 0, error code 25 = Can?t recursively copy directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'dir1/subdir' --> '.' 1630s # res = 0, error code 2 = Target file exists 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'dir1/subdir' --> 'target-file' 1630s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1630s # res = 0, error code 25 = Can?t recursively copy directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1630s # res = 0, error code 25 = Can?t recursively copy directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1630s # res = 0, error code 25 = Can?t recursively copy directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'dir2' --> 'dir-target' 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'dir-target' --> 'dir-target' 1630s # res = 0, error code 25 = Can?t recursively copy directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'dir-target' --> '.' 1630s # res = 0, error code 2 = Target file exists 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'dir-target' --> 'target-file' 1630s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/target-file/dir-target?: Not a directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'dir-target' --> 'not_exists' 1630s # res = 0, error code 25 = Can?t recursively copy directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'dir-target' --> 'dir_no-access' 1630s # res = 0, error code 25 = Can?t recursively copy directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'dir-target' --> 'dir_no-write' 1630s # res = 0, error code 25 = Can?t recursively copy directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'target-file' --> 'dir-target' 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'target-file' --> '.' 1630s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/target-file?: File exists 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'target-file' --> 'target-file' 1630s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/target-file/target-file?: Not a directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'target-file' --> 'not_exists' 1630s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'target-file' --> 'dir_no-access' 1630s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'target-file' --> 'dir_no-write' 1630s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'normal_file-symlink' --> '.' 1630s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/normal_file-symlink: File exists 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1630s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1630s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1630s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1630s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'executable_file' --> 'dir-target' 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'executable_file' --> 'dir-target' 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'executable_file' --> '.' 1630s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/executable_file?: File exists 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'executable_file' --> 'target-file' 1630s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/target-file/executable_file?: Not a directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'executable_file' --> 'not_exists' 1630s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'executable_file' --> 'dir_no-access' 1630s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'executable_file' --> 'dir_no-write' 1630s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'private_file' --> 'dir-target' 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'private_file' --> 'dir-target' 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'private_file' --> '.' 1630s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/private_file?: File exists 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'private_file' --> 'target-file' 1630s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/target-file/private_file?: Not a directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'private_file' --> 'not_exists' 1630s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'private_file' --> 'dir_no-access' 1630s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'private_file' --> 'dir_no-write' 1630s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'normal_file2' --> 'dir-target' 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'normal_file2' --> 'dir-target' 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'normal_file2' --> '.' 1630s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/normal_file2?: File exists 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'normal_file2' --> 'target-file' 1630s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'normal_file2' --> 'not_exists' 1630s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1630s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1630s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1630s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1630s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1630s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1630s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1630s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'pattern_file' --> 'dir-target' 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'pattern_file' --> '.' 1630s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/pattern_file?: File exists 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'pattern_file' --> 'target-file' 1630s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'pattern_file' --> 'not_exists' 1630s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1630s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1630s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'not_exists' --> 'dir-target' 1630s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists?: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'not_exists' --> '.' 1630s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists?: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'not_exists' --> 'target-file' 1630s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists?: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'not_exists' --> 'not_exists' 1630s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists?: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'not_exists' --> 'dir_no-access' 1630s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists?: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'not_exists' --> 'dir_no-write' 1630s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists?: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'not_exists' --> 'dir-target' 1630s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'lost_symlink' --> 'dir-target' 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'lost_symlink' --> '.' 1630s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/lost_symlink: File exists 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'lost_symlink' --> 'target-file' 1630s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'lost_symlink' --> 'not_exists' 1630s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1630s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1630s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1630s ok 8 /live-g-file/test_copy_move 1630s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir1 1630s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir1: Directory not empty 1630s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir2 1630s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir2: No such file or directory 1630s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/executable_file 1630s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/readonly_file 1630s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_pr?i?lis? z 1630s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists 1630s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists: No such file or directory 1630s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists 1630s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/not_exists: No such file or directory 1630s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-execute/file 1630s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1630s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-IOGUZ2/testdir_live-g-file/lost_symlink 1630s ok 9 /live-g-file/test_delete 1630s # We do not have CAP_DAC_OVERRIDE or equivalent 1630s ok 10 /live-g-file/test_make_directory_with_parents 1630s # Cleaning target testing structure in 'testdir_live-g-file'... 1630s # deleting 'dir1' 1630s # deleting 'subdir' 1630s # deleting 'dir-target' 1630s # deleting 'dir2' 1630s # deleting 'target-file' 1630s # deleting 'normal_file-symlink' 1630s # deleting 'executable_file' 1630s # deleting 'private_file' 1630s # deleting 'normal_file2' 1630s # deleting 'UTF_pr?i?lis? z' 1630s # deleting 'pattern_file' 1630s # deleting 'lost_symlink' 1630s # deleting 'dir_no-access' 1630s # deleting 'dir_no-write' 1630s # deleting 'target-file' 1630s # deleting 'normal_file' 1630s # deleting 'normal_file-symlink' 1630s # deleting 'executable_file~' 1630s # deleting 'private_file' 1630s # deleting 'normal_file2~' 1630s # deleting 'UTF_pr?i?lis? z' 1630s # deleting 'dir_hidden' 1630s # deleting '.a-hidden-file' 1630s # deleting 'file-in-.hidden1' 1630s # deleting '.hidden' 1630s # deleting 'file-in-.hidden2' 1630s # deleting 'pattern_file' 1630s # deleting 'normal_file2' 1630s # deleting 'not_exists2' 1630s # deleting 'not_exists3' 1630s # deleting 'not_exists4' 1630s # deleting 'a' 1630s ok 11 /live-g-file/final_clean 1630s # Start of test_unix_is_mountpoint tests 1630s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1630s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1630s # End of test_unix_is_mountpoint tests 1630s # End of live-g-file tests 1630s ok - glib/live-g-file.test 1630s # Running test: glib/hmac.test 1630s TAP version 14 1630s # random seed: R02S8d9aaa2c9b6108e562306fc144a62eb6 1630s 1..37 1630s # Start of hmac tests 1630s ok 1 /hmac/sha1-1 1630s ok 2 /hmac/sha1-2 1630s ok 3 /hmac/sha1-3 1630s ok 4 /hmac/sha1-4 1630s ok 5 /hmac/sha1-5 1630s ok 6 /hmac/sha1-6 1630s ok 7 /hmac/sha1-7 1630s ok 8 /hmac/sha256-1 1630s ok 9 /hmac/sha256-2 1630s ok 10 /hmac/sha256-3 1630s ok 11 /hmac/sha256-4 1630s ok 12 /hmac/sha256-5 1630s ok 13 /hmac/sha256-6 1630s ok 14 /hmac/sha384-1 1630s ok 15 /hmac/sha384-2 1630s ok 16 /hmac/sha384-3 1630s ok 17 /hmac/sha384-4 1630s ok 18 /hmac/sha384-5 1630s ok 19 /hmac/sha384-6 1630s ok 20 /hmac/sha512-1 1630s ok 21 /hmac/sha512-2 1630s ok 22 /hmac/sha512-3 1630s ok 23 /hmac/sha512-4 1630s ok 24 /hmac/sha512-5 1630s ok 25 /hmac/sha512-6 1630s ok 26 /hmac/md5-1 1630s ok 27 /hmac/md5-2 1630s ok 28 /hmac/md5-3 1630s ok 29 /hmac/md5-4 1630s ok 30 /hmac/md5-5 1630s ok 31 /hmac/md5-6 1630s ok 32 /hmac/md5-7 1630s ok 33 /hmac/ref-unref 1630s ok 34 /hmac/copy 1630s ok 35 /hmac/for-data 1630s ok 36 /hmac/for-string 1630s ok 37 /hmac/for-bytes 1630s # End of hmac tests 1630s ok - glib/hmac.test 1630s # Running test: glib/macros-c-17.test 1630s TAP version 14 1630s # random seed: R02S628505d6af653a74f5290c3810f578b2 1630s 1..4 1630s # Start of C tests 1630s ok 1 /C/standard-17 1630s # End of C tests 1630s # Start of alignof tests 1630s ok 2 /alignof/fallback 1630s # End of alignof tests 1630s # Start of assert tests 1630s ok 3 /assert/static 1630s # End of assert tests 1630s # Start of struct tests 1630s ok 4 /struct/sizeof_member 1630s # End of struct tests 1630s ok - glib/macros-c-17.test 1630s # Running test: glib/test-printf.test 1630s TAP version 14 1630s # random seed: R02Sfbaaa9ece79019f23f5aca86d7cfdaf6 1630s 1..22 1630s # Start of snprintf tests 1630s ok 1 /snprintf/retval-and-trunc 1630s ok 2 /snprintf/%d 1630s ok 3 /snprintf/%d-invalid 1630s ok 4 /snprintf/%o 1630s ok 5 /snprintf/%u 1630s ok 6 /snprintf/%x 1630s ok 7 /snprintf/%X 1630s ok 8 /snprintf/%f 1630s ok 9 /snprintf/%e 1630s ok 10 /snprintf/%c 1630s ok 11 /snprintf/%s 1630s ok 12 /snprintf/%n 1630s ok 13 /snprintf/test-percent 1630s ok 14 /snprintf/test-positional-params 1630s ok 15 /snprintf/test-64bit 1630s # End of snprintf tests 1630s # Start of printf tests 1630s ok 16 /printf/test-percent 1630s ok 17 /printf/test-positional-params 1630s ok 18 /printf/test-64bit 1630s # Start of test-64bit tests 1630s # Start of subprocess tests 1630s # End of subprocess tests 1630s # End of test-64bit tests 1630s # End of printf tests 1630s # Start of sprintf tests 1630s ok 19 /sprintf/test-positional-params 1630s ok 20 /sprintf/upper-bound 1630s # End of sprintf tests 1630s # Start of vasprintf tests 1630s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1630s ok 21 /vasprintf/invalid-format-placeholder 1630s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1630s ok 22 /vasprintf/invalid-wide-string 1630s # End of vasprintf tests 1630s ok - glib/test-printf.test 1630s # Running test: glib/checksum.test 1630s TAP version 14 1630s # random seed: R02S909af658ab267519ef318929bed7ae6f 1630s 1..1851 1630s # Start of checksum tests 1630s ok 1 /checksum/unsupported 1630s # Start of MD5 tests 1630s ok 2 /checksum/MD5/0 1630s ok 3 /checksum/MD5/1 1630s ok 4 /checksum/MD5/2 1630s ok 5 /checksum/MD5/3 1630s ok 6 /checksum/MD5/4 1630s ok 7 /checksum/MD5/5 1630s ok 8 /checksum/MD5/6 1630s ok 9 /checksum/MD5/7 1630s ok 10 /checksum/MD5/8 1630s ok 11 /checksum/MD5/9 1630s ok 12 /checksum/MD5/10 1630s ok 13 /checksum/MD5/11 1630s ok 14 /checksum/MD5/12 1630s ok 15 /checksum/MD5/13 1630s ok 16 /checksum/MD5/14 1630s ok 17 /checksum/MD5/15 1630s ok 18 /checksum/MD5/16 1630s ok 19 /checksum/MD5/17 1630s ok 20 /checksum/MD5/18 1630s ok 21 /checksum/MD5/19 1630s ok 22 /checksum/MD5/20 1630s ok 23 /checksum/MD5/21 1630s ok 24 /checksum/MD5/22 1630s ok 25 /checksum/MD5/23 1630s ok 26 /checksum/MD5/24 1630s ok 27 /checksum/MD5/25 1630s ok 28 /checksum/MD5/26 1630s ok 29 /checksum/MD5/27 1630s ok 30 /checksum/MD5/28 1630s ok 31 /checksum/MD5/29 1630s ok 32 /checksum/MD5/30 1630s ok 33 /checksum/MD5/31 1630s ok 34 /checksum/MD5/32 1630s ok 35 /checksum/MD5/33 1630s ok 36 /checksum/MD5/34 1630s ok 37 /checksum/MD5/35 1630s ok 38 /checksum/MD5/36 1630s ok 39 /checksum/MD5/37 1630s ok 40 /checksum/MD5/38 1630s ok 41 /checksum/MD5/39 1630s ok 42 /checksum/MD5/40 1630s ok 43 /checksum/MD5/41 1630s ok 44 /checksum/MD5/42 1630s ok 45 /checksum/MD5/43 1630s ok 46 /checksum/MD5/44 1630s ok 47 /checksum/MD5/45 1630s ok 48 /checksum/MD5/46 1630s ok 49 /checksum/MD5/47 1630s ok 50 /checksum/MD5/48 1630s ok 51 /checksum/MD5/49 1630s ok 52 /checksum/MD5/50 1630s ok 53 /checksum/MD5/51 1630s ok 54 /checksum/MD5/52 1630s ok 55 /checksum/MD5/53 1630s ok 56 /checksum/MD5/54 1630s ok 57 /checksum/MD5/55 1630s ok 58 /checksum/MD5/56 1630s ok 59 /checksum/MD5/57 1630s ok 60 /checksum/MD5/58 1630s ok 61 /checksum/MD5/59 1630s ok 62 /checksum/MD5/60 1630s ok 63 /checksum/MD5/61 1630s ok 64 /checksum/MD5/62 1630s ok 65 /checksum/MD5/63 1630s ok 66 /checksum/MD5/64 1630s ok 67 /checksum/MD5/65 1630s ok 68 /checksum/MD5/66 1630s ok 69 /checksum/MD5/67 1630s ok 70 /checksum/MD5/68 1630s ok 71 /checksum/MD5/69 1630s ok 72 /checksum/MD5/70 1630s ok 73 /checksum/MD5/71 1630s ok 74 /checksum/MD5/72 1630s ok 75 /checksum/MD5/73 1630s ok 76 /checksum/MD5/74 1630s ok 77 /checksum/MD5/75 1630s ok 78 /checksum/MD5/76 1630s ok 79 /checksum/MD5/77 1630s ok 80 /checksum/MD5/78 1630s ok 81 /checksum/MD5/79 1630s ok 82 /checksum/MD5/80 1630s ok 83 /checksum/MD5/81 1630s ok 84 /checksum/MD5/82 1630s ok 85 /checksum/MD5/83 1630s ok 86 /checksum/MD5/84 1630s ok 87 /checksum/MD5/85 1630s ok 88 /checksum/MD5/86 1630s ok 89 /checksum/MD5/87 1630s ok 90 /checksum/MD5/88 1630s ok 91 /checksum/MD5/89 1630s ok 92 /checksum/MD5/90 1630s ok 93 /checksum/MD5/91 1630s ok 94 /checksum/MD5/92 1630s ok 95 /checksum/MD5/93 1630s ok 96 /checksum/MD5/94 1630s ok 97 /checksum/MD5/95 1630s ok 98 /checksum/MD5/96 1630s ok 99 /checksum/MD5/97 1630s ok 100 /checksum/MD5/98 1630s ok 101 /checksum/MD5/99 1630s ok 102 /checksum/MD5/100 1630s ok 103 /checksum/MD5/101 1630s ok 104 /checksum/MD5/102 1630s ok 105 /checksum/MD5/103 1630s ok 106 /checksum/MD5/104 1630s ok 107 /checksum/MD5/105 1630s ok 108 /checksum/MD5/106 1630s ok 109 /checksum/MD5/107 1630s ok 110 /checksum/MD5/108 1630s ok 111 /checksum/MD5/109 1630s ok 112 /checksum/MD5/110 1630s ok 113 /checksum/MD5/111 1630s ok 114 /checksum/MD5/112 1630s ok 115 /checksum/MD5/113 1630s ok 116 /checksum/MD5/114 1630s ok 117 /checksum/MD5/115 1630s ok 118 /checksum/MD5/116 1630s ok 119 /checksum/MD5/117 1630s ok 120 /checksum/MD5/118 1630s ok 121 /checksum/MD5/119 1630s ok 122 /checksum/MD5/120 1630s ok 123 /checksum/MD5/121 1630s ok 124 /checksum/MD5/122 1630s ok 125 /checksum/MD5/123 1630s ok 126 /checksum/MD5/124 1630s ok 127 /checksum/MD5/125 1630s ok 128 /checksum/MD5/126 1630s ok 129 /checksum/MD5/127 1630s ok 130 /checksum/MD5/128 1630s ok 131 /checksum/MD5/129 1630s ok 132 /checksum/MD5/130 1630s ok 133 /checksum/MD5/131 1630s ok 134 /checksum/MD5/132 1630s ok 135 /checksum/MD5/133 1630s ok 136 /checksum/MD5/134 1630s ok 137 /checksum/MD5/135 1630s ok 138 /checksum/MD5/136 1630s ok 139 /checksum/MD5/137 1630s ok 140 /checksum/MD5/138 1630s ok 141 /checksum/MD5/139 1630s ok 142 /checksum/MD5/140 1630s ok 143 /checksum/MD5/141 1630s ok 144 /checksum/MD5/142 1630s ok 145 /checksum/MD5/143 1630s ok 146 /checksum/MD5/144 1630s ok 147 /checksum/MD5/145 1630s ok 148 /checksum/MD5/146 1630s ok 149 /checksum/MD5/147 1630s ok 150 /checksum/MD5/148 1630s ok 151 /checksum/MD5/149 1630s ok 152 /checksum/MD5/150 1630s ok 153 /checksum/MD5/151 1630s ok 154 /checksum/MD5/152 1630s ok 155 /checksum/MD5/153 1630s ok 156 /checksum/MD5/154 1630s ok 157 /checksum/MD5/155 1630s ok 158 /checksum/MD5/156 1630s ok 159 /checksum/MD5/157 1630s ok 160 /checksum/MD5/158 1630s ok 161 /checksum/MD5/159 1630s ok 162 /checksum/MD5/160 1630s ok 163 /checksum/MD5/161 1630s ok 164 /checksum/MD5/162 1630s ok 165 /checksum/MD5/163 1630s ok 166 /checksum/MD5/164 1630s ok 167 /checksum/MD5/165 1630s ok 168 /checksum/MD5/166 1630s ok 169 /checksum/MD5/167 1630s ok 170 /checksum/MD5/168 1630s ok 171 /checksum/MD5/169 1630s ok 172 /checksum/MD5/170 1630s ok 173 /checksum/MD5/171 1630s ok 174 /checksum/MD5/172 1630s ok 175 /checksum/MD5/173 1630s ok 176 /checksum/MD5/174 1630s ok 177 /checksum/MD5/175 1630s ok 178 /checksum/MD5/176 1630s ok 179 /checksum/MD5/177 1630s ok 180 /checksum/MD5/178 1630s ok 181 /checksum/MD5/179 1630s ok 182 /checksum/MD5/180 1630s ok 183 /checksum/MD5/181 1630s ok 184 /checksum/MD5/182 1630s ok 185 /checksum/MD5/183 1630s ok 186 /checksum/MD5/string 1630s ok 187 /checksum/MD5/bytes 1630s # Start of reset tests 1630s ok 188 /checksum/MD5/reset/0 1630s ok 189 /checksum/MD5/reset/1 1630s ok 190 /checksum/MD5/reset/2 1630s ok 191 /checksum/MD5/reset/3 1630s ok 192 /checksum/MD5/reset/4 1630s ok 193 /checksum/MD5/reset/5 1630s ok 194 /checksum/MD5/reset/6 1630s ok 195 /checksum/MD5/reset/7 1630s ok 196 /checksum/MD5/reset/8 1630s ok 197 /checksum/MD5/reset/9 1630s ok 198 /checksum/MD5/reset/10 1630s ok 199 /checksum/MD5/reset/11 1630s ok 200 /checksum/MD5/reset/12 1630s ok 201 /checksum/MD5/reset/13 1630s ok 202 /checksum/MD5/reset/14 1630s ok 203 /checksum/MD5/reset/15 1630s ok 204 /checksum/MD5/reset/16 1630s ok 205 /checksum/MD5/reset/17 1630s ok 206 /checksum/MD5/reset/18 1630s ok 207 /checksum/MD5/reset/19 1630s ok 208 /checksum/MD5/reset/20 1630s ok 209 /checksum/MD5/reset/21 1630s ok 210 /checksum/MD5/reset/22 1630s ok 211 /checksum/MD5/reset/23 1630s ok 212 /checksum/MD5/reset/24 1630s ok 213 /checksum/MD5/reset/25 1630s ok 214 /checksum/MD5/reset/26 1630s ok 215 /checksum/MD5/reset/27 1630s ok 216 /checksum/MD5/reset/28 1630s ok 217 /checksum/MD5/reset/29 1630s ok 218 /checksum/MD5/reset/30 1630s ok 219 /checksum/MD5/reset/31 1630s ok 220 /checksum/MD5/reset/32 1630s ok 221 /checksum/MD5/reset/33 1630s ok 222 /checksum/MD5/reset/34 1630s ok 223 /checksum/MD5/reset/35 1630s ok 224 /checksum/MD5/reset/36 1630s ok 225 /checksum/MD5/reset/37 1630s ok 226 /checksum/MD5/reset/38 1630s ok 227 /checksum/MD5/reset/39 1630s ok 228 /checksum/MD5/reset/40 1630s ok 229 /checksum/MD5/reset/41 1630s ok 230 /checksum/MD5/reset/42 1630s ok 231 /checksum/MD5/reset/43 1630s ok 232 /checksum/MD5/reset/44 1630s ok 233 /checksum/MD5/reset/45 1630s ok 234 /checksum/MD5/reset/46 1630s ok 235 /checksum/MD5/reset/47 1630s ok 236 /checksum/MD5/reset/48 1630s ok 237 /checksum/MD5/reset/49 1630s ok 238 /checksum/MD5/reset/50 1630s ok 239 /checksum/MD5/reset/51 1630s ok 240 /checksum/MD5/reset/52 1630s ok 241 /checksum/MD5/reset/53 1630s ok 242 /checksum/MD5/reset/54 1630s ok 243 /checksum/MD5/reset/55 1630s ok 244 /checksum/MD5/reset/56 1630s ok 245 /checksum/MD5/reset/57 1630s ok 246 /checksum/MD5/reset/58 1630s ok 247 /checksum/MD5/reset/59 1630s ok 248 /checksum/MD5/reset/60 1630s ok 249 /checksum/MD5/reset/61 1630s ok 250 /checksum/MD5/reset/62 1630s ok 251 /checksum/MD5/reset/63 1630s ok 252 /checksum/MD5/reset/64 1630s ok 253 /checksum/MD5/reset/65 1630s ok 254 /checksum/MD5/reset/66 1630s ok 255 /checksum/MD5/reset/67 1630s ok 256 /checksum/MD5/reset/68 1630s ok 257 /checksum/MD5/reset/69 1630s ok 258 /checksum/MD5/reset/70 1630s ok 259 /checksum/MD5/reset/71 1630s ok 260 /checksum/MD5/reset/72 1630s ok 261 /checksum/MD5/reset/73 1630s ok 262 /checksum/MD5/reset/74 1630s ok 263 /checksum/MD5/reset/75 1630s ok 264 /checksum/MD5/reset/76 1630s ok 265 /checksum/MD5/reset/77 1630s ok 266 /checksum/MD5/reset/78 1630s ok 267 /checksum/MD5/reset/79 1630s ok 268 /checksum/MD5/reset/80 1630s ok 269 /checksum/MD5/reset/81 1630s ok 270 /checksum/MD5/reset/82 1630s ok 271 /checksum/MD5/reset/83 1630s ok 272 /checksum/MD5/reset/84 1630s ok 273 /checksum/MD5/reset/85 1630s ok 274 /checksum/MD5/reset/86 1630s ok 275 /checksum/MD5/reset/87 1630s ok 276 /checksum/MD5/reset/88 1630s ok 277 /checksum/MD5/reset/89 1630s ok 278 /checksum/MD5/reset/90 1630s ok 279 /checksum/MD5/reset/91 1630s ok 280 /checksum/MD5/reset/92 1630s ok 281 /checksum/MD5/reset/93 1630s ok 282 /checksum/MD5/reset/94 1630s ok 283 /checksum/MD5/reset/95 1630s ok 284 /checksum/MD5/reset/96 1630s ok 285 /checksum/MD5/reset/97 1630s ok 286 /checksum/MD5/reset/98 1630s ok 287 /checksum/MD5/reset/99 1630s ok 288 /checksum/MD5/reset/100 1630s ok 289 /checksum/MD5/reset/101 1630s ok 290 /checksum/MD5/reset/102 1630s ok 291 /checksum/MD5/reset/103 1630s ok 292 /checksum/MD5/reset/104 1630s ok 293 /checksum/MD5/reset/105 1630s ok 294 /checksum/MD5/reset/106 1630s ok 295 /checksum/MD5/reset/107 1630s ok 296 /checksum/MD5/reset/108 1630s ok 297 /checksum/MD5/reset/109 1630s ok 298 /checksum/MD5/reset/110 1630s ok 299 /checksum/MD5/reset/111 1630s ok 300 /checksum/MD5/reset/112 1630s ok 301 /checksum/MD5/reset/113 1630s ok 302 /checksum/MD5/reset/114 1630s ok 303 /checksum/MD5/reset/115 1630s ok 304 /checksum/MD5/reset/116 1630s ok 305 /checksum/MD5/reset/117 1630s ok 306 /checksum/MD5/reset/118 1630s ok 307 /checksum/MD5/reset/119 1630s ok 308 /checksum/MD5/reset/120 1630s ok 309 /checksum/MD5/reset/121 1630s ok 310 /checksum/MD5/reset/122 1630s ok 311 /checksum/MD5/reset/123 1630s ok 312 /checksum/MD5/reset/124 1630s ok 313 /checksum/MD5/reset/125 1630s ok 314 /checksum/MD5/reset/126 1630s ok 315 /checksum/MD5/reset/127 1630s ok 316 /checksum/MD5/reset/128 1630s ok 317 /checksum/MD5/reset/129 1630s ok 318 /checksum/MD5/reset/130 1630s ok 319 /checksum/MD5/reset/131 1630s ok 320 /checksum/MD5/reset/132 1630s ok 321 /checksum/MD5/reset/133 1630s ok 322 /checksum/MD5/reset/134 1630s ok 323 /checksum/MD5/reset/135 1630s ok 324 /checksum/MD5/reset/136 1630s ok 325 /checksum/MD5/reset/137 1630s ok 326 /checksum/MD5/reset/138 1630s ok 327 /checksum/MD5/reset/139 1630s ok 328 /checksum/MD5/reset/140 1630s ok 329 /checksum/MD5/reset/141 1630s ok 330 /checksum/MD5/reset/142 1630s ok 331 /checksum/MD5/reset/143 1630s ok 332 /checksum/MD5/reset/144 1630s ok 333 /checksum/MD5/reset/145 1630s ok 334 /checksum/MD5/reset/146 1630s ok 335 /checksum/MD5/reset/147 1630s ok 336 /checksum/MD5/reset/148 1630s ok 337 /checksum/MD5/reset/149 1630s ok 338 /checksum/MD5/reset/150 1630s ok 339 /checksum/MD5/reset/151 1630s ok 340 /checksum/MD5/reset/152 1630s ok 341 /checksum/MD5/reset/153 1630s ok 342 /checksum/MD5/reset/154 1630s ok 343 /checksum/MD5/reset/155 1630s ok 344 /checksum/MD5/reset/156 1630s ok 345 /checksum/MD5/reset/157 1630s ok 346 /checksum/MD5/reset/158 1630s ok 347 /checksum/MD5/reset/159 1630s ok 348 /checksum/MD5/reset/160 1630s ok 349 /checksum/MD5/reset/161 1630s ok 350 /checksum/MD5/reset/162 1630s ok 351 /checksum/MD5/reset/163 1630s ok 352 /checksum/MD5/reset/164 1630s ok 353 /checksum/MD5/reset/165 1630s ok 354 /checksum/MD5/reset/166 1630s ok 355 /checksum/MD5/reset/167 1630s ok 356 /checksum/MD5/reset/168 1630s ok 357 /checksum/MD5/reset/169 1630s ok 358 /checksum/MD5/reset/170 1630s ok 359 /checksum/MD5/reset/171 1630s ok 360 /checksum/MD5/reset/172 1630s ok 361 /checksum/MD5/reset/173 1630s ok 362 /checksum/MD5/reset/174 1630s ok 363 /checksum/MD5/reset/175 1630s ok 364 /checksum/MD5/reset/176 1630s ok 365 /checksum/MD5/reset/177 1630s ok 366 /checksum/MD5/reset/178 1630s ok 367 /checksum/MD5/reset/179 1630s ok 368 /checksum/MD5/reset/180 1630s ok 369 /checksum/MD5/reset/181 1630s ok 370 /checksum/MD5/reset/182 1630s ok 371 /checksum/MD5/reset/183 1630s # End of reset tests 1630s # End of MD5 tests 1630s # Start of SHA1 tests 1630s ok 372 /checksum/SHA1/0 1630s ok 373 /checksum/SHA1/1 1630s ok 374 /checksum/SHA1/2 1630s ok 375 /checksum/SHA1/3 1630s ok 376 /checksum/SHA1/4 1630s ok 377 /checksum/SHA1/5 1630s ok 378 /checksum/SHA1/6 1630s ok 379 /checksum/SHA1/7 1630s ok 380 /checksum/SHA1/8 1630s ok 381 /checksum/SHA1/9 1630s ok 382 /checksum/SHA1/10 1630s ok 383 /checksum/SHA1/11 1630s ok 384 /checksum/SHA1/12 1630s ok 385 /checksum/SHA1/13 1630s ok 386 /checksum/SHA1/14 1630s ok 387 /checksum/SHA1/15 1630s ok 388 /checksum/SHA1/16 1630s ok 389 /checksum/SHA1/17 1630s ok 390 /checksum/SHA1/18 1630s ok 391 /checksum/SHA1/19 1630s ok 392 /checksum/SHA1/20 1630s ok 393 /checksum/SHA1/21 1630s ok 394 /checksum/SHA1/22 1630s ok 395 /checksum/SHA1/23 1630s ok 396 /checksum/SHA1/24 1630s ok 397 /checksum/SHA1/25 1630s ok 398 /checksum/SHA1/26 1630s ok 399 /checksum/SHA1/27 1630s ok 400 /checksum/SHA1/28 1630s ok 401 /checksum/SHA1/29 1630s ok 402 /checksum/SHA1/30 1630s ok 403 /checksum/SHA1/31 1630s ok 404 /checksum/SHA1/32 1630s ok 405 /checksum/SHA1/33 1630s ok 406 /checksum/SHA1/34 1630s ok 407 /checksum/SHA1/35 1630s ok 408 /checksum/SHA1/36 1630s ok 409 /checksum/SHA1/37 1630s ok 410 /checksum/SHA1/38 1630s ok 411 /checksum/SHA1/39 1630s ok 412 /checksum/SHA1/40 1630s ok 413 /checksum/SHA1/41 1630s ok 414 /checksum/SHA1/42 1630s ok 415 /checksum/SHA1/43 1630s ok 416 /checksum/SHA1/44 1630s ok 417 /checksum/SHA1/45 1630s ok 418 /checksum/SHA1/46 1630s ok 419 /checksum/SHA1/47 1630s ok 420 /checksum/SHA1/48 1630s ok 421 /checksum/SHA1/49 1630s ok 422 /checksum/SHA1/50 1630s ok 423 /checksum/SHA1/51 1630s ok 424 /checksum/SHA1/52 1630s ok 425 /checksum/SHA1/53 1630s ok 426 /checksum/SHA1/54 1630s ok 427 /checksum/SHA1/55 1630s ok 428 /checksum/SHA1/56 1630s ok 429 /checksum/SHA1/57 1630s ok 430 /checksum/SHA1/58 1630s ok 431 /checksum/SHA1/59 1630s ok 432 /checksum/SHA1/60 1630s ok 433 /checksum/SHA1/61 1630s ok 434 /checksum/SHA1/62 1630s ok 435 /checksum/SHA1/63 1630s ok 436 /checksum/SHA1/64 1630s ok 437 /checksum/SHA1/65 1630s ok 438 /checksum/SHA1/66 1630s ok 439 /checksum/SHA1/67 1630s ok 440 /checksum/SHA1/68 1630s ok 441 /checksum/SHA1/69 1630s ok 442 /checksum/SHA1/70 1630s ok 443 /checksum/SHA1/71 1630s ok 444 /checksum/SHA1/72 1630s ok 445 /checksum/SHA1/73 1630s ok 446 /checksum/SHA1/74 1630s ok 447 /checksum/SHA1/75 1630s ok 448 /checksum/SHA1/76 1630s ok 449 /checksum/SHA1/77 1630s ok 450 /checksum/SHA1/78 1630s ok 451 /checksum/SHA1/79 1630s ok 452 /checksum/SHA1/80 1630s ok 453 /checksum/SHA1/81 1630s ok 454 /checksum/SHA1/82 1630s ok 455 /checksum/SHA1/83 1630s ok 456 /checksum/SHA1/84 1630s ok 457 /checksum/SHA1/85 1630s ok 458 /checksum/SHA1/86 1630s ok 459 /checksum/SHA1/87 1630s ok 460 /checksum/SHA1/88 1630s ok 461 /checksum/SHA1/89 1630s ok 462 /checksum/SHA1/90 1630s ok 463 /checksum/SHA1/91 1630s ok 464 /checksum/SHA1/92 1630s ok 465 /checksum/SHA1/93 1630s ok 466 /checksum/SHA1/94 1630s ok 467 /checksum/SHA1/95 1630s ok 468 /checksum/SHA1/96 1630s ok 469 /checksum/SHA1/97 1630s ok 470 /checksum/SHA1/98 1630s ok 471 /checksum/SHA1/99 1630s ok 472 /checksum/SHA1/100 1630s ok 473 /checksum/SHA1/101 1630s ok 474 /checksum/SHA1/102 1630s ok 475 /checksum/SHA1/103 1630s ok 476 /checksum/SHA1/104 1630s ok 477 /checksum/SHA1/105 1630s ok 478 /checksum/SHA1/106 1630s ok 479 /checksum/SHA1/107 1630s ok 480 /checksum/SHA1/108 1630s ok 481 /checksum/SHA1/109 1630s ok 482 /checksum/SHA1/110 1630s ok 483 /checksum/SHA1/111 1630s ok 484 /checksum/SHA1/112 1630s ok 485 /checksum/SHA1/113 1630s ok 486 /checksum/SHA1/114 1630s ok 487 /checksum/SHA1/115 1630s ok 488 /checksum/SHA1/116 1630s ok 489 /checksum/SHA1/117 1630s ok 490 /checksum/SHA1/118 1630s ok 491 /checksum/SHA1/119 1630s ok 492 /checksum/SHA1/120 1630s ok 493 /checksum/SHA1/121 1630s ok 494 /checksum/SHA1/122 1630s ok 495 /checksum/SHA1/123 1630s ok 496 /checksum/SHA1/124 1630s ok 497 /checksum/SHA1/125 1630s ok 498 /checksum/SHA1/126 1630s ok 499 /checksum/SHA1/127 1630s ok 500 /checksum/SHA1/128 1630s ok 501 /checksum/SHA1/129 1630s ok 502 /checksum/SHA1/130 1630s ok 503 /checksum/SHA1/131 1630s ok 504 /checksum/SHA1/132 1630s ok 505 /checksum/SHA1/133 1630s ok 506 /checksum/SHA1/134 1630s ok 507 /checksum/SHA1/135 1630s ok 508 /checksum/SHA1/136 1630s ok 509 /checksum/SHA1/137 1630s ok 510 /checksum/SHA1/138 1630s ok 511 /checksum/SHA1/139 1630s ok 512 /checksum/SHA1/140 1630s ok 513 /checksum/SHA1/141 1630s ok 514 /checksum/SHA1/142 1630s ok 515 /checksum/SHA1/143 1630s ok 516 /checksum/SHA1/144 1630s ok 517 /checksum/SHA1/145 1630s ok 518 /checksum/SHA1/146 1630s ok 519 /checksum/SHA1/147 1630s ok 520 /checksum/SHA1/148 1630s ok 521 /checksum/SHA1/149 1630s ok 522 /checksum/SHA1/150 1630s ok 523 /checksum/SHA1/151 1630s ok 524 /checksum/SHA1/152 1630s ok 525 /checksum/SHA1/153 1630s ok 526 /checksum/SHA1/154 1630s ok 527 /checksum/SHA1/155 1630s ok 528 /checksum/SHA1/156 1630s ok 529 /checksum/SHA1/157 1630s ok 530 /checksum/SHA1/158 1630s ok 531 /checksum/SHA1/159 1630s ok 532 /checksum/SHA1/160 1630s ok 533 /checksum/SHA1/161 1630s ok 534 /checksum/SHA1/162 1630s ok 535 /checksum/SHA1/163 1630s ok 536 /checksum/SHA1/164 1630s ok 537 /checksum/SHA1/165 1630s ok 538 /checksum/SHA1/166 1630s ok 539 /checksum/SHA1/167 1630s ok 540 /checksum/SHA1/168 1630s ok 541 /checksum/SHA1/169 1630s ok 542 /checksum/SHA1/170 1630s ok 543 /checksum/SHA1/171 1630s ok 544 /checksum/SHA1/172 1630s ok 545 /checksum/SHA1/173 1630s ok 546 /checksum/SHA1/174 1630s ok 547 /checksum/SHA1/175 1630s ok 548 /checksum/SHA1/176 1630s ok 549 /checksum/SHA1/177 1630s ok 550 /checksum/SHA1/178 1630s ok 551 /checksum/SHA1/179 1630s ok 552 /checksum/SHA1/180 1630s ok 553 /checksum/SHA1/181 1630s ok 554 /checksum/SHA1/182 1630s ok 555 /checksum/SHA1/183 1630s ok 556 /checksum/SHA1/string 1630s ok 557 /checksum/SHA1/bytes 1630s # Start of reset tests 1630s ok 558 /checksum/SHA1/reset/0 1630s ok 559 /checksum/SHA1/reset/1 1630s ok 560 /checksum/SHA1/reset/2 1630s ok 561 /checksum/SHA1/reset/3 1630s ok 562 /checksum/SHA1/reset/4 1630s ok 563 /checksum/SHA1/reset/5 1630s ok 564 /checksum/SHA1/reset/6 1630s ok 565 /checksum/SHA1/reset/7 1630s ok 566 /checksum/SHA1/reset/8 1630s ok 567 /checksum/SHA1/reset/9 1630s ok 568 /checksum/SHA1/reset/10 1630s ok 569 /checksum/SHA1/reset/11 1630s ok 570 /checksum/SHA1/reset/12 1630s ok 571 /checksum/SHA1/reset/13 1630s ok 572 /checksum/SHA1/reset/14 1630s ok 573 /checksum/SHA1/reset/15 1630s ok 574 /checksum/SHA1/reset/16 1630s ok 575 /checksum/SHA1/reset/17 1630s ok 576 /checksum/SHA1/reset/18 1630s ok 577 /checksum/SHA1/reset/19 1630s ok 578 /checksum/SHA1/reset/20 1630s ok 579 /checksum/SHA1/reset/21 1630s ok 580 /checksum/SHA1/reset/22 1630s ok 581 /checksum/SHA1/reset/23 1630s ok 582 /checksum/SHA1/reset/24 1630s ok 583 /checksum/SHA1/reset/25 1630s ok 584 /checksum/SHA1/reset/26 1630s ok 585 /checksum/SHA1/reset/27 1630s ok 586 /checksum/SHA1/reset/28 1630s ok 587 /checksum/SHA1/reset/29 1630s ok 588 /checksum/SHA1/reset/30 1630s ok 589 /checksum/SHA1/reset/31 1630s ok 590 /checksum/SHA1/reset/32 1630s ok 591 /checksum/SHA1/reset/33 1630s ok 592 /checksum/SHA1/reset/34 1630s ok 593 /checksum/SHA1/reset/35 1630s ok 594 /checksum/SHA1/reset/36 1630s ok 595 /checksum/SHA1/reset/37 1630s ok 596 /checksum/SHA1/reset/38 1630s ok 597 /checksum/SHA1/reset/39 1630s ok 598 /checksum/SHA1/reset/40 1630s ok 599 /checksum/SHA1/reset/41 1630s ok 600 /checksum/SHA1/reset/42 1630s ok 601 /checksum/SHA1/reset/43 1630s ok 602 /checksum/SHA1/reset/44 1630s ok 603 /checksum/SHA1/reset/45 1630s ok 604 /checksum/SHA1/reset/46 1630s ok 605 /checksum/SHA1/reset/47 1630s ok 606 /checksum/SHA1/reset/48 1630s ok 607 /checksum/SHA1/reset/49 1630s ok 608 /checksum/SHA1/reset/50 1630s ok 609 /checksum/SHA1/reset/51 1630s ok 610 /checksum/SHA1/reset/52 1630s ok 611 /checksum/SHA1/reset/53 1630s ok 612 /checksum/SHA1/reset/54 1630s ok 613 /checksum/SHA1/reset/55 1630s ok 614 /checksum/SHA1/reset/56 1630s ok 615 /checksum/SHA1/reset/57 1630s ok 616 /checksum/SHA1/reset/58 1630s ok 617 /checksum/SHA1/reset/59 1630s ok 618 /checksum/SHA1/reset/60 1630s ok 619 /checksum/SHA1/reset/61 1630s ok 620 /checksum/SHA1/reset/62 1630s ok 621 /checksum/SHA1/reset/63 1630s ok 622 /checksum/SHA1/reset/64 1630s ok 623 /checksum/SHA1/reset/65 1630s ok 624 /checksum/SHA1/reset/66 1630s ok 625 /checksum/SHA1/reset/67 1630s ok 626 /checksum/SHA1/reset/68 1630s ok 627 /checksum/SHA1/reset/69 1630s ok 628 /checksum/SHA1/reset/70 1630s ok 629 /checksum/SHA1/reset/71 1630s ok 630 /checksum/SHA1/reset/72 1630s ok 631 /checksum/SHA1/reset/73 1630s ok 632 /checksum/SHA1/reset/74 1630s ok 633 /checksum/SHA1/reset/75 1630s ok 634 /checksum/SHA1/reset/76 1630s ok 635 /checksum/SHA1/reset/77 1630s ok 636 /checksum/SHA1/reset/78 1630s ok 637 /checksum/SHA1/reset/79 1630s ok 638 /checksum/SHA1/reset/80 1630s ok 639 /checksum/SHA1/reset/81 1630s ok 640 /checksum/SHA1/reset/82 1630s ok 641 /checksum/SHA1/reset/83 1630s ok 642 /checksum/SHA1/reset/84 1630s ok 643 /checksum/SHA1/reset/85 1630s ok 644 /checksum/SHA1/reset/86 1630s ok 645 /checksum/SHA1/reset/87 1630s ok 646 /checksum/SHA1/reset/88 1630s ok 647 /checksum/SHA1/reset/89 1630s ok 648 /checksum/SHA1/reset/90 1630s ok 649 /checksum/SHA1/reset/91 1630s ok 650 /checksum/SHA1/reset/92 1630s ok 651 /checksum/SHA1/reset/93 1630s ok 652 /checksum/SHA1/reset/94 1630s ok 653 /checksum/SHA1/reset/95 1630s ok 654 /checksum/SHA1/reset/96 1630s ok 655 /checksum/SHA1/reset/97 1630s ok 656 /checksum/SHA1/reset/98 1630s ok 657 /checksum/SHA1/reset/99 1630s ok 658 /checksum/SHA1/reset/100 1630s ok 659 /checksum/SHA1/reset/101 1630s ok 660 /checksum/SHA1/reset/102 1630s ok 661 /checksum/SHA1/reset/103 1630s ok 662 /checksum/SHA1/reset/104 1630s ok 663 /checksum/SHA1/reset/105 1630s ok 664 /checksum/SHA1/reset/106 1630s ok 665 /checksum/SHA1/reset/107 1630s ok 666 /checksum/SHA1/reset/108 1630s ok 667 /checksum/SHA1/reset/109 1630s ok 668 /checksum/SHA1/reset/110 1630s ok 669 /checksum/SHA1/reset/111 1630s ok 670 /checksum/SHA1/reset/112 1630s ok 671 /checksum/SHA1/reset/113 1630s ok 672 /checksum/SHA1/reset/114 1630s ok 673 /checksum/SHA1/reset/115 1630s ok 674 /checksum/SHA1/reset/116 1630s ok 675 /checksum/SHA1/reset/117 1630s ok 676 /checksum/SHA1/reset/118 1630s ok 677 /checksum/SHA1/reset/119 1630s ok 678 /checksum/SHA1/reset/120 1630s ok 679 /checksum/SHA1/reset/121 1630s ok 680 /checksum/SHA1/reset/122 1630s ok 681 /checksum/SHA1/reset/123 1630s ok 682 /checksum/SHA1/reset/124 1630s ok 683 /checksum/SHA1/reset/125 1630s ok 684 /checksum/SHA1/reset/126 1630s ok 685 /checksum/SHA1/reset/127 1630s ok 686 /checksum/SHA1/reset/128 1630s ok 687 /checksum/SHA1/reset/129 1630s ok 688 /checksum/SHA1/reset/130 1630s ok 689 /checksum/SHA1/reset/131 1630s ok 690 /checksum/SHA1/reset/132 1630s ok 691 /checksum/SHA1/reset/133 1630s ok 692 /checksum/SHA1/reset/134 1630s ok 693 /checksum/SHA1/reset/135 1630s ok 694 /checksum/SHA1/reset/136 1630s ok 695 /checksum/SHA1/reset/137 1630s ok 696 /checksum/SHA1/reset/138 1630s ok 697 /checksum/SHA1/reset/139 1630s ok 698 /checksum/SHA1/reset/140 1630s ok 699 /checksum/SHA1/reset/141 1630s ok 700 /checksum/SHA1/reset/142 1630s ok 701 /checksum/SHA1/reset/143 1630s ok 702 /checksum/SHA1/reset/144 1630s ok 703 /checksum/SHA1/reset/145 1630s ok 704 /checksum/SHA1/reset/146 1630s ok 705 /checksum/SHA1/reset/147 1630s ok 706 /checksum/SHA1/reset/148 1630s ok 707 /checksum/SHA1/reset/149 1630s ok 708 /checksum/SHA1/reset/150 1630s ok 709 /checksum/SHA1/reset/151 1630s ok 710 /checksum/SHA1/reset/152 1630s ok 711 /checksum/SHA1/reset/153 1630s ok 712 /checksum/SHA1/reset/154 1630s ok 713 /checksum/SHA1/reset/155 1630s ok 714 /checksum/SHA1/reset/156 1630s ok 715 /checksum/SHA1/reset/157 1630s ok 716 /checksum/SHA1/reset/158 1630s ok 717 /checksum/SHA1/reset/159 1630s ok 718 /checksum/SHA1/reset/160 1630s ok 719 /checksum/SHA1/reset/161 1630s ok 720 /checksum/SHA1/reset/162 1630s ok 721 /checksum/SHA1/reset/163 1630s ok 722 /checksum/SHA1/reset/164 1630s ok 723 /checksum/SHA1/reset/165 1630s ok 724 /checksum/SHA1/reset/166 1630s ok 725 /checksum/SHA1/reset/167 1630s ok 726 /checksum/SHA1/reset/168 1630s ok 727 /checksum/SHA1/reset/169 1630s ok 728 /checksum/SHA1/reset/170 1630s ok 729 /checksum/SHA1/reset/171 1630s ok 730 /checksum/SHA1/reset/172 1630s ok 731 /checksum/SHA1/reset/173 1630s ok 732 /checksum/SHA1/reset/174 1630s ok 733 /checksum/SHA1/reset/175 1630s ok 734 /checksum/SHA1/reset/176 1630s ok 735 /checksum/SHA1/reset/177 1630s ok 736 /checksum/SHA1/reset/178 1630s ok 737 /checksum/SHA1/reset/179 1630s ok 738 /checksum/SHA1/reset/180 1630s ok 739 /checksum/SHA1/reset/181 1630s ok 740 /checksum/SHA1/reset/182 1630s ok 741 /checksum/SHA1/reset/183 1630s # End of reset tests 1630s # End of SHA1 tests 1630s # Start of SHA256 tests 1630s ok 742 /checksum/SHA256/0 1630s ok 743 /checksum/SHA256/1 1630s ok 744 /checksum/SHA256/2 1630s ok 745 /checksum/SHA256/3 1630s ok 746 /checksum/SHA256/4 1630s ok 747 /checksum/SHA256/5 1630s ok 748 /checksum/SHA256/6 1630s ok 749 /checksum/SHA256/7 1630s ok 750 /checksum/SHA256/8 1630s ok 751 /checksum/SHA256/9 1630s ok 752 /checksum/SHA256/10 1630s ok 753 /checksum/SHA256/11 1630s ok 754 /checksum/SHA256/12 1630s ok 755 /checksum/SHA256/13 1630s ok 756 /checksum/SHA256/14 1630s ok 757 /checksum/SHA256/15 1630s ok 758 /checksum/SHA256/16 1630s ok 759 /checksum/SHA256/17 1630s ok 760 /checksum/SHA256/18 1630s ok 761 /checksum/SHA256/19 1630s ok 762 /checksum/SHA256/20 1630s ok 763 /checksum/SHA256/21 1630s ok 764 /checksum/SHA256/22 1630s ok 765 /checksum/SHA256/23 1630s ok 766 /checksum/SHA256/24 1630s ok 767 /checksum/SHA256/25 1630s ok 768 /checksum/SHA256/26 1630s ok 769 /checksum/SHA256/27 1630s ok 770 /checksum/SHA256/28 1630s ok 771 /checksum/SHA256/29 1630s ok 772 /checksum/SHA256/30 1630s ok 773 /checksum/SHA256/31 1630s ok 774 /checksum/SHA256/32 1630s ok 775 /checksum/SHA256/33 1630s ok 776 /checksum/SHA256/34 1630s ok 777 /checksum/SHA256/35 1630s ok 778 /checksum/SHA256/36 1630s ok 779 /checksum/SHA256/37 1630s ok 780 /checksum/SHA256/38 1630s ok 781 /checksum/SHA256/39 1630s ok 782 /checksum/SHA256/40 1630s ok 783 /checksum/SHA256/41 1630s ok 784 /checksum/SHA256/42 1630s ok 785 /checksum/SHA256/43 1630s ok 786 /checksum/SHA256/44 1630s ok 787 /checksum/SHA256/45 1630s ok 788 /checksum/SHA256/46 1630s ok 789 /checksum/SHA256/47 1630s ok 790 /checksum/SHA256/48 1630s ok 791 /checksum/SHA256/49 1630s ok 792 /checksum/SHA256/50 1630s ok 793 /checksum/SHA256/51 1630s ok 794 /checksum/SHA256/52 1630s ok 795 /checksum/SHA256/53 1630s ok 796 /checksum/SHA256/54 1630s ok 797 /checksum/SHA256/55 1630s ok 798 /checksum/SHA256/56 1630s ok 799 /checksum/SHA256/57 1630s ok 800 /checksum/SHA256/58 1630s ok 801 /checksum/SHA256/59 1630s ok 802 /checksum/SHA256/60 1630s ok 803 /checksum/SHA256/61 1630s ok 804 /checksum/SHA256/62 1630s ok 805 /checksum/SHA256/63 1630s ok 806 /checksum/SHA256/64 1630s ok 807 /checksum/SHA256/65 1630s ok 808 /checksum/SHA256/66 1630s ok 809 /checksum/SHA256/67 1630s ok 810 /checksum/SHA256/68 1630s ok 811 /checksum/SHA256/69 1630s ok 812 /checksum/SHA256/70 1630s ok 813 /checksum/SHA256/71 1630s ok 814 /checksum/SHA256/72 1630s ok 815 /checksum/SHA256/73 1630s ok 816 /checksum/SHA256/74 1630s ok 817 /checksum/SHA256/75 1630s ok 818 /checksum/SHA256/76 1630s ok 819 /checksum/SHA256/77 1630s ok 820 /checksum/SHA256/78 1630s ok 821 /checksum/SHA256/79 1630s ok 822 /checksum/SHA256/80 1630s ok 823 /checksum/SHA256/81 1630s ok 824 /checksum/SHA256/82 1630s ok 825 /checksum/SHA256/83 1630s ok 826 /checksum/SHA256/84 1630s ok 827 /checksum/SHA256/85 1630s ok 828 /checksum/SHA256/86 1630s ok 829 /checksum/SHA256/87 1630s ok 830 /checksum/SHA256/88 1630s ok 831 /checksum/SHA256/89 1630s ok 832 /checksum/SHA256/90 1630s ok 833 /checksum/SHA256/91 1630s ok 834 /checksum/SHA256/92 1630s ok 835 /checksum/SHA256/93 1630s ok 836 /checksum/SHA256/94 1630s ok 837 /checksum/SHA256/95 1630s ok 838 /checksum/SHA256/96 1630s ok 839 /checksum/SHA256/97 1630s ok 840 /checksum/SHA256/98 1630s ok 841 /checksum/SHA256/99 1630s ok 842 /checksum/SHA256/100 1630s ok 843 /checksum/SHA256/101 1630s ok 844 /checksum/SHA256/102 1630s ok 845 /checksum/SHA256/103 1630s ok 846 /checksum/SHA256/104 1630s ok 847 /checksum/SHA256/105 1630s ok 848 /checksum/SHA256/106 1630s ok 849 /checksum/SHA256/107 1630s ok 850 /checksum/SHA256/108 1630s ok 851 /checksum/SHA256/109 1630s ok 852 /checksum/SHA256/110 1630s ok 853 /checksum/SHA256/111 1630s ok 854 /checksum/SHA256/112 1630s ok 855 /checksum/SHA256/113 1630s ok 856 /checksum/SHA256/114 1630s ok 857 /checksum/SHA256/115 1630s ok 858 /checksum/SHA256/116 1630s ok 859 /checksum/SHA256/117 1630s ok 860 /checksum/SHA256/118 1630s ok 861 /checksum/SHA256/119 1630s ok 862 /checksum/SHA256/120 1630s ok 863 /checksum/SHA256/121 1630s ok 864 /checksum/SHA256/122 1630s ok 865 /checksum/SHA256/123 1630s ok 866 /checksum/SHA256/124 1630s ok 867 /checksum/SHA256/125 1630s ok 868 /checksum/SHA256/126 1630s ok 869 /checksum/SHA256/127 1630s ok 870 /checksum/SHA256/128 1630s ok 871 /checksum/SHA256/129 1630s ok 872 /checksum/SHA256/130 1630s ok 873 /checksum/SHA256/131 1630s ok 874 /checksum/SHA256/132 1630s ok 875 /checksum/SHA256/133 1630s ok 876 /checksum/SHA256/134 1630s ok 877 /checksum/SHA256/135 1630s ok 878 /checksum/SHA256/136 1630s ok 879 /checksum/SHA256/137 1630s ok 880 /checksum/SHA256/138 1630s ok 881 /checksum/SHA256/139 1630s ok 882 /checksum/SHA256/140 1630s ok 883 /checksum/SHA256/141 1630s ok 884 /checksum/SHA256/142 1630s ok 885 /checksum/SHA256/143 1630s ok 886 /checksum/SHA256/144 1630s ok 887 /checksum/SHA256/145 1630s ok 888 /checksum/SHA256/146 1630s ok 889 /checksum/SHA256/147 1630s ok 890 /checksum/SHA256/148 1630s ok 891 /checksum/SHA256/149 1630s ok 892 /checksum/SHA256/150 1630s ok 893 /checksum/SHA256/151 1630s ok 894 /checksum/SHA256/152 1630s ok 895 /checksum/SHA256/153 1630s ok 896 /checksum/SHA256/154 1630s ok 897 /checksum/SHA256/155 1630s ok 898 /checksum/SHA256/156 1630s ok 899 /checksum/SHA256/157 1630s ok 900 /checksum/SHA256/158 1630s ok 901 /checksum/SHA256/159 1630s ok 902 /checksum/SHA256/160 1630s ok 903 /checksum/SHA256/161 1630s ok 904 /checksum/SHA256/162 1630s ok 905 /checksum/SHA256/163 1630s ok 906 /checksum/SHA256/164 1630s ok 907 /checksum/SHA256/165 1630s ok 908 /checksum/SHA256/166 1630s ok 909 /checksum/SHA256/167 1630s ok 910 /checksum/SHA256/168 1630s ok 911 /checksum/SHA256/169 1630s ok 912 /checksum/SHA256/170 1630s ok 913 /checksum/SHA256/171 1630s ok 914 /checksum/SHA256/172 1630s ok 915 /checksum/SHA256/173 1630s ok 916 /checksum/SHA256/174 1630s ok 917 /checksum/SHA256/175 1630s ok 918 /checksum/SHA256/176 1630s ok 919 /checksum/SHA256/177 1630s ok 920 /checksum/SHA256/178 1630s ok 921 /checksum/SHA256/179 1630s ok 922 /checksum/SHA256/180 1630s ok 923 /checksum/SHA256/181 1630s ok 924 /checksum/SHA256/182 1630s ok 925 /checksum/SHA256/183 1630s ok 926 /checksum/SHA256/string 1630s ok 927 /checksum/SHA256/bytes 1630s # Start of reset tests 1630s ok 928 /checksum/SHA256/reset/0 1630s ok 929 /checksum/SHA256/reset/1 1630s ok 930 /checksum/SHA256/reset/2 1630s ok 931 /checksum/SHA256/reset/3 1630s ok 932 /checksum/SHA256/reset/4 1630s ok 933 /checksum/SHA256/reset/5 1630s ok 934 /checksum/SHA256/reset/6 1630s ok 935 /checksum/SHA256/reset/7 1630s ok 936 /checksum/SHA256/reset/8 1630s ok 937 /checksum/SHA256/reset/9 1630s ok 938 /checksum/SHA256/reset/10 1630s ok 939 /checksum/SHA256/reset/11 1630s ok 940 /checksum/SHA256/reset/12 1630s ok 941 /checksum/SHA256/reset/13 1630s ok 942 /checksum/SHA256/reset/14 1630s ok 943 /checksum/SHA256/reset/15 1630s ok 944 /checksum/SHA256/reset/16 1630s ok 945 /checksum/SHA256/reset/17 1630s ok 946 /checksum/SHA256/reset/18 1630s ok 947 /checksum/SHA256/reset/19 1630s ok 948 /checksum/SHA256/reset/20 1630s ok 949 /checksum/SHA256/reset/21 1630s ok 950 /checksum/SHA256/reset/22 1630s ok 951 /checksum/SHA256/reset/23 1630s ok 952 /checksum/SHA256/reset/24 1630s ok 953 /checksum/SHA256/reset/25 1630s ok 954 /checksum/SHA256/reset/26 1630s ok 955 /checksum/SHA256/reset/27 1630s ok 956 /checksum/SHA256/reset/28 1630s ok 957 /checksum/SHA256/reset/29 1630s ok 958 /checksum/SHA256/reset/30 1630s ok 959 /checksum/SHA256/reset/31 1630s ok 960 /checksum/SHA256/reset/32 1630s ok 961 /checksum/SHA256/reset/33 1630s ok 962 /checksum/SHA256/reset/34 1630s ok 963 /checksum/SHA256/reset/35 1630s ok 964 /checksum/SHA256/reset/36 1630s ok 965 /checksum/SHA256/reset/37 1630s ok 966 /checksum/SHA256/reset/38 1630s ok 967 /checksum/SHA256/reset/39 1630s ok 968 /checksum/SHA256/reset/40 1630s ok 969 /checksum/SHA256/reset/41 1630s ok 970 /checksum/SHA256/reset/42 1630s ok 971 /checksum/SHA256/reset/43 1630s ok 972 /checksum/SHA256/reset/44 1630s ok 973 /checksum/SHA256/reset/45 1630s ok 974 /checksum/SHA256/reset/46 1630s ok 975 /checksum/SHA256/reset/47 1630s ok 976 /checksum/SHA256/reset/48 1630s ok 977 /checksum/SHA256/reset/49 1630s ok 978 /checksum/SHA256/reset/50 1630s ok 979 /checksum/SHA256/reset/51 1630s ok 980 /checksum/SHA256/reset/52 1630s ok 981 /checksum/SHA256/reset/53 1630s ok 982 /checksum/SHA256/reset/54 1630s ok 983 /checksum/SHA256/reset/55 1630s ok 984 /checksum/SHA256/reset/56 1630s ok 985 /checksum/SHA256/reset/57 1630s ok 986 /checksum/SHA256/reset/58 1630s ok 987 /checksum/SHA256/reset/59 1630s ok 988 /checksum/SHA256/reset/60 1630s ok 989 /checksum/SHA256/reset/61 1630s ok 990 /checksum/SHA256/reset/62 1630s ok 991 /checksum/SHA256/reset/63 1630s ok 992 /checksum/SHA256/reset/64 1630s ok 993 /checksum/SHA256/reset/65 1630s ok 994 /checksum/SHA256/reset/66 1630s ok 995 /checksum/SHA256/reset/67 1630s ok 996 /checksum/SHA256/reset/68 1630s ok 997 /checksum/SHA256/reset/69 1630s ok 998 /checksum/SHA256/reset/70 1630s ok 999 /checksum/SHA256/reset/71 1630s ok 1000 /checksum/SHA256/reset/72 1630s ok 1001 /checksum/SHA256/reset/73 1630s ok 1002 /checksum/SHA256/reset/74 1630s ok 1003 /checksum/SHA256/reset/75 1630s ok 1004 /checksum/SHA256/reset/76 1630s ok 1005 /checksum/SHA256/reset/77 1630s ok 1006 /checksum/SHA256/reset/78 1630s ok 1007 /checksum/SHA256/reset/79 1630s ok 1008 /checksum/SHA256/reset/80 1630s ok 1009 /checksum/SHA256/reset/81 1630s ok 1010 /checksum/SHA256/reset/82 1630s ok 1011 /checksum/SHA256/reset/83 1630s ok 1012 /checksum/SHA256/reset/84 1630s ok 1013 /checksum/SHA256/reset/85 1630s ok 1014 /checksum/SHA256/reset/86 1630s ok 1015 /checksum/SHA256/reset/87 1630s ok 1016 /checksum/SHA256/reset/88 1630s ok 1017 /checksum/SHA256/reset/89 1630s ok 1018 /checksum/SHA256/reset/90 1630s ok 1019 /checksum/SHA256/reset/91 1630s ok 1020 /checksum/SHA256/reset/92 1630s ok 1021 /checksum/SHA256/reset/93 1630s ok 1022 /checksum/SHA256/reset/94 1630s ok 1023 /checksum/SHA256/reset/95 1630s ok 1024 /checksum/SHA256/reset/96 1630s ok 1025 /checksum/SHA256/reset/97 1630s ok 1026 /checksum/SHA256/reset/98 1630s ok 1027 /checksum/SHA256/reset/99 1630s ok 1028 /checksum/SHA256/reset/100 1630s ok 1029 /checksum/SHA256/reset/101 1630s ok 1030 /checksum/SHA256/reset/102 1630s ok 1031 /checksum/SHA256/reset/103 1630s ok 1032 /checksum/SHA256/reset/104 1630s ok 1033 /checksum/SHA256/reset/105 1630s ok 1034 /checksum/SHA256/reset/106 1630s ok 1035 /checksum/SHA256/reset/107 1630s ok 1036 /checksum/SHA256/reset/108 1630s ok 1037 /checksum/SHA256/reset/109 1630s ok 1038 /checksum/SHA256/reset/110 1630s ok 1039 /checksum/SHA256/reset/111 1630s ok 1040 /checksum/SHA256/reset/112 1630s ok 1041 /checksum/SHA256/reset/113 1630s ok 1042 /checksum/SHA256/reset/114 1630s ok 1043 /checksum/SHA256/reset/115 1630s ok 1044 /checksum/SHA256/reset/116 1630s ok 1045 /checksum/SHA256/reset/117 1630s ok 1046 /checksum/SHA256/reset/118 1630s ok 1047 /checksum/SHA256/reset/119 1630s ok 1048 /checksum/SHA256/reset/120 1630s ok 1049 /checksum/SHA256/reset/121 1630s ok 1050 /checksum/SHA256/reset/122 1630s ok 1051 /checksum/SHA256/reset/123 1630s ok 1052 /checksum/SHA256/reset/124 1630s ok 1053 /checksum/SHA256/reset/125 1630s ok 1054 /checksum/SHA256/reset/126 1630s ok 1055 /checksum/SHA256/reset/127 1630s ok 1056 /checksum/SHA256/reset/128 1630s ok 1057 /checksum/SHA256/reset/129 1630s ok 1058 /checksum/SHA256/reset/130 1630s ok 1059 /checksum/SHA256/reset/131 1630s ok 1060 /checksum/SHA256/reset/132 1630s ok 1061 /checksum/SHA256/reset/133 1630s ok 1062 /checksum/SHA256/reset/134 1630s ok 1063 /checksum/SHA256/reset/135 1630s ok 1064 /checksum/SHA256/reset/136 1630s ok 1065 /checksum/SHA256/reset/137 1630s ok 1066 /checksum/SHA256/reset/138 1630s ok 1067 /checksum/SHA256/reset/139 1630s ok 1068 /checksum/SHA256/reset/140 1630s ok 1069 /checksum/SHA256/reset/141 1630s ok 1070 /checksum/SHA256/reset/142 1630s ok 1071 /checksum/SHA256/reset/143 1630s ok 1072 /checksum/SHA256/reset/144 1630s ok 1073 /checksum/SHA256/reset/145 1630s ok 1074 /checksum/SHA256/reset/146 1630s ok 1075 /checksum/SHA256/reset/147 1630s ok 1076 /checksum/SHA256/reset/148 1630s ok 1077 /checksum/SHA256/reset/149 1630s ok 1078 /checksum/SHA256/reset/150 1630s ok 1079 /checksum/SHA256/reset/151 1630s ok 1080 /checksum/SHA256/reset/152 1630s ok 1081 /checksum/SHA256/reset/153 1630s ok 1082 /checksum/SHA256/reset/154 1630s ok 1083 /checksum/SHA256/reset/155 1630s ok 1084 /checksum/SHA256/reset/156 1630s ok 1085 /checksum/SHA256/reset/157 1630s ok 1086 /checksum/SHA256/reset/158 1630s ok 1087 /checksum/SHA256/reset/159 1630s ok 1088 /checksum/SHA256/reset/160 1630s ok 1089 /checksum/SHA256/reset/161 1630s ok 1090 /checksum/SHA256/reset/162 1630s ok 1091 /checksum/SHA256/reset/163 1630s ok 1092 /checksum/SHA256/reset/164 1630s ok 1093 /checksum/SHA256/reset/165 1630s ok 1094 /checksum/SHA256/reset/166 1630s ok 1095 /checksum/SHA256/reset/167 1630s ok 1096 /checksum/SHA256/reset/168 1630s ok 1097 /checksum/SHA256/reset/169 1630s ok 1098 /checksum/SHA256/reset/170 1630s ok 1099 /checksum/SHA256/reset/171 1630s ok 1100 /checksum/SHA256/reset/172 1630s ok 1101 /checksum/SHA256/reset/173 1630s ok 1102 /checksum/SHA256/reset/174 1630s ok 1103 /checksum/SHA256/reset/175 1630s ok 1104 /checksum/SHA256/reset/176 1630s ok 1105 /checksum/SHA256/reset/177 1630s ok 1106 /checksum/SHA256/reset/178 1630s ok 1107 /checksum/SHA256/reset/179 1630s ok 1108 /checksum/SHA256/reset/180 1630s ok 1109 /checksum/SHA256/reset/181 1630s ok 1110 /checksum/SHA256/reset/182 1630s ok 1111 /checksum/SHA256/reset/183 1630s # End of reset tests 1630s # End of SHA256 tests 1630s # Start of SHA384 tests 1630s ok 1112 /checksum/SHA384/0 1630s ok 1113 /checksum/SHA384/1 1630s ok 1114 /checksum/SHA384/2 1630s ok 1115 /checksum/SHA384/3 1630s ok 1116 /checksum/SHA384/4 1630s ok 1117 /checksum/SHA384/5 1630s ok 1118 /checksum/SHA384/6 1630s ok 1119 /checksum/SHA384/7 1630s ok 1120 /checksum/SHA384/8 1630s ok 1121 /checksum/SHA384/9 1630s ok 1122 /checksum/SHA384/10 1630s ok 1123 /checksum/SHA384/11 1630s ok 1124 /checksum/SHA384/12 1630s ok 1125 /checksum/SHA384/13 1630s ok 1126 /checksum/SHA384/14 1630s ok 1127 /checksum/SHA384/15 1630s ok 1128 /checksum/SHA384/16 1630s ok 1129 /checksum/SHA384/17 1630s ok 1130 /checksum/SHA384/18 1630s ok 1131 /checksum/SHA384/19 1630s ok 1132 /checksum/SHA384/20 1630s ok 1133 /checksum/SHA384/21 1630s ok 1134 /checksum/SHA384/22 1630s ok 1135 /checksum/SHA384/23 1630s ok 1136 /checksum/SHA384/24 1630s ok 1137 /checksum/SHA384/25 1630s ok 1138 /checksum/SHA384/26 1630s ok 1139 /checksum/SHA384/27 1630s ok 1140 /checksum/SHA384/28 1630s ok 1141 /checksum/SHA384/29 1630s ok 1142 /checksum/SHA384/30 1630s ok 1143 /checksum/SHA384/31 1630s ok 1144 /checksum/SHA384/32 1630s ok 1145 /checksum/SHA384/33 1630s ok 1146 /checksum/SHA384/34 1630s ok 1147 /checksum/SHA384/35 1630s ok 1148 /checksum/SHA384/36 1630s ok 1149 /checksum/SHA384/37 1630s ok 1150 /checksum/SHA384/38 1630s ok 1151 /checksum/SHA384/39 1630s ok 1152 /checksum/SHA384/40 1630s ok 1153 /checksum/SHA384/41 1630s ok 1154 /checksum/SHA384/42 1630s ok 1155 /checksum/SHA384/43 1630s ok 1156 /checksum/SHA384/44 1630s ok 1157 /checksum/SHA384/45 1630s ok 1158 /checksum/SHA384/46 1630s ok 1159 /checksum/SHA384/47 1630s ok 1160 /checksum/SHA384/48 1630s ok 1161 /checksum/SHA384/49 1630s ok 1162 /checksum/SHA384/50 1630s ok 1163 /checksum/SHA384/51 1630s ok 1164 /checksum/SHA384/52 1630s ok 1165 /checksum/SHA384/53 1630s ok 1166 /checksum/SHA384/54 1630s ok 1167 /checksum/SHA384/55 1630s ok 1168 /checksum/SHA384/56 1630s ok 1169 /checksum/SHA384/57 1630s ok 1170 /checksum/SHA384/58 1630s ok 1171 /checksum/SHA384/59 1630s ok 1172 /checksum/SHA384/60 1630s ok 1173 /checksum/SHA384/61 1630s ok 1174 /checksum/SHA384/62 1630s ok 1175 /checksum/SHA384/63 1630s ok 1176 /checksum/SHA384/64 1630s ok 1177 /checksum/SHA384/65 1630s ok 1178 /checksum/SHA384/66 1630s ok 1179 /checksum/SHA384/67 1630s ok 1180 /checksum/SHA384/68 1630s ok 1181 /checksum/SHA384/69 1630s ok 1182 /checksum/SHA384/70 1630s ok 1183 /checksum/SHA384/71 1630s ok 1184 /checksum/SHA384/72 1630s ok 1185 /checksum/SHA384/73 1630s ok 1186 /checksum/SHA384/74 1630s ok 1187 /checksum/SHA384/75 1630s ok 1188 /checksum/SHA384/76 1630s ok 1189 /checksum/SHA384/77 1630s ok 1190 /checksum/SHA384/78 1630s ok 1191 /checksum/SHA384/79 1630s ok 1192 /checksum/SHA384/80 1630s ok 1193 /checksum/SHA384/81 1630s ok 1194 /checksum/SHA384/82 1630s ok 1195 /checksum/SHA384/83 1630s ok 1196 /checksum/SHA384/84 1630s ok 1197 /checksum/SHA384/85 1630s ok 1198 /checksum/SHA384/86 1630s ok 1199 /checksum/SHA384/87 1630s ok 1200 /checksum/SHA384/88 1630s ok 1201 /checksum/SHA384/89 1630s ok 1202 /checksum/SHA384/90 1630s ok 1203 /checksum/SHA384/91 1630s ok 1204 /checksum/SHA384/92 1630s ok 1205 /checksum/SHA384/93 1630s ok 1206 /checksum/SHA384/94 1630s ok 1207 /checksum/SHA384/95 1630s ok 1208 /checksum/SHA384/96 1630s ok 1209 /checksum/SHA384/97 1630s ok 1210 /checksum/SHA384/98 1630s ok 1211 /checksum/SHA384/99 1630s ok 1212 /checksum/SHA384/100 1630s ok 1213 /checksum/SHA384/101 1630s ok 1214 /checksum/SHA384/102 1630s ok 1215 /checksum/SHA384/103 1630s ok 1216 /checksum/SHA384/104 1630s ok 1217 /checksum/SHA384/105 1630s ok 1218 /checksum/SHA384/106 1630s ok 1219 /checksum/SHA384/107 1630s ok 1220 /checksum/SHA384/108 1630s ok 1221 /checksum/SHA384/109 1630s ok 1222 /checksum/SHA384/110 1630s ok 1223 /checksum/SHA384/111 1630s ok 1224 /checksum/SHA384/112 1630s ok 1225 /checksum/SHA384/113 1630s ok 1226 /checksum/SHA384/114 1630s ok 1227 /checksum/SHA384/115 1630s ok 1228 /checksum/SHA384/116 1630s ok 1229 /checksum/SHA384/117 1630s ok 1230 /checksum/SHA384/118 1630s ok 1231 /checksum/SHA384/119 1630s ok 1232 /checksum/SHA384/120 1630s ok 1233 /checksum/SHA384/121 1630s ok 1234 /checksum/SHA384/122 1630s ok 1235 /checksum/SHA384/123 1630s ok 1236 /checksum/SHA384/124 1630s ok 1237 /checksum/SHA384/125 1630s ok 1238 /checksum/SHA384/126 1630s ok 1239 /checksum/SHA384/127 1630s ok 1240 /checksum/SHA384/128 1630s ok 1241 /checksum/SHA384/129 1630s ok 1242 /checksum/SHA384/130 1630s ok 1243 /checksum/SHA384/131 1630s ok 1244 /checksum/SHA384/132 1630s ok 1245 /checksum/SHA384/133 1630s ok 1246 /checksum/SHA384/134 1630s ok 1247 /checksum/SHA384/135 1630s ok 1248 /checksum/SHA384/136 1630s ok 1249 /checksum/SHA384/137 1630s ok 1250 /checksum/SHA384/138 1630s ok 1251 /checksum/SHA384/139 1630s ok 1252 /checksum/SHA384/140 1630s ok 1253 /checksum/SHA384/141 1630s ok 1254 /checksum/SHA384/142 1630s ok 1255 /checksum/SHA384/143 1630s ok 1256 /checksum/SHA384/144 1630s ok 1257 /checksum/SHA384/145 1630s ok 1258 /checksum/SHA384/146 1630s ok 1259 /checksum/SHA384/147 1630s ok 1260 /checksum/SHA384/148 1630s ok 1261 /checksum/SHA384/149 1630s ok 1262 /checksum/SHA384/150 1630s ok 1263 /checksum/SHA384/151 1630s ok 1264 /checksum/SHA384/152 1630s ok 1265 /checksum/SHA384/153 1630s ok 1266 /checksum/SHA384/154 1630s ok 1267 /checksum/SHA384/155 1630s ok 1268 /checksum/SHA384/156 1630s ok 1269 /checksum/SHA384/157 1630s ok 1270 /checksum/SHA384/158 1630s ok 1271 /checksum/SHA384/159 1630s ok 1272 /checksum/SHA384/160 1630s ok 1273 /checksum/SHA384/161 1630s ok 1274 /checksum/SHA384/162 1630s ok 1275 /checksum/SHA384/163 1630s ok 1276 /checksum/SHA384/164 1630s ok 1277 /checksum/SHA384/165 1630s ok 1278 /checksum/SHA384/166 1630s ok 1279 /checksum/SHA384/167 1630s ok 1280 /checksum/SHA384/168 1630s ok 1281 /checksum/SHA384/169 1630s ok 1282 /checksum/SHA384/170 1630s ok 1283 /checksum/SHA384/171 1630s ok 1284 /checksum/SHA384/172 1630s ok 1285 /checksum/SHA384/173 1630s ok 1286 /checksum/SHA384/174 1630s ok 1287 /checksum/SHA384/175 1630s ok 1288 /checksum/SHA384/176 1630s ok 1289 /checksum/SHA384/177 1630s ok 1290 /checksum/SHA384/178 1630s ok 1291 /checksum/SHA384/179 1630s ok 1292 /checksum/SHA384/180 1630s ok 1293 /checksum/SHA384/181 1630s ok 1294 /checksum/SHA384/182 1630s ok 1295 /checksum/SHA384/183 1630s ok 1296 /checksum/SHA384/string 1630s ok 1297 /checksum/SHA384/bytes 1630s # Start of reset tests 1630s ok 1298 /checksum/SHA384/reset/0 1630s ok 1299 /checksum/SHA384/reset/1 1630s ok 1300 /checksum/SHA384/reset/2 1630s ok 1301 /checksum/SHA384/reset/3 1630s ok 1302 /checksum/SHA384/reset/4 1630s ok 1303 /checksum/SHA384/reset/5 1630s ok 1304 /checksum/SHA384/reset/6 1630s ok 1305 /checksum/SHA384/reset/7 1630s ok 1306 /checksum/SHA384/reset/8 1630s ok 1307 /checksum/SHA384/reset/9 1630s ok 1308 /checksum/SHA384/reset/10 1630s ok 1309 /checksum/SHA384/reset/11 1630s ok 1310 /checksum/SHA384/reset/12 1630s ok 1311 /checksum/SHA384/reset/13 1630s ok 1312 /checksum/SHA384/reset/14 1630s ok 1313 /checksum/SHA384/reset/15 1630s ok 1314 /checksum/SHA384/reset/16 1630s ok 1315 /checksum/SHA384/reset/17 1630s ok 1316 /checksum/SHA384/reset/18 1630s ok 1317 /checksum/SHA384/reset/19 1630s ok 1318 /checksum/SHA384/reset/20 1630s ok 1319 /checksum/SHA384/reset/21 1630s ok 1320 /checksum/SHA384/reset/22 1630s ok 1321 /checksum/SHA384/reset/23 1630s ok 1322 /checksum/SHA384/reset/24 1630s ok 1323 /checksum/SHA384/reset/25 1630s ok 1324 /checksum/SHA384/reset/26 1630s ok 1325 /checksum/SHA384/reset/27 1630s ok 1326 /checksum/SHA384/reset/28 1630s ok 1327 /checksum/SHA384/reset/29 1630s ok 1328 /checksum/SHA384/reset/30 1630s ok 1329 /checksum/SHA384/reset/31 1630s ok 1330 /checksum/SHA384/reset/32 1630s ok 1331 /checksum/SHA384/reset/33 1630s ok 1332 /checksum/SHA384/reset/34 1630s ok 1333 /checksum/SHA384/reset/35 1630s ok 1334 /checksum/SHA384/reset/36 1630s ok 1335 /checksum/SHA384/reset/37 1630s ok 1336 /checksum/SHA384/reset/38 1630s ok 1337 /checksum/SHA384/reset/39 1630s ok 1338 /checksum/SHA384/reset/40 1630s ok 1339 /checksum/SHA384/reset/41 1630s ok 1340 /checksum/SHA384/reset/42 1630s ok 1341 /checksum/SHA384/reset/43 1630s ok 1342 /checksum/SHA384/reset/44 1630s ok 1343 /checksum/SHA384/reset/45 1630s ok 1344 /checksum/SHA384/reset/46 1630s ok 1345 /checksum/SHA384/reset/47 1630s ok 1346 /checksum/SHA384/reset/48 1630s ok 1347 /checksum/SHA384/reset/49 1630s ok 1348 /checksum/SHA384/reset/50 1630s ok 1349 /checksum/SHA384/reset/51 1630s ok 1350 /checksum/SHA384/reset/52 1630s ok 1351 /checksum/SHA384/reset/53 1630s ok 1352 /checksum/SHA384/reset/54 1630s ok 1353 /checksum/SHA384/reset/55 1630s ok 1354 /checksum/SHA384/reset/56 1630s ok 1355 /checksum/SHA384/reset/57 1630s ok 1356 /checksum/SHA384/reset/58 1630s ok 1357 /checksum/SHA384/reset/59 1630s ok 1358 /checksum/SHA384/reset/60 1630s ok 1359 /checksum/SHA384/reset/61 1630s ok 1360 /checksum/SHA384/reset/62 1630s ok 1361 /checksum/SHA384/reset/63 1630s ok 1362 /checksum/SHA384/reset/64 1630s ok 1363 /checksum/SHA384/reset/65 1630s ok 1364 /checksum/SHA384/reset/66 1630s ok 1365 /checksum/SHA384/reset/67 1630s ok 1366 /checksum/SHA384/reset/68 1630s ok 1367 /checksum/SHA384/reset/69 1630s ok 1368 /checksum/SHA384/reset/70 1630s ok 1369 /checksum/SHA384/reset/71 1630s ok 1370 /checksum/SHA384/reset/72 1630s ok 1371 /checksum/SHA384/reset/73 1630s ok 1372 /checksum/SHA384/reset/74 1630s ok 1373 /checksum/SHA384/reset/75 1630s ok 1374 /checksum/SHA384/reset/76 1630s ok 1375 /checksum/SHA384/reset/77 1630s ok 1376 /checksum/SHA384/reset/78 1630s ok 1377 /checksum/SHA384/reset/79 1630s ok 1378 /checksum/SHA384/reset/80 1630s ok 1379 /checksum/SHA384/reset/81 1630s ok 1380 /checksum/SHA384/reset/82 1630s ok 1381 /checksum/SHA384/reset/83 1630s ok 1382 /checksum/SHA384/reset/84 1630s ok 1383 /checksum/SHA384/reset/85 1630s ok 1384 /checksum/SHA384/reset/86 1630s ok 1385 /checksum/SHA384/reset/87 1630s ok 1386 /checksum/SHA384/reset/88 1630s ok 1387 /checksum/SHA384/reset/89 1630s ok 1388 /checksum/SHA384/reset/90 1630s ok 1389 /checksum/SHA384/reset/91 1630s ok 1390 /checksum/SHA384/reset/92 1630s ok 1391 /checksum/SHA384/reset/93 1630s ok 1392 /checksum/SHA384/reset/94 1630s ok 1393 /checksum/SHA384/reset/95 1630s ok 1394 /checksum/SHA384/reset/96 1630s ok 1395 /checksum/SHA384/reset/97 1630s ok 1396 /checksum/SHA384/reset/98 1630s ok 1397 /checksum/SHA384/reset/99 1630s ok 1398 /checksum/SHA384/reset/100 1630s ok 1399 /checksum/SHA384/reset/101 1630s ok 1400 /checksum/SHA384/reset/102 1630s ok 1401 /checksum/SHA384/reset/103 1630s ok 1402 /checksum/SHA384/reset/104 1630s ok 1403 /checksum/SHA384/reset/105 1630s ok 1404 /checksum/SHA384/reset/106 1630s ok 1405 /checksum/SHA384/reset/107 1630s ok 1406 /checksum/SHA384/reset/108 1630s ok 1407 /checksum/SHA384/reset/109 1630s ok 1408 /checksum/SHA384/reset/110 1630s ok 1409 /checksum/SHA384/reset/111 1630s ok 1410 /checksum/SHA384/reset/112 1630s ok 1411 /checksum/SHA384/reset/113 1630s ok 1412 /checksum/SHA384/reset/114 1630s ok 1413 /checksum/SHA384/reset/115 1630s ok 1414 /checksum/SHA384/reset/116 1630s ok 1415 /checksum/SHA384/reset/117 1630s ok 1416 /checksum/SHA384/reset/118 1630s ok 1417 /checksum/SHA384/reset/119 1630s ok 1418 /checksum/SHA384/reset/120 1630s ok 1419 /checksum/SHA384/reset/121 1630s ok 1420 /checksum/SHA384/reset/122 1630s ok 1421 /checksum/SHA384/reset/123 1630s ok 1422 /checksum/SHA384/reset/124 1630s ok 1423 /checksum/SHA384/reset/125 1630s ok 1424 /checksum/SHA384/reset/126 1630s ok 1425 /checksum/SHA384/reset/127 1630s ok 1426 /checksum/SHA384/reset/128 1630s ok 1427 /checksum/SHA384/reset/129 1630s ok 1428 /checksum/SHA384/reset/130 1630s ok 1429 /checksum/SHA384/reset/131 1630s ok 1430 /checksum/SHA384/reset/132 1630s ok 1431 /checksum/SHA384/reset/133 1630s ok 1432 /checksum/SHA384/reset/134 1630s ok 1433 /checksum/SHA384/reset/135 1630s ok 1434 /checksum/SHA384/reset/136 1630s ok 1435 /checksum/SHA384/reset/137 1630s ok 1436 /checksum/SHA384/reset/138 1630s ok 1437 /checksum/SHA384/reset/139 1630s ok 1438 /checksum/SHA384/reset/140 1630s ok 1439 /checksum/SHA384/reset/141 1630s ok 1440 /checksum/SHA384/reset/142 1630s ok 1441 /checksum/SHA384/reset/143 1630s ok 1442 /checksum/SHA384/reset/144 1630s ok 1443 /checksum/SHA384/reset/145 1630s ok 1444 /checksum/SHA384/reset/146 1630s ok 1445 /checksum/SHA384/reset/147 1630s ok 1446 /checksum/SHA384/reset/148 1630s ok 1447 /checksum/SHA384/reset/149 1630s ok 1448 /checksum/SHA384/reset/150 1630s ok 1449 /checksum/SHA384/reset/151 1630s ok 1450 /checksum/SHA384/reset/152 1630s ok 1451 /checksum/SHA384/reset/153 1630s ok 1452 /checksum/SHA384/reset/154 1630s ok 1453 /checksum/SHA384/reset/155 1630s ok 1454 /checksum/SHA384/reset/156 1630s ok 1455 /checksum/SHA384/reset/157 1630s ok 1456 /checksum/SHA384/reset/158 1630s ok 1457 /checksum/SHA384/reset/159 1630s ok 1458 /checksum/SHA384/reset/160 1630s ok 1459 /checksum/SHA384/reset/161 1630s ok 1460 /checksum/SHA384/reset/162 1630s ok 1461 /checksum/SHA384/reset/163 1630s ok 1462 /checksum/SHA384/reset/164 1630s ok 1463 /checksum/SHA384/reset/165 1630s ok 1464 /checksum/SHA384/reset/166 1630s ok 1465 /checksum/SHA384/reset/167 1630s ok 1466 /checksum/SHA384/reset/168 1630s ok 1467 /checksum/SHA384/reset/169 1630s ok 1468 /checksum/SHA384/reset/170 1630s ok 1469 /checksum/SHA384/reset/171 1630s ok 1470 /checksum/SHA384/reset/172 1630s ok 1471 /checksum/SHA384/reset/173 1630s ok 1472 /checksum/SHA384/reset/174 1630s ok 1473 /checksum/SHA384/reset/175 1630s ok 1474 /checksum/SHA384/reset/176 1630s ok 1475 /checksum/SHA384/reset/177 1630s ok 1476 /checksum/SHA384/reset/178 1630s ok 1477 /checksum/SHA384/reset/179 1630s ok 1478 /checksum/SHA384/reset/180 1630s ok 1479 /checksum/SHA384/reset/181 1630s ok 1480 /checksum/SHA384/reset/182 1630s ok 1481 /checksum/SHA384/reset/183 1630s # End of reset tests 1630s # End of SHA384 tests 1630s # Start of SHA512 tests 1630s ok 1482 /checksum/SHA512/0 1630s ok 1483 /checksum/SHA512/1 1630s ok 1484 /checksum/SHA512/2 1630s ok 1485 /checksum/SHA512/3 1630s ok 1486 /checksum/SHA512/4 1630s ok 1487 /checksum/SHA512/5 1630s ok 1488 /checksum/SHA512/6 1630s ok 1489 /checksum/SHA512/7 1630s ok 1490 /checksum/SHA512/8 1630s ok 1491 /checksum/SHA512/9 1630s ok 1492 /checksum/SHA512/10 1630s ok 1493 /checksum/SHA512/11 1630s ok 1494 /checksum/SHA512/12 1630s ok 1495 /checksum/SHA512/13 1630s ok 1496 /checksum/SHA512/14 1630s ok 1497 /checksum/SHA512/15 1630s ok 1498 /checksum/SHA512/16 1630s ok 1499 /checksum/SHA512/17 1630s ok 1500 /checksum/SHA512/18 1630s ok 1501 /checksum/SHA512/19 1630s ok 1502 /checksum/SHA512/20 1630s ok 1503 /checksum/SHA512/21 1630s ok 1504 /checksum/SHA512/22 1630s ok 1505 /checksum/SHA512/23 1630s ok 1506 /checksum/SHA512/24 1630s ok 1507 /checksum/SHA512/25 1630s ok 1508 /checksum/SHA512/26 1630s ok 1509 /checksum/SHA512/27 1630s ok 1510 /checksum/SHA512/28 1630s ok 1511 /checksum/SHA512/29 1630s ok 1512 /checksum/SHA512/30 1630s ok 1513 /checksum/SHA512/31 1630s ok 1514 /checksum/SHA512/32 1630s ok 1515 /checksum/SHA512/33 1630s ok 1516 /checksum/SHA512/34 1630s ok 1517 /checksum/SHA512/35 1630s ok 1518 /checksum/SHA512/36 1630s ok 1519 /checksum/SHA512/37 1630s ok 1520 /checksum/SHA512/38 1630s ok 1521 /checksum/SHA512/39 1630s ok 1522 /checksum/SHA512/40 1630s ok 1523 /checksum/SHA512/41 1630s ok 1524 /checksum/SHA512/42 1630s ok 1525 /checksum/SHA512/43 1630s ok 1526 /checksum/SHA512/44 1630s ok 1527 /checksum/SHA512/45 1630s ok 1528 /checksum/SHA512/46 1630s ok 1529 /checksum/SHA512/47 1630s ok 1530 /checksum/SHA512/48 1630s ok 1531 /checksum/SHA512/49 1630s ok 1532 /checksum/SHA512/50 1630s ok 1533 /checksum/SHA512/51 1630s ok 1534 /checksum/SHA512/52 1630s ok 1535 /checksum/SHA512/53 1630s ok 1536 /checksum/SHA512/54 1630s ok 1537 /checksum/SHA512/55 1630s ok 1538 /checksum/SHA512/56 1630s ok 1539 /checksum/SHA512/57 1630s ok 1540 /checksum/SHA512/58 1630s ok 1541 /checksum/SHA512/59 1630s ok 1542 /checksum/SHA512/60 1630s ok 1543 /checksum/SHA512/61 1630s ok 1544 /checksum/SHA512/62 1630s ok 1545 /checksum/SHA512/63 1630s ok 1546 /checksum/SHA512/64 1630s ok 1547 /checksum/SHA512/65 1630s ok 1548 /checksum/SHA512/66 1630s ok 1549 /checksum/SHA512/67 1630s ok 1550 /checksum/SHA512/68 1630s ok 1551 /checksum/SHA512/69 1630s ok 1552 /checksum/SHA512/70 1630s ok 1553 /checksum/SHA512/71 1630s ok 1554 /checksum/SHA512/72 1630s ok 1555 /checksum/SHA512/73 1630s ok 1556 /checksum/SHA512/74 1630s ok 1557 /checksum/SHA512/75 1630s ok 1558 /checksum/SHA512/76 1630s ok 1559 /checksum/SHA512/77 1630s ok 1560 /checksum/SHA512/78 1630s ok 1561 /checksum/SHA512/79 1630s ok 1562 /checksum/SHA512/80 1630s ok 1563 /checksum/SHA512/81 1630s ok 1564 /checksum/SHA512/82 1630s ok 1565 /checksum/SHA512/83 1630s ok 1566 /checksum/SHA512/84 1630s ok 1567 /checksum/SHA512/85 1630s ok 1568 /checksum/SHA512/86 1630s ok 1569 /checksum/SHA512/87 1630s ok 1570 /checksum/SHA512/88 1630s ok 1571 /checksum/SHA512/89 1630s ok 1572 /checksum/SHA512/90 1630s ok 1573 /checksum/SHA512/91 1630s ok 1574 /checksum/SHA512/92 1630s ok 1575 /checksum/SHA512/93 1630s ok 1576 /checksum/SHA512/94 1630s ok 1577 /checksum/SHA512/95 1630s ok 1578 /checksum/SHA512/96 1630s ok 1579 /checksum/SHA512/97 1630s ok 1580 /checksum/SHA512/98 1630s ok 1581 /checksum/SHA512/99 1630s ok 1582 /checksum/SHA512/100 1630s ok 1583 /checksum/SHA512/101 1630s ok 1584 /checksum/SHA512/102 1630s ok 1585 /checksum/SHA512/103 1630s ok 1586 /checksum/SHA512/104 1630s ok 1587 /checksum/SHA512/105 1630s ok 1588 /checksum/SHA512/106 1630s ok 1589 /checksum/SHA512/107 1630s ok 1590 /checksum/SHA512/108 1630s ok 1591 /checksum/SHA512/109 1630s ok 1592 /checksum/SHA512/110 1630s ok 1593 /checksum/SHA512/111 1630s ok 1594 /checksum/SHA512/112 1630s ok 1595 /checksum/SHA512/113 1630s ok 1596 /checksum/SHA512/114 1630s ok 1597 /checksum/SHA512/115 1630s ok 1598 /checksum/SHA512/116 1630s ok 1599 /checksum/SHA512/117 1630s ok 1600 /checksum/SHA512/118 1630s ok 1601 /checksum/SHA512/119 1630s ok 1602 /checksum/SHA512/120 1630s ok 1603 /checksum/SHA512/121 1630s ok 1604 /checksum/SHA512/122 1630s ok 1605 /checksum/SHA512/123 1630s ok 1606 /checksum/SHA512/124 1630s ok 1607 /checksum/SHA512/125 1630s ok 1608 /checksum/SHA512/126 1630s ok 1609 /checksum/SHA512/127 1630s ok 1610 /checksum/SHA512/128 1630s ok 1611 /checksum/SHA512/129 1630s ok 1612 /checksum/SHA512/130 1630s ok 1613 /checksum/SHA512/131 1630s ok 1614 /checksum/SHA512/132 1630s ok 1615 /checksum/SHA512/133 1630s ok 1616 /checksum/SHA512/134 1630s ok 1617 /checksum/SHA512/135 1630s ok 1618 /checksum/SHA512/136 1630s ok 1619 /checksum/SHA512/137 1630s ok 1620 /checksum/SHA512/138 1630s ok 1621 /checksum/SHA512/139 1630s ok 1622 /checksum/SHA512/140 1630s ok 1623 /checksum/SHA512/141 1630s ok 1624 /checksum/SHA512/142 1630s ok 1625 /checksum/SHA512/143 1630s ok 1626 /checksum/SHA512/144 1630s ok 1627 /checksum/SHA512/145 1630s ok 1628 /checksum/SHA512/146 1630s ok 1629 /checksum/SHA512/147 1630s ok 1630 /checksum/SHA512/148 1630s ok 1631 /checksum/SHA512/149 1630s ok 1632 /checksum/SHA512/150 1630s ok 1633 /checksum/SHA512/151 1630s ok 1634 /checksum/SHA512/152 1630s ok 1635 /checksum/SHA512/153 1630s ok 1636 /checksum/SHA512/154 1630s ok 1637 /checksum/SHA512/155 1630s ok 1638 /checksum/SHA512/156 1630s ok 1639 /checksum/SHA512/157 1630s ok 1640 /checksum/SHA512/158 1630s ok 1641 /checksum/SHA512/159 1630s ok 1642 /checksum/SHA512/160 1630s ok 1643 /checksum/SHA512/161 1630s ok 1644 /checksum/SHA512/162 1630s ok 1645 /checksum/SHA512/163 1630s ok 1646 /checksum/SHA512/164 1630s ok 1647 /checksum/SHA512/165 1630s ok 1648 /checksum/SHA512/166 1630s ok 1649 /checksum/SHA512/167 1630s ok 1650 /checksum/SHA512/168 1630s ok 1651 /checksum/SHA512/169 1630s ok 1652 /checksum/SHA512/170 1630s ok 1653 /checksum/SHA512/171 1630s ok 1654 /checksum/SHA512/172 1630s ok 1655 /checksum/SHA512/173 1630s ok 1656 /checksum/SHA512/174 1630s ok 1657 /checksum/SHA512/175 1630s ok 1658 /checksum/SHA512/176 1630s ok 1659 /checksum/SHA512/177 1630s ok 1660 /checksum/SHA512/178 1630s ok 1661 /checksum/SHA512/179 1630s ok 1662 /checksum/SHA512/180 1630s ok 1663 /checksum/SHA512/181 1630s ok 1664 /checksum/SHA512/182 1630s ok 1665 /checksum/SHA512/183 1630s ok 1666 /checksum/SHA512/string 1630s ok 1667 /checksum/SHA512/bytes 1630s # Start of reset tests 1630s ok 1668 /checksum/SHA512/reset/0 1630s ok 1669 /checksum/SHA512/reset/1 1630s ok 1670 /checksum/SHA512/reset/2 1630s ok 1671 /checksum/SHA512/reset/3 1630s ok 1672 /checksum/SHA512/reset/4 1630s ok 1673 /checksum/SHA512/reset/5 1630s ok 1674 /checksum/SHA512/reset/6 1630s ok 1675 /checksum/SHA512/reset/7 1630s ok 1676 /checksum/SHA512/reset/8 1630s ok 1677 /checksum/SHA512/reset/9 1630s ok 1678 /checksum/SHA512/reset/10 1630s ok 1679 /checksum/SHA512/reset/11 1630s ok 1680 /checksum/SHA512/reset/12 1630s ok 1681 /checksum/SHA512/reset/13 1630s ok 1682 /checksum/SHA512/reset/14 1630s ok 1683 /checksum/SHA512/reset/15 1630s ok 1684 /checksum/SHA512/reset/16 1630s ok 1685 /checksum/SHA512/reset/17 1630s ok 1686 /checksum/SHA512/reset/18 1630s ok 1687 /checksum/SHA512/reset/19 1630s ok 1688 /checksum/SHA512/reset/20 1630s ok 1689 /checksum/SHA512/reset/21 1630s ok 1690 /checksum/SHA512/reset/22 1630s ok 1691 /checksum/SHA512/reset/23 1630s ok 1692 /checksum/SHA512/reset/24 1630s ok 1693 /checksum/SHA512/reset/25 1630s ok 1694 /checksum/SHA512/reset/26 1630s ok 1695 /checksum/SHA512/reset/27 1630s ok 1696 /checksum/SHA512/reset/28 1630s ok 1697 /checksum/SHA512/reset/29 1630s ok 1698 /checksum/SHA512/reset/30 1630s ok 1699 /checksum/SHA512/reset/31 1630s ok 1700 /checksum/SHA512/reset/32 1630s ok 1701 /checksum/SHA512/reset/33 1630s ok 1702 /checksum/SHA512/reset/34 1630s ok 1703 /checksum/SHA512/reset/35 1630s ok 1704 /checksum/SHA512/reset/36 1630s ok 1705 /checksum/SHA512/reset/37 1630s ok 1706 /checksum/SHA512/reset/38 1630s ok 1707 /checksum/SHA512/reset/39 1630s ok 1708 /checksum/SHA512/reset/40 1630s ok 1709 /checksum/SHA512/reset/41 1630s ok 1710 /checksum/SHA512/reset/42 1630s ok 1711 /checksum/SHA512/reset/43 1630s ok 1712 /checksum/SHA512/reset/44 1630s ok 1713 /checksum/SHA512/reset/45 1630s ok 1714 /checksum/SHA512/reset/46 1630s ok 1715 /checksum/SHA512/reset/47 1630s ok 1716 /checksum/SHA512/reset/48 1630s ok 1717 /checksum/SHA512/reset/49 1630s ok 1718 /checksum/SHA512/reset/50 1630s ok 1719 /checksum/SHA512/reset/51 1630s ok 1720 /checksum/SHA512/reset/52 1630s ok 1721 /checksum/SHA512/reset/53 1630s ok 1722 /checksum/SHA512/reset/54 1630s ok 1723 /checksum/SHA512/reset/55 1630s ok 1724 /checksum/SHA512/reset/56 1630s ok 1725 /checksum/SHA512/reset/57 1630s ok 1726 /checksum/SHA512/reset/58 1630s ok 1727 /checksum/SHA512/reset/59 1630s ok 1728 /checksum/SHA512/reset/60 1630s ok 1729 /checksum/SHA512/reset/61 1630s ok 1730 /checksum/SHA512/reset/62 1630s ok 1731 /checksum/SHA512/reset/63 1630s ok 1732 /checksum/SHA512/reset/64 1630s ok 1733 /checksum/SHA512/reset/65 1630s ok 1734 /checksum/SHA512/reset/66 1630s ok 1735 /checksum/SHA512/reset/67 1630s ok 1736 /checksum/SHA512/reset/68 1630s ok 1737 /checksum/SHA512/reset/69 1630s ok 1738 /checksum/SHA512/reset/70 1630s ok 1739 /checksum/SHA512/reset/71 1630s ok 1740 /checksum/SHA512/reset/72 1630s ok 1741 /checksum/SHA512/reset/73 1630s ok 1742 /checksum/SHA512/reset/74 1630s ok 1743 /checksum/SHA512/reset/75 1630s ok 1744 /checksum/SHA512/reset/76 1630s ok 1745 /checksum/SHA512/reset/77 1630s ok 1746 /checksum/SHA512/reset/78 1630s ok 1747 /checksum/SHA512/reset/79 1630s ok 1748 /checksum/SHA512/reset/80 1630s ok 1749 /checksum/SHA512/reset/81 1630s ok 1750 /checksum/SHA512/reset/82 1630s ok 1751 /checksum/SHA512/reset/83 1630s ok 1752 /checksum/SHA512/reset/84 1630s ok 1753 /checksum/SHA512/reset/85 1630s ok 1754 /checksum/SHA512/reset/86 1630s ok 1755 /checksum/SHA512/reset/87 1630s ok 1756 /checksum/SHA512/reset/88 1630s ok 1757 /checksum/SHA512/reset/89 1630s ok 1758 /checksum/SHA512/reset/90 1630s ok 1759 /checksum/SHA512/reset/91 1630s ok 1760 /checksum/SHA512/reset/92 1630s ok 1761 /checksum/SHA512/reset/93 1630s ok 1762 /checksum/SHA512/reset/94 1630s ok 1763 /checksum/SHA512/reset/95 1630s ok 1764 /checksum/SHA512/reset/96 1630s ok 1765 /checksum/SHA512/reset/97 1630s ok 1766 /checksum/SHA512/reset/98 1630s ok 1767 /checksum/SHA512/reset/99 1630s ok 1768 /checksum/SHA512/reset/100 1630s ok 1769 /checksum/SHA512/reset/101 1630s ok 1770 /checksum/SHA512/reset/102 1630s ok 1771 /checksum/SHA512/reset/103 1630s ok 1772 /checksum/SHA512/reset/104 1630s ok 1773 /checksum/SHA512/reset/105 1630s ok 1774 /checksum/SHA512/reset/106 1630s ok 1775 /checksum/SHA512/reset/107 1630s ok 1776 /checksum/SHA512/reset/108 1630s ok 1777 /checksum/SHA512/reset/109 1630s ok 1778 /checksum/SHA512/reset/110 1630s ok 1779 /checksum/SHA512/reset/111 1630s ok 1780 /checksum/SHA512/reset/112 1630s ok 1781 /checksum/SHA512/reset/113 1630s ok 1782 /checksum/SHA512/reset/114 1630s ok 1783 /checksum/SHA512/reset/115 1630s ok 1784 /checksum/SHA512/reset/116 1630s ok 1785 /checksum/SHA512/reset/117 1630s ok 1786 /checksum/SHA512/reset/118 1630s ok 1787 /checksum/SHA512/reset/119 1630s ok 1788 /checksum/SHA512/reset/120 1630s ok 1789 /checksum/SHA512/reset/121 1630s ok 1790 /checksum/SHA512/reset/122 1630s ok 1791 /checksum/SHA512/reset/123 1630s ok 1792 /checksum/SHA512/reset/124 1630s ok 1793 /checksum/SHA512/reset/125 1630s ok 1794 /checksum/SHA512/reset/126 1630s ok 1795 /checksum/SHA512/reset/127 1630s ok 1796 /checksum/SHA512/reset/128 1630s ok 1797 /checksum/SHA512/reset/129 1630s ok 1798 /checksum/SHA512/reset/130 1630s ok 1799 /checksum/SHA512/reset/131 1630s ok 1800 /checksum/SHA512/reset/132 1630s ok 1801 /checksum/SHA512/reset/133 1630s ok 1802 /checksum/SHA512/reset/134 1630s ok 1803 /checksum/SHA512/reset/135 1630s ok 1804 /checksum/SHA512/reset/136 1630s ok 1805 /checksum/SHA512/reset/137 1630s ok 1806 /checksum/SHA512/reset/138 1630s ok 1807 /checksum/SHA512/reset/139 1630s ok 1808 /checksum/SHA512/reset/140 1630s ok 1809 /checksum/SHA512/reset/141 1630s ok 1810 /checksum/SHA512/reset/142 1630s ok 1811 /checksum/SHA512/reset/143 1630s ok 1812 /checksum/SHA512/reset/144 1630s ok 1813 /checksum/SHA512/reset/145 1630s ok 1814 /checksum/SHA512/reset/146 1630s ok 1815 /checksum/SHA512/reset/147 1630s ok 1816 /checksum/SHA512/reset/148 1630s ok 1817 /checksum/SHA512/reset/149 1630s ok 1818 /checksum/SHA512/reset/150 1630s ok 1819 /checksum/SHA512/reset/151 1630s ok 1820 /checksum/SHA512/reset/152 1630s ok 1821 /checksum/SHA512/reset/153 1630s ok 1822 /checksum/SHA512/reset/154 1630s ok 1823 /checksum/SHA512/reset/155 1630s ok 1824 /checksum/SHA512/reset/156 1630s ok 1825 /checksum/SHA512/reset/157 1630s ok 1826 /checksum/SHA512/reset/158 1630s ok 1827 /checksum/SHA512/reset/159 1630s ok 1828 /checksum/SHA512/reset/160 1630s ok 1829 /checksum/SHA512/reset/161 1630s ok 1830 /checksum/SHA512/reset/162 1630s ok 1831 /checksum/SHA512/reset/163 1630s ok 1832 /checksum/SHA512/reset/164 1630s ok 1833 /checksum/SHA512/reset/165 1630s ok 1834 /checksum/SHA512/reset/166 1630s ok 1835 /checksum/SHA512/reset/167 1630s ok 1836 /checksum/SHA512/reset/168 1630s ok 1837 /checksum/SHA512/reset/169 1630s ok 1838 /checksum/SHA512/reset/170 1630s ok 1839 /checksum/SHA512/reset/171 1630s ok 1840 /checksum/SHA512/reset/172 1630s ok 1841 /checksum/SHA512/reset/173 1630s ok 1842 /checksum/SHA512/reset/174 1630s ok 1843 /checksum/SHA512/reset/175 1630s ok 1844 /checksum/SHA512/reset/176 1630s ok 1845 /checksum/SHA512/reset/177 1630s ok 1846 /checksum/SHA512/reset/178 1630s ok 1847 /checksum/SHA512/reset/179 1630s ok 1848 /checksum/SHA512/reset/180 1630s ok 1849 /checksum/SHA512/reset/181 1630s ok 1850 /checksum/SHA512/reset/182 1630s ok 1851 /checksum/SHA512/reset/183 1630s # End of reset tests 1630s # End of SHA512 tests 1630s # End of checksum tests 1630s ok - glib/checksum.test 1630s # Running test: glib/throws.test 1630s TAP version 14 1630s # random seed: R02Sb5c593d9b79d32704e586ff37f601438 1630s 1..3 1630s # Start of throws tests 1630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_73JKZ2/throws/invoke-gerror/.dirs/home 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_73JKZ2/throws/invoke-gerror/.dirs/cache 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_73JKZ2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_73JKZ2/throws/invoke-gerror/.dirs/system-config2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_73JKZ2/throws/invoke-gerror/.dirs/config 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_73JKZ2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_73JKZ2/throws/invoke-gerror/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_73JKZ2/throws/invoke-gerror/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_73JKZ2/throws/invoke-gerror/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_73JKZ2/throws/invoke-gerror/.dirs/runtime 1630s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1630s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1630s ok 1 /throws/invoke-gerror 1630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_73JKZ2/throws/vfunc-can-throw-gerror/.dirs/home 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_73JKZ2/throws/vfunc-can-throw-gerror/.dirs/cache 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_73JKZ2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_73JKZ2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_73JKZ2/throws/vfunc-can-throw-gerror/.dirs/config 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_73JKZ2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_73JKZ2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_73JKZ2/throws/vfunc-can-throw-gerror/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_73JKZ2/throws/vfunc-can-throw-gerror/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_73JKZ2/throws/vfunc-can-throw-gerror/.dirs/runtime 1630s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1630s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1630s ok 2 /throws/vfunc-can-throw-gerror 1630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_73JKZ2/throws/callback-can-throw-gerror/.dirs/home 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_73JKZ2/throws/callback-can-throw-gerror/.dirs/cache 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_73JKZ2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_73JKZ2/throws/callback-can-throw-gerror/.dirs/system-config2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_73JKZ2/throws/callback-can-throw-gerror/.dirs/config 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_73JKZ2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_73JKZ2/throws/callback-can-throw-gerror/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_73JKZ2/throws/callback-can-throw-gerror/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_73JKZ2/throws/callback-can-throw-gerror/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_73JKZ2/throws/callback-can-throw-gerror/.dirs/runtime 1630s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1630s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1630s ok 3 /throws/callback-can-throw-gerror 1630s # End of throws tests 1630s ok - glib/throws.test 1630s # Running test: glib/atomic-c-99.test 1630s TAP version 14 1630s # random seed: R02S18e21e0228bc78cd9aed5e18f2f7b1f3 1630s 1..2 1630s # Start of atomic tests 1630s ok 1 /atomic/types 1630s ok 2 /atomic/threaded 1630s # End of atomic tests 1630s ok - glib/atomic-c-99.test 1630s # Running test: glib/power-profile-monitor.test 1630s TAP version 14 1630s # random seed: R02S85b8808eaabf2731c1d0888d301fd99c 1630s 1..1 1630s # Start of power-profile-monitor tests 1630s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1630s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1630s ok 1 /power-profile-monitor/default 1630s # End of power-profile-monitor tests 1630s ok - glib/power-profile-monitor.test 1630s # Running test: glib/contexts.test 1630s TAP version 14 1630s # random seed: R02Sf747d96e82744733510c16b3b867b519 1630s 1..5 1630s # Start of gio tests 1630s # Start of contexts tests 1630s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1630s ok 1 /gio/contexts/thread-independence 1630s ok 2 /gio/contexts/context-independence 1630s # Start of context-specific tests 1630s ok 3 /gio/contexts/context-specific/identity 1630s ok 4 /gio/contexts/context-specific/emit 1630s ok 5 /gio/contexts/context-specific/emit-and-unref 1630s # End of context-specific tests 1630s # End of contexts tests 1630s # End of gio tests 1630s ok - glib/contexts.test 1630s # Running test: glib/mappedfile.test 1630s TAP version 14 1630s # random seed: R02Sa75e74c102ea395bfaaa312d8e6b09d1 1630s 1..7 1630s # Start of mappedfile tests 1630s ok 1 /mappedfile/basic 1630s ok 2 /mappedfile/empty 1630s ok 3 /mappedfile/device 1630s ok 4 /mappedfile/nonexisting 1630s ok 5 /mappedfile/writable 1630s ok 6 /mappedfile/writable_fd 1630s ok 7 /mappedfile/gbytes 1630s # End of mappedfile tests 1630s ok - glib/mappedfile.test 1630s # Running test: glib/bytes.test 1630s TAP version 14 1630s # random seed: R02S4e30e4dd7faac4c15b475ec374b8cae4 1630s 1..21 1630s # Start of bytes tests 1630s ok 1 /bytes/new 1630s ok 2 /bytes/new-take 1630s ok 3 /bytes/new-static 1630s ok 4 /bytes/new-with-free-func 1630s ok 5 /bytes/new-from-bytes 1630s ok 6 /bytes/new-from-bytes-slice 1630s ok 7 /bytes/new-from-bytes-shared-ref 1630s ok 8 /bytes/hash 1630s ok 9 /bytes/equal 1630s ok 10 /bytes/compare 1630s ok 11 /bytes/null 1630s ok 12 /bytes/get-region 1630s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1630s ok 13 /bytes/unref-null 1630s # Start of to-data tests 1630s ok 14 /bytes/to-data/transferred 1630s ok 15 /bytes/to-data/two-refs 1630s ok 16 /bytes/to-data/non-malloc 1630s ok 17 /bytes/to-data/different-free-func 1630s # End of to-data tests 1630s # Start of to-array tests 1630s ok 18 /bytes/to-array/transferred 1630s ok 19 /bytes/to-array/two-refs 1630s ok 20 /bytes/to-array/non-malloc 1630s # Start of transferred tests 1630s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1630s ok 21 /bytes/to-array/transferred/oversize # SKIP Skipping test as guint is not smaller than gsize 1630s # End of transferred tests 1630s # End of to-array tests 1630s # End of bytes tests 1630s ok - glib/bytes.test 1630s # Running test: glib/gdbus-proxy-unique-name.test 1630s TAP version 14 1630s # random seed: R02S863f332e36b63c834baa70c3df80871a 1630s 1..1 1630s # Start of gdbus tests 1630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_DGIQZ2/gdbus/proxy-unique-name/.dirs/home 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_DGIQZ2/gdbus/proxy-unique-name/.dirs/cache 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_DGIQZ2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_DGIQZ2/gdbus/proxy-unique-name/.dirs/system-config2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_DGIQZ2/gdbus/proxy-unique-name/.dirs/config 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_DGIQZ2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_DGIQZ2/gdbus/proxy-unique-name/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_DGIQZ2/gdbus/proxy-unique-name/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_DGIQZ2/gdbus/proxy-unique-name/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_DGIQZ2/gdbus/proxy-unique-name/.dirs/runtime 1630s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1630s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1630s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1630s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1630s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1630s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1630s ok 1 /gdbus/proxy-unique-name 1630s # End of gdbus tests 1630s ok - glib/gdbus-proxy-unique-name.test 1630s # Running test: glib/signals.test 1630s TAP version 14 1630s # random seed: R02S6c73dc3ce9af6ca9954153bb82ceac8e 1630s 1..31 1630s # Start of gobject tests 1630s # Start of signals tests 1630s ok 1 /gobject/signals/all-types 1630s ok 2 /gobject/signals/variant 1630s ok 3 /gobject/signals/destroy-target-object 1630s ok 4 /gobject/signals/generic-marshaller-1 1630s ok 5 /gobject/signals/generic-marshaller-2 1630s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1630s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1630s ok 8 /gobject/signals/generic-marshaller-int-return 1630s ok 9 /gobject/signals/generic-marshaller-uint-return 1630s ok 10 /gobject/signals/generic-marshaller-interface-return 1630s ok 11 /gobject/signals/custom-marshaller 1630s ok 12 /gobject/signals/connect 1630s ok 13 /gobject/signals/emission-hook 1630s ok 14 /gobject/signals/emitv 1630s ok 15 /gobject/signals/accumulator 1630s # Signal: accumulator-class-first 1630s # Signal: accumulator-class-last 1630s # Signal: accumulator-class-cleanup 1630s # Signal: accumulator-class-first-last 1630s # Signal: accumulator-class-first-last-cleanup 1630s # Signal: accumulator-class-last-cleanup 1630s ok 16 /gobject/signals/accumulator-class 1630s ok 17 /gobject/signals/introspection 1630s ok 18 /gobject/signals/block-handler 1630s ok 19 /gobject/signals/stop-emission 1630s ok 20 /gobject/signals/invocation-hint 1630s ok 21 /gobject/signals/test-disconnection-wrong-object 1630s ok 22 /gobject/signals/clear-signal-handler 1630s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1630s ok 23 /gobject/signals/lookup 1630s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1630s ok 24 /gobject/signals/parse-name 1630s ok 25 /gobject/signals/is-valid-name 1630s ok 26 /gobject/signals/weak-ref-disconnect 1630s # Start of lookup tests 1630s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1630s ok 27 /gobject/signals/lookup/invalid 1630s # End of lookup tests 1630s # Start of parse-name tests 1630s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1630s # Parser input: 1630s # Parser input: 7zip 1630s # Parser input: invalid:signal 1630s # Parser input: simple-detailed:: 1630s # Parser input: simple-detailed: 1630s # Parser input: : 1630s # Parser input: :: 1630s # Parser input: :valid-detail 1630s # Parser input: ::valid-detail 1630s ok 28 /gobject/signals/parse-name/invalid 1630s # End of parse-name tests 1630s # Start of invalid-name tests 1630s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1630s ok 29 /gobject/signals/invalid-name/colon 1630s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1630s ok 30 /gobject/signals/invalid-name/first-char 1630s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1630s ok 31 /gobject/signals/invalid-name/empty 1630s # End of invalid-name tests 1630s # End of signals tests 1630s # End of gobject tests 1630s ok - glib/signals.test 1630s # Running test: glib/macros-c-89.test 1630s TAP version 14 1630s # random seed: R02Sd9525c64abadc5e9109e7d7847b4b94e 1630s 1..4 1630s # Start of C tests 1630s ok 1 /C/standard-89 1630s # End of C tests 1630s # Start of alignof tests 1630s ok 2 /alignof/fallback 1630s # End of alignof tests 1630s # Start of assert tests 1630s ok 3 /assert/static 1630s # End of assert tests 1630s # Start of struct tests 1630s ok 4 /struct/sizeof_member 1630s # End of struct tests 1630s ok - glib/macros-c-89.test 1630s # Running test: glib/gdbus-proxy.test 1630s TAP version 14 1630s # random seed: R02S43b0da9f49ca5191ce2ab3a9cd0a5c52 1630s 1..5 1630s # Start of gdbus tests 1630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/.dirs/home 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/.dirs/cache 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/.dirs/system-config2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/.dirs/config 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/.dirs/runtime 1630s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1631s ok 1 /gdbus/proxy 1631s # slow test /gdbus/proxy executed in 1.73 secs 1631s # Start of proxy tests 1631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-properties/.dirs/home 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-properties/.dirs/cache 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-properties/.dirs/system-config2 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-properties/.dirs/config 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-properties/.dirs/system-data2 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-properties/.dirs/data 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-properties/.dirs/state 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-properties/.dirs/runtime 1631s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1631s ok 2 /gdbus/proxy/no-properties 1631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/wellknown-noauto/.dirs/home 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/wellknown-noauto/.dirs/cache 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/wellknown-noauto/.dirs/config 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/wellknown-noauto/.dirs/data 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/wellknown-noauto/.dirs/state 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/wellknown-noauto/.dirs/runtime 1631s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1631s ok 3 /gdbus/proxy/wellknown-noauto 1631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/async/.dirs/home 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/async/.dirs/cache 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/async/.dirs/system-config2 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/async/.dirs/config 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/async/.dirs/system-data2 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/async/.dirs/data 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/async/.dirs/state 1631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/async/.dirs/runtime 1631s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1632s # Executing: glib/gdbus-proxy.test 1633s ok 4 /gdbus/proxy/async 1633s # slow test /gdbus/proxy/async executed in 1.73 secs 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-match-rule/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-match-rule/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-match-rule/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-match-rule/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-match-rule/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-match-rule/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-match-rule/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_6XHRZ2/gdbus/proxy/no-match-rule/.dirs/runtime 1633s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1633s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1633s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1635s ok 5 /gdbus/proxy/no-match-rule 1635s # slow test /gdbus/proxy/no-match-rule executed in 1.73 secs 1635s # End of proxy 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 # 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 # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1635s ok - glib/gdbus-proxy.test 1635s # Running test: glib/atomic-c-89.test 1635s TAP version 14 1635s # random seed: R02S9cf63841d74e8c7d824e17b77bb6ca09 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-89.test 1635s # Running test: glib/regex.test 1635s TAP version 14 1635s # random seed: R02Sf41af36648d40bf5008b52d8da00115b 1635s 1..848 1635s # Start of regex tests 1635s ok 1 /regex/properties 1635s ok 2 /regex/class 1635s ok 3 /regex/lookahead 1635s ok 4 /regex/lookbehind 1635s ok 5 /regex/subpattern 1635s ok 6 /regex/condition 1635s ok 7 /regex/recursion 1635s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1635s ok 8 /regex/multiline 1635s ok 9 /regex/explicit-crlf 1635s ok 10 /regex/max-lookbehind 1635s ok 11 /regex/compile-errors 1635s ok 12 /regex/jit-unsupported-matching 1635s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1635s ok 13 /regex/unmatched-named-subpattern 1635s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1635s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1635s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1635s ok 14 /regex/compiled-regex-after-jit-failure 1635s # Start of new tests 1635s ok 15 /regex/new/1 1635s ok 16 /regex/new/2 1635s ok 17 /regex/new/3 1635s ok 18 /regex/new/4 1635s ok 19 /regex/new/5 1635s ok 20 /regex/new/6 1635s ok 21 /regex/new/7 1635s ok 22 /regex/new/8 1635s ok 23 /regex/new/9 1635s ok 24 /regex/new/10 1635s ok 25 /regex/new/11 1635s ok 26 /regex/new/12 1635s ok 27 /regex/new/13 1635s ok 28 /regex/new/14 1635s ok 29 /regex/new/15 1635s ok 30 /regex/new/16 1635s ok 31 /regex/new/17 1635s ok 32 /regex/new/18 1635s ok 33 /regex/new/19 1635s ok 34 /regex/new/71 1635s ok 35 /regex/new/80 1635s ok 36 /regex/new/82 1635s # End of new tests 1635s # Start of new-check-flags tests 1635s ok 37 /regex/new-check-flags/20 1635s ok 38 /regex/new-check-flags/21 1635s ok 39 /regex/new-check-flags/22 1635s ok 40 /regex/new-check-flags/23 1635s ok 41 /regex/new-check-flags/24 1635s ok 42 /regex/new-check-flags/25 1635s ok 43 /regex/new-check-flags/26 1635s ok 44 /regex/new-check-flags/27 1635s ok 45 /regex/new-check-flags/28 1635s ok 46 /regex/new-check-flags/29 1635s ok 47 /regex/new-check-flags/30 1635s ok 48 /regex/new-check-flags/31 1635s ok 49 /regex/new-check-flags/32 1635s ok 50 /regex/new-check-flags/33 1635s ok 51 /regex/new-check-flags/34 1635s ok 52 /regex/new-check-flags/35 1635s ok 53 /regex/new-check-flags/36 1635s # End of new-check-flags tests 1635s # Start of new-fail tests 1635s ok 54 /regex/new-fail/37 1635s ok 55 /regex/new-fail/38 1635s ok 56 /regex/new-fail/39 1635s ok 57 /regex/new-fail/40 1635s ok 58 /regex/new-fail/41 1635s ok 59 /regex/new-fail/42 1635s ok 60 /regex/new-fail/43 1635s ok 61 /regex/new-fail/44 1635s ok 62 /regex/new-fail/45 1635s ok 63 /regex/new-fail/46 1635s ok 64 /regex/new-fail/47 1635s ok 65 /regex/new-fail/48 1635s ok 66 /regex/new-fail/49 1635s ok 67 /regex/new-fail/50 1635s ok 68 /regex/new-fail/51 1635s ok 69 /regex/new-fail/52 1635s ok 70 /regex/new-fail/53 1635s ok 71 /regex/new-fail/54 1635s ok 72 /regex/new-fail/55 1635s ok 73 /regex/new-fail/56 1635s ok 74 /regex/new-fail/57 1635s ok 75 /regex/new-fail/58 1635s ok 76 /regex/new-fail/59 1635s ok 77 /regex/new-fail/60 1635s ok 78 /regex/new-fail/61 1635s ok 79 /regex/new-fail/62 1635s ok 80 /regex/new-fail/63 1635s ok 81 /regex/new-fail/64 1635s ok 82 /regex/new-fail/65 1635s ok 83 /regex/new-fail/66 1635s ok 84 /regex/new-fail/67 1635s ok 85 /regex/new-fail/68 1635s ok 86 /regex/new-fail/69 1635s ok 87 /regex/new-fail/70 1635s ok 88 /regex/new-fail/72 1635s ok 89 /regex/new-fail/73 1635s ok 90 /regex/new-fail/74 1635s ok 91 /regex/new-fail/75 1635s ok 92 /regex/new-fail/76 1635s ok 93 /regex/new-fail/77 1635s ok 94 /regex/new-fail/78 1635s ok 95 /regex/new-fail/79 1635s ok 96 /regex/new-fail/81 1635s ok 97 /regex/new-fail/83 1635s ok 98 /regex/new-fail/84 1635s ok 99 /regex/new-fail/85 1635s ok 100 /regex/new-fail/86 1635s ok 101 /regex/new-fail/87 1635s ok 102 /regex/new-fail/88 1635s ok 103 /regex/new-fail/89 1635s ok 104 /regex/new-fail/90 1635s ok 105 /regex/new-fail/91 1635s # End of new-fail tests 1635s # Start of match-simple tests 1635s ok 106 /regex/match-simple/92 1635s ok 107 /regex/match-simple/93 1635s ok 108 /regex/match-simple/94 1635s ok 109 /regex/match-simple/95 1635s ok 110 /regex/match-simple/96 1635s ok 111 /regex/match-simple/97 1635s ok 112 /regex/match-simple/98 1635s ok 113 /regex/match-simple/99 1635s ok 114 /regex/match-simple/100 1635s ok 115 /regex/match-simple/101 1635s ok 116 /regex/match-simple/102 1635s ok 117 /regex/match-simple/103 1635s ok 118 /regex/match-simple/104 1635s ok 119 /regex/match-simple/105 1635s ok 120 /regex/match-simple/106 1635s ok 121 /regex/match-simple/107 1635s ok 122 /regex/match-simple/108 1635s ok 123 /regex/match-simple/109 1635s ok 124 /regex/match-simple/110 1635s ok 125 /regex/match-simple/111 1635s ok 126 /regex/match-simple/112 1635s ok 127 /regex/match-simple/113 1635s ok 128 /regex/match-simple/114 1635s ok 129 /regex/match-simple/115 1635s ok 130 /regex/match-simple/116 1635s ok 131 /regex/match-simple/117 1635s ok 132 /regex/match-simple/118 1635s ok 133 /regex/match-simple/119 1635s ok 134 /regex/match-simple/120 1635s ok 135 /regex/match-simple/121 1635s ok 136 /regex/match-simple/122 1635s ok 137 /regex/match-simple/123 1635s ok 138 /regex/match-simple/124 1635s ok 139 /regex/match-simple/125 1635s ok 140 /regex/match-simple/126 1635s ok 141 /regex/match-simple/127 1635s ok 142 /regex/match-simple/128 1635s ok 143 /regex/match-simple/129 1635s ok 144 /regex/match-simple/130 1635s ok 145 /regex/match-simple/131 1635s ok 146 /regex/match-simple/132 1635s ok 147 /regex/match-simple/133 1635s ok 148 /regex/match-simple/134 1635s ok 149 /regex/match-simple/135 1635s ok 150 /regex/match-simple/136 1635s ok 151 /regex/match-simple/137 1635s ok 152 /regex/match-simple/138 1635s ok 153 /regex/match-simple/139 1635s ok 154 /regex/match-simple/140 1635s ok 155 /regex/match-simple/141 1635s ok 156 /regex/match-simple/142 1635s ok 157 /regex/match-simple/143 1635s ok 158 /regex/match-simple/144 1635s ok 159 /regex/match-simple/145 1635s ok 160 /regex/match-simple/146 1635s ok 161 /regex/match-simple/147 1635s ok 162 /regex/match-simple/148 1635s ok 163 /regex/match-simple/149 1635s ok 164 /regex/match-simple/150 1635s ok 165 /regex/match-simple/151 1635s ok 166 /regex/match-simple/152 1635s ok 167 /regex/match-simple/153 1635s ok 168 /regex/match-simple/154 1635s ok 169 /regex/match-simple/155 1635s ok 170 /regex/match-simple/156 1635s ok 171 /regex/match-simple/157 1635s ok 172 /regex/match-simple/158 1635s ok 173 /regex/match-simple/159 1635s ok 174 /regex/match-simple/160 1635s ok 175 /regex/match-simple/161 1635s ok 176 /regex/match-simple/162 1635s ok 177 /regex/match-simple/163 1635s ok 178 /regex/match-simple/164 1635s # End of match-simple tests 1635s # Start of match-simple-optimized tests 1635s ok 179 /regex/match-simple-optimized/92 1635s ok 180 /regex/match-simple-optimized/93 1635s ok 181 /regex/match-simple-optimized/94 1635s ok 182 /regex/match-simple-optimized/95 1635s ok 183 /regex/match-simple-optimized/96 1635s ok 184 /regex/match-simple-optimized/97 1635s ok 185 /regex/match-simple-optimized/98 1635s ok 186 /regex/match-simple-optimized/99 1635s ok 187 /regex/match-simple-optimized/100 1635s ok 188 /regex/match-simple-optimized/101 1635s ok 189 /regex/match-simple-optimized/102 1635s ok 190 /regex/match-simple-optimized/103 1635s ok 191 /regex/match-simple-optimized/104 1635s ok 192 /regex/match-simple-optimized/105 1635s ok 193 /regex/match-simple-optimized/106 1635s ok 194 /regex/match-simple-optimized/107 1635s ok 195 /regex/match-simple-optimized/108 1635s ok 196 /regex/match-simple-optimized/109 1635s ok 197 /regex/match-simple-optimized/110 1635s ok 198 /regex/match-simple-optimized/111 1635s ok 199 /regex/match-simple-optimized/112 1635s ok 200 /regex/match-simple-optimized/113 1635s ok 201 /regex/match-simple-optimized/114 1635s ok 202 /regex/match-simple-optimized/115 1635s ok 203 /regex/match-simple-optimized/116 1635s ok 204 /regex/match-simple-optimized/117 1635s ok 205 /regex/match-simple-optimized/118 1635s ok 206 /regex/match-simple-optimized/119 1635s ok 207 /regex/match-simple-optimized/120 1635s ok 208 /regex/match-simple-optimized/121 1635s ok 209 /regex/match-simple-optimized/122 1635s ok 210 /regex/match-simple-optimized/123 1635s ok 211 /regex/match-simple-optimized/124 1635s ok 212 /regex/match-simple-optimized/125 1635s ok 213 /regex/match-simple-optimized/126 1635s ok 214 /regex/match-simple-optimized/127 1635s ok 215 /regex/match-simple-optimized/128 1635s ok 216 /regex/match-simple-optimized/129 1635s ok 217 /regex/match-simple-optimized/130 1635s ok 218 /regex/match-simple-optimized/131 1635s ok 219 /regex/match-simple-optimized/132 1635s ok 220 /regex/match-simple-optimized/133 1635s ok 221 /regex/match-simple-optimized/134 1635s ok 222 /regex/match-simple-optimized/135 1635s ok 223 /regex/match-simple-optimized/136 1635s ok 224 /regex/match-simple-optimized/137 1635s ok 225 /regex/match-simple-optimized/138 1635s ok 226 /regex/match-simple-optimized/139 1635s ok 227 /regex/match-simple-optimized/140 1635s ok 228 /regex/match-simple-optimized/141 1635s ok 229 /regex/match-simple-optimized/142 1635s ok 230 /regex/match-simple-optimized/143 1635s ok 231 /regex/match-simple-optimized/144 1635s ok 232 /regex/match-simple-optimized/145 1635s ok 233 /regex/match-simple-optimized/146 1635s ok 234 /regex/match-simple-optimized/147 1635s ok 235 /regex/match-simple-optimized/148 1635s ok 236 /regex/match-simple-optimized/149 1635s ok 237 /regex/match-simple-optimized/150 1635s ok 238 /regex/match-simple-optimized/151 1635s ok 239 /regex/match-simple-optimized/152 1635s ok 240 /regex/match-simple-optimized/153 1635s ok 241 /regex/match-simple-optimized/154 1635s ok 242 /regex/match-simple-optimized/155 1635s ok 243 /regex/match-simple-optimized/156 1635s ok 244 /regex/match-simple-optimized/157 1635s ok 245 /regex/match-simple-optimized/158 1635s ok 246 /regex/match-simple-optimized/159 1635s ok 247 /regex/match-simple-optimized/160 1635s ok 248 /regex/match-simple-optimized/161 1635s ok 249 /regex/match-simple-optimized/162 1635s ok 250 /regex/match-simple-optimized/163 1635s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1635s ok 251 /regex/match-simple-optimized/164 1635s # End of match-simple-optimized tests 1635s # Start of match tests 1635s ok 252 /regex/match/165 1635s ok 253 /regex/match/166 1635s ok 254 /regex/match/167 1635s ok 255 /regex/match/168 1635s ok 256 /regex/match/169 1635s ok 257 /regex/match/170 1635s ok 258 /regex/match/171 1635s ok 259 /regex/match/172 1635s ok 260 /regex/match/173 1635s ok 261 /regex/match/174 1635s ok 262 /regex/match/175 1635s ok 263 /regex/match/176 1635s ok 264 /regex/match/177 1635s ok 265 /regex/match/178 1635s ok 266 /regex/match/179 1635s ok 267 /regex/match/180 1635s ok 268 /regex/match/181 1635s ok 269 /regex/match/182 1635s ok 270 /regex/match/183 1635s ok 271 /regex/match/184 1635s ok 272 /regex/match/185 1635s ok 273 /regex/match/186 1635s ok 274 /regex/match/187 1635s ok 275 /regex/match/188 1635s ok 276 /regex/match/189 1635s ok 277 /regex/match/190 1635s ok 278 /regex/match/191 1635s ok 279 /regex/match/192 1635s ok 280 /regex/match/193 1635s ok 281 /regex/match/194 1635s ok 282 /regex/match/195 1635s ok 283 /regex/match/196 1635s ok 284 /regex/match/197 1635s ok 285 /regex/match/198 1635s ok 286 /regex/match/199 1635s ok 287 /regex/match/200 1635s ok 288 /regex/match/201 1635s ok 289 /regex/match/202 1635s ok 290 /regex/match/203 1635s ok 291 /regex/match/204 1635s ok 292 /regex/match/205 1635s ok 293 /regex/match/206 1635s ok 294 /regex/match/207 1635s ok 295 /regex/match/208 1635s ok 296 /regex/match/209 1635s ok 297 /regex/match/210 1635s ok 298 /regex/match/211 1635s ok 299 /regex/match/212 1635s ok 300 /regex/match/213 1635s ok 301 /regex/match/214 1635s ok 302 /regex/match/215 1635s ok 303 /regex/match/216 1635s ok 304 /regex/match/217 1635s ok 305 /regex/match/218 1635s ok 306 /regex/match/219 1635s ok 307 /regex/match/220 1635s ok 308 /regex/match/221 1635s ok 309 /regex/match/222 1635s ok 310 /regex/match/223 1635s ok 311 /regex/match/224 1635s ok 312 /regex/match/225 1635s ok 313 /regex/match/226 1635s ok 314 /regex/match/227 1635s ok 315 /regex/match/228 1635s ok 316 /regex/match/229 1635s ok 317 /regex/match/230 1635s ok 318 /regex/match/231 1635s ok 319 /regex/match/232 1635s ok 320 /regex/match/233 1635s ok 321 /regex/match/234 1635s ok 322 /regex/match/235 1635s ok 323 /regex/match/236 1635s ok 324 /regex/match/237 1635s ok 325 /regex/match/238 1635s ok 326 /regex/match/239 1635s ok 327 /regex/match/240 1635s ok 328 /regex/match/241 1635s ok 329 /regex/match/242 1635s ok 330 /regex/match/243 1635s ok 331 /regex/match/244 1635s ok 332 /regex/match/245 1635s ok 333 /regex/match/246 1635s ok 334 /regex/match/partial281 1635s ok 335 /regex/match/partial282 1635s ok 336 /regex/match/partial283 1635s ok 337 /regex/match/partial284 1635s ok 338 /regex/match/partial285 1635s ok 339 /regex/match/partial286 1635s ok 340 /regex/match/partial287 1635s ok 341 /regex/match/partial288 1635s ok 342 /regex/match/partial289 1635s ok 343 /regex/match/partial290 1635s ok 344 /regex/match/partial291 1635s ok 345 /regex/match/partial292 1635s ok 346 /regex/match/partial293 1635s ok 347 /regex/match/partial294 1635s ok 348 /regex/match/partial295 1635s ok 349 /regex/match/partial296 1635s ok 350 /regex/match/partial297 1635s ok 351 /regex/match/partial298 1635s ok 352 /regex/match/partial299 1635s ok 353 /regex/match/partial300 1635s ok 354 /regex/match/partial301 1635s ok 355 /regex/match/partial302 1635s # Start of next0 tests 1635s ok 356 /regex/match/next0/247 1635s ok 357 /regex/match/next0/248 1635s ok 358 /regex/match/next0/249 1635s ok 359 /regex/match/next0/250 1635s # End of next0 tests 1635s # Start of next1 tests 1635s ok 360 /regex/match/next1/251 1635s ok 361 /regex/match/next1/252 1635s ok 362 /regex/match/next1/253 1635s ok 363 /regex/match/next1/254 1635s ok 364 /regex/match/next1/255 1635s # End of next1 tests 1635s # Start of next2 tests 1635s ok 365 /regex/match/next2/256 1635s ok 366 /regex/match/next2/257 1635s ok 367 /regex/match/next2/258 1635s ok 368 /regex/match/next2/259 1635s ok 369 /regex/match/next2/260 1635s ok 370 /regex/match/next2/261 1635s ok 371 /regex/match/next2/262 1635s ok 372 /regex/match/next2/263 1635s # End of next2 tests 1635s # Start of next3 tests 1635s ok 373 /regex/match/next3/264 1635s ok 374 /regex/match/next3/265 1635s ok 375 /regex/match/next3/266 1635s ok 376 /regex/match/next3/267 1635s ok 377 /regex/match/next3/268 1635s ok 378 /regex/match/next3/269 1635s # End of next3 tests 1635s # Start of next4 tests 1635s ok 379 /regex/match/next4/270 1635s # End of next4 tests 1635s # Start of count tests 1635s ok 380 /regex/match/count/271 1635s ok 381 /regex/match/count/272 1635s ok 382 /regex/match/count/273 1635s ok 383 /regex/match/count/274 1635s ok 384 /regex/match/count/275 1635s ok 385 /regex/match/count/276 1635s ok 386 /regex/match/count/277 1635s ok 387 /regex/match/count/278 1635s ok 388 /regex/match/count/279 1635s ok 389 /regex/match/count/280 1635s # End of count tests 1635s # Start of count-optimized tests 1635s ok 390 /regex/match/count-optimized/271 1635s ok 391 /regex/match/count-optimized/272 1635s ok 392 /regex/match/count-optimized/273 1635s ok 393 /regex/match/count-optimized/274 1635s ok 394 /regex/match/count-optimized/275 1635s ok 395 /regex/match/count-optimized/276 1635s ok 396 /regex/match/count-optimized/277 1635s ok 397 /regex/match/count-optimized/278 1635s ok 398 /regex/match/count-optimized/279 1635s ok 399 /regex/match/count-optimized/280 1635s # End of count-optimized tests 1635s # Start of partial-optimized tests 1635s ok 400 /regex/match/partial-optimized/281 1635s ok 401 /regex/match/partial-optimized/282 1635s ok 402 /regex/match/partial-optimized/283 1635s ok 403 /regex/match/partial-optimized/284 1635s ok 404 /regex/match/partial-optimized/285 1635s ok 405 /regex/match/partial-optimized/286 1635s ok 406 /regex/match/partial-optimized/287 1635s ok 407 /regex/match/partial-optimized/288 1635s ok 408 /regex/match/partial-optimized/289 1635s ok 409 /regex/match/partial-optimized/290 1635s ok 410 /regex/match/partial-optimized/291 1635s ok 411 /regex/match/partial-optimized/292 1635s ok 412 /regex/match/partial-optimized/293 1635s ok 413 /regex/match/partial-optimized/294 1635s ok 414 /regex/match/partial-optimized/295 1635s ok 415 /regex/match/partial-optimized/296 1635s ok 416 /regex/match/partial-optimized/297 1635s ok 417 /regex/match/partial-optimized/298 1635s ok 418 /regex/match/partial-optimized/299 1635s ok 419 /regex/match/partial-optimized/300 1635s ok 420 /regex/match/partial-optimized/301 1635s ok 421 /regex/match/partial-optimized/302 1635s # End of partial-optimized tests 1635s # Start of subpattern tests 1635s ok 422 /regex/match/subpattern/303 1635s ok 423 /regex/match/subpattern/304 1635s ok 424 /regex/match/subpattern/305 1635s ok 425 /regex/match/subpattern/306 1635s ok 426 /regex/match/subpattern/307 1635s ok 427 /regex/match/subpattern/308 1635s ok 428 /regex/match/subpattern/309 1635s ok 429 /regex/match/subpattern/310 1635s ok 430 /regex/match/subpattern/311 1635s ok 431 /regex/match/subpattern/312 1635s ok 432 /regex/match/subpattern/313 1635s ok 433 /regex/match/subpattern/314 1635s ok 434 /regex/match/subpattern/315 1635s # Start of named tests 1635s # Start of dupnames tests 1635s ok 435 /regex/match/subpattern/named/dupnames/325 1635s ok 436 /regex/match/subpattern/named/dupnames/326 1635s ok 437 /regex/match/subpattern/named/dupnames/327 1635s ok 438 /regex/match/subpattern/named/dupnames/328 1635s ok 439 /regex/match/subpattern/named/dupnames/329 1635s # End of dupnames tests 1635s # End of named tests 1635s # End of subpattern tests 1635s # Start of subpattern-optimized tests 1635s ok 440 /regex/match/subpattern-optimized/303 1635s ok 441 /regex/match/subpattern-optimized/304 1635s ok 442 /regex/match/subpattern-optimized/305 1635s ok 443 /regex/match/subpattern-optimized/306 1635s ok 444 /regex/match/subpattern-optimized/307 1635s ok 445 /regex/match/subpattern-optimized/308 1635s ok 446 /regex/match/subpattern-optimized/309 1635s ok 447 /regex/match/subpattern-optimized/310 1635s ok 448 /regex/match/subpattern-optimized/311 1635s ok 449 /regex/match/subpattern-optimized/312 1635s ok 450 /regex/match/subpattern-optimized/313 1635s ok 451 /regex/match/subpattern-optimized/314 1635s ok 452 /regex/match/subpattern-optimized/315 1635s # End of subpattern-optimized tests 1635s # Start of named tests 1635s # Start of subpattern tests 1635s ok 453 /regex/match/named/subpattern/316 1635s ok 454 /regex/match/named/subpattern/317 1635s ok 455 /regex/match/named/subpattern/318 1635s ok 456 /regex/match/named/subpattern/319 1635s ok 457 /regex/match/named/subpattern/320 1635s ok 458 /regex/match/named/subpattern/321 1635s ok 459 /regex/match/named/subpattern/322 1635s ok 460 /regex/match/named/subpattern/323 1635s ok 461 /regex/match/named/subpattern/324 1635s ok 462 /regex/match/named/subpattern/330 1635s ok 463 /regex/match/named/subpattern/331 1635s ok 464 /regex/match/named/subpattern/332 1635s ok 465 /regex/match/named/subpattern/333 1635s ok 466 /regex/match/named/subpattern/334 1635s # End of subpattern tests 1635s # End of named tests 1635s # End of match tests 1635s # Start of match-optimized tests 1635s ok 467 /regex/match-optimized/165 1635s ok 468 /regex/match-optimized/166 1635s ok 469 /regex/match-optimized/167 1635s ok 470 /regex/match-optimized/168 1635s ok 471 /regex/match-optimized/169 1635s ok 472 /regex/match-optimized/170 1635s ok 473 /regex/match-optimized/171 1635s ok 474 /regex/match-optimized/172 1635s ok 475 /regex/match-optimized/173 1635s ok 476 /regex/match-optimized/174 1635s ok 477 /regex/match-optimized/175 1635s ok 478 /regex/match-optimized/176 1635s ok 479 /regex/match-optimized/177 1635s ok 480 /regex/match-optimized/178 1635s ok 481 /regex/match-optimized/179 1635s ok 482 /regex/match-optimized/180 1635s ok 483 /regex/match-optimized/181 1635s ok 484 /regex/match-optimized/182 1635s ok 485 /regex/match-optimized/183 1635s ok 486 /regex/match-optimized/184 1635s ok 487 /regex/match-optimized/185 1635s ok 488 /regex/match-optimized/186 1635s ok 489 /regex/match-optimized/187 1635s ok 490 /regex/match-optimized/188 1635s ok 491 /regex/match-optimized/189 1635s ok 492 /regex/match-optimized/190 1635s ok 493 /regex/match-optimized/191 1635s ok 494 /regex/match-optimized/192 1635s ok 495 /regex/match-optimized/193 1635s ok 496 /regex/match-optimized/194 1635s ok 497 /regex/match-optimized/195 1635s ok 498 /regex/match-optimized/196 1635s ok 499 /regex/match-optimized/197 1635s ok 500 /regex/match-optimized/198 1635s ok 501 /regex/match-optimized/199 1635s ok 502 /regex/match-optimized/200 1635s ok 503 /regex/match-optimized/201 1635s ok 504 /regex/match-optimized/202 1635s ok 505 /regex/match-optimized/203 1635s ok 506 /regex/match-optimized/204 1635s ok 507 /regex/match-optimized/205 1635s ok 508 /regex/match-optimized/206 1635s ok 509 /regex/match-optimized/207 1635s ok 510 /regex/match-optimized/208 1635s ok 511 /regex/match-optimized/209 1635s ok 512 /regex/match-optimized/210 1635s ok 513 /regex/match-optimized/211 1635s ok 514 /regex/match-optimized/212 1635s ok 515 /regex/match-optimized/213 1635s ok 516 /regex/match-optimized/214 1635s ok 517 /regex/match-optimized/215 1635s ok 518 /regex/match-optimized/216 1635s ok 519 /regex/match-optimized/217 1635s ok 520 /regex/match-optimized/218 1635s ok 521 /regex/match-optimized/219 1635s ok 522 /regex/match-optimized/220 1635s ok 523 /regex/match-optimized/221 1635s ok 524 /regex/match-optimized/222 1635s ok 525 /regex/match-optimized/223 1635s ok 526 /regex/match-optimized/224 1635s ok 527 /regex/match-optimized/225 1635s ok 528 /regex/match-optimized/226 1635s ok 529 /regex/match-optimized/227 1635s ok 530 /regex/match-optimized/228 1635s ok 531 /regex/match-optimized/229 1635s ok 532 /regex/match-optimized/230 1635s ok 533 /regex/match-optimized/231 1635s ok 534 /regex/match-optimized/232 1635s ok 535 /regex/match-optimized/233 1635s ok 536 /regex/match-optimized/234 1635s ok 537 /regex/match-optimized/235 1635s ok 538 /regex/match-optimized/236 1635s ok 539 /regex/match-optimized/237 1635s ok 540 /regex/match-optimized/238 1635s ok 541 /regex/match-optimized/239 1635s ok 542 /regex/match-optimized/240 1635s ok 543 /regex/match-optimized/241 1635s ok 544 /regex/match-optimized/242 1635s ok 545 /regex/match-optimized/243 1635s ok 546 /regex/match-optimized/244 1635s ok 547 /regex/match-optimized/245 1635s ok 548 /regex/match-optimized/246 1635s # End of match-optimized tests 1635s # Start of fetch-all0 tests 1635s ok 549 /regex/fetch-all0/335 1635s ok 550 /regex/fetch-all0/336 1635s # End of fetch-all0 tests 1635s # Start of fetch-all1 tests 1635s ok 551 /regex/fetch-all1/337 1635s ok 552 /regex/fetch-all1/338 1635s ok 553 /regex/fetch-all1/339 1635s # End of fetch-all1 tests 1635s # Start of fetch-all2 tests 1635s ok 554 /regex/fetch-all2/340 1635s ok 555 /regex/fetch-all2/341 1635s ok 556 /regex/fetch-all2/342 1635s # End of fetch-all2 tests 1635s # Start of fetch-all3 tests 1635s ok 557 /regex/fetch-all3/343 1635s ok 558 /regex/fetch-all3/344 1635s ok 559 /regex/fetch-all3/345 1635s ok 560 /regex/fetch-all3/346 1635s ok 561 /regex/fetch-all3/347 1635s # End of fetch-all3 tests 1635s # Start of split tests 1635s # Start of simple0 tests 1635s ok 562 /regex/split/simple0/348 1635s ok 563 /regex/split/simple0/349 1635s ok 564 /regex/split/simple0/364 1635s ok 565 /regex/split/simple0/365 1635s # End of simple0 tests 1635s # Start of simple1 tests 1635s ok 566 /regex/split/simple1/350 1635s ok 567 /regex/split/simple1/351 1635s # End of simple1 tests 1635s # Start of simple2 tests 1635s ok 568 /regex/split/simple2/352 1635s ok 569 /regex/split/simple2/358 1635s ok 570 /regex/split/simple2/360 1635s # End of simple2 tests 1635s # Start of simple3 tests 1635s ok 571 /regex/split/simple3/353 1635s ok 572 /regex/split/simple3/354 1635s ok 573 /regex/split/simple3/355 1635s ok 574 /regex/split/simple3/356 1635s ok 575 /regex/split/simple3/357 1635s ok 576 /regex/split/simple3/359 1635s ok 577 /regex/split/simple3/361 1635s ok 578 /regex/split/simple3/362 1635s ok 579 /regex/split/simple3/363 1635s # End of simple3 tests 1635s # End of split tests 1635s # Start of split0 tests 1635s ok 580 /regex/split0/366 1635s ok 581 /regex/split0/368 1635s # End of split0 tests 1635s # Start of full-split0 tests 1635s ok 582 /regex/full-split0/367 1635s ok 583 /regex/full-split0/369 1635s ok 584 /regex/full-split0/370 1635s ok 585 /regex/full-split0/371 1635s ok 586 /regex/full-split0/372 1635s # End of full-split0 tests 1635s # Start of split1 tests 1635s ok 587 /regex/split1/373 1635s ok 588 /regex/split1/376 1635s # End of split1 tests 1635s # Start of full-split1 tests 1635s ok 589 /regex/full-split1/374 1635s ok 590 /regex/full-split1/375 1635s ok 591 /regex/full-split1/377 1635s ok 592 /regex/full-split1/378 1635s ok 593 /regex/full-split1/404 1635s # End of full-split1 tests 1635s # Start of split2 tests 1635s ok 594 /regex/split2/379 1635s ok 595 /regex/split2/383 1635s ok 596 /regex/split2/395 1635s # End of split2 tests 1635s # Start of full-split2 tests 1635s ok 597 /regex/full-split2/380 1635s ok 598 /regex/full-split2/381 1635s ok 599 /regex/full-split2/382 1635s ok 600 /regex/full-split2/384 1635s ok 601 /regex/full-split2/396 1635s ok 602 /regex/full-split2/399 1635s ok 603 /regex/full-split2/405 1635s # End of full-split2 tests 1635s # Start of split3 tests 1635s ok 604 /regex/split3/385 1635s ok 605 /regex/split3/387 1635s ok 606 /regex/split3/389 1635s ok 607 /regex/split3/391 1635s ok 608 /regex/split3/393 1635s ok 609 /regex/split3/397 1635s ok 610 /regex/split3/400 1635s ok 611 /regex/split3/402 1635s # End of split3 tests 1635s # Start of full-split3 tests 1635s ok 612 /regex/full-split3/386 1635s ok 613 /regex/full-split3/388 1635s ok 614 /regex/full-split3/390 1635s ok 615 /regex/full-split3/392 1635s ok 616 /regex/full-split3/394 1635s ok 617 /regex/full-split3/398 1635s ok 618 /regex/full-split3/401 1635s ok 619 /regex/full-split3/403 1635s ok 620 /regex/full-split3/406 1635s ok 621 /regex/full-split3/407 1635s # End of full-split3 tests 1635s # Start of check-repacement tests 1635s ok 622 /regex/check-repacement/408 1635s ok 623 /regex/check-repacement/409 1635s ok 624 /regex/check-repacement/410 1635s ok 625 /regex/check-repacement/411 1635s ok 626 /regex/check-repacement/412 1635s ok 627 /regex/check-repacement/413 1635s ok 628 /regex/check-repacement/414 1635s ok 629 /regex/check-repacement/415 1635s # End of check-repacement tests 1635s # Start of expand tests 1635s ok 630 /regex/expand/416 1635s ok 631 /regex/expand/417 1635s ok 632 /regex/expand/418 1635s ok 633 /regex/expand/419 1635s ok 634 /regex/expand/420 1635s ok 635 /regex/expand/421 1635s ok 636 /regex/expand/422 1635s ok 637 /regex/expand/423 1635s ok 638 /regex/expand/424 1635s ok 639 /regex/expand/425 1635s ok 640 /regex/expand/426 1635s ok 641 /regex/expand/427 1635s ok 642 /regex/expand/428 1635s ok 643 /regex/expand/429 1635s ok 644 /regex/expand/430 1635s ok 645 /regex/expand/431 1635s ok 646 /regex/expand/432 1635s ok 647 /regex/expand/433 1635s ok 648 /regex/expand/434 1635s ok 649 /regex/expand/435 1635s ok 650 /regex/expand/436 1635s ok 651 /regex/expand/437 1635s ok 652 /regex/expand/438 1635s ok 653 /regex/expand/439 1635s ok 654 /regex/expand/440 1635s ok 655 /regex/expand/441 1635s ok 656 /regex/expand/442 1635s ok 657 /regex/expand/443 1635s ok 658 /regex/expand/444 1635s ok 659 /regex/expand/445 1635s ok 660 /regex/expand/446 1635s ok 661 /regex/expand/447 1635s ok 662 /regex/expand/448 1635s ok 663 /regex/expand/449 1635s ok 664 /regex/expand/450 1635s ok 665 /regex/expand/451 1635s ok 666 /regex/expand/452 1635s ok 667 /regex/expand/453 1635s ok 668 /regex/expand/454 1635s ok 669 /regex/expand/455 1635s ok 670 /regex/expand/456 1635s ok 671 /regex/expand/457 1635s ok 672 /regex/expand/458 1635s ok 673 /regex/expand/459 1635s ok 674 /regex/expand/460 1635s ok 675 /regex/expand/461 1635s ok 676 /regex/expand/462 1635s ok 677 /regex/expand/463 1635s ok 678 /regex/expand/464 1635s ok 679 /regex/expand/465 1635s ok 680 /regex/expand/466 1635s ok 681 /regex/expand/467 1635s ok 682 /regex/expand/468 1635s ok 683 /regex/expand/469 1635s ok 684 /regex/expand/470 1635s ok 685 /regex/expand/471 1635s ok 686 /regex/expand/472 1635s ok 687 /regex/expand/473 1635s ok 688 /regex/expand/474 1635s ok 689 /regex/expand/475 1635s ok 690 /regex/expand/476 1635s ok 691 /regex/expand/477 1635s ok 692 /regex/expand/478 1635s ok 693 /regex/expand/479 1635s ok 694 /regex/expand/480 1635s ok 695 /regex/expand/481 1635s # End of expand tests 1635s # Start of replace tests 1635s ok 696 /regex/replace/482 1635s ok 697 /regex/replace/483 1635s ok 698 /regex/replace/484 1635s ok 699 /regex/replace/485 1635s ok 700 /regex/replace/486 1635s ok 701 /regex/replace/487 1635s ok 702 /regex/replace/488 1635s ok 703 /regex/replace/489 1635s ok 704 /regex/replace/490 1635s ok 705 /regex/replace/491 1635s ok 706 /regex/replace/492 1635s ok 707 /regex/replace/493 1635s ok 708 /regex/replace/494 1635s ok 709 /regex/replace/495 1635s ok 710 /regex/replace/496 1635s ok 711 /regex/replace/497 1635s ok 712 /regex/replace/498 1635s ok 713 /regex/replace/499 1635s ok 714 /regex/replace/500 1635s ok 715 /regex/replace/501 1635s ok 716 /regex/replace/502 1635s ok 717 /regex/replace/503 1635s ok 718 /regex/replace/504 1635s ok 719 /regex/replace/505 1635s ok 720 /regex/replace/506 1635s ok 721 /regex/replace/507 1635s ok 722 /regex/replace/508 1635s ok 723 /regex/replace/509 1635s # End of replace tests 1635s # Start of replace-optimized tests 1635s ok 724 /regex/replace-optimized/482 1635s ok 725 /regex/replace-optimized/483 1635s ok 726 /regex/replace-optimized/484 1635s ok 727 /regex/replace-optimized/485 1635s ok 728 /regex/replace-optimized/486 1635s ok 729 /regex/replace-optimized/487 1635s ok 730 /regex/replace-optimized/488 1635s ok 731 /regex/replace-optimized/489 1635s ok 732 /regex/replace-optimized/490 1635s ok 733 /regex/replace-optimized/491 1635s ok 734 /regex/replace-optimized/492 1635s ok 735 /regex/replace-optimized/493 1635s ok 736 /regex/replace-optimized/494 1635s ok 737 /regex/replace-optimized/495 1635s ok 738 /regex/replace-optimized/496 1635s ok 739 /regex/replace-optimized/497 1635s ok 740 /regex/replace-optimized/498 1635s ok 741 /regex/replace-optimized/499 1635s ok 742 /regex/replace-optimized/500 1635s ok 743 /regex/replace-optimized/501 1635s ok 744 /regex/replace-optimized/502 1635s ok 745 /regex/replace-optimized/503 1635s ok 746 /regex/replace-optimized/504 1635s ok 747 /regex/replace-optimized/505 1635s ok 748 /regex/replace-optimized/506 1635s ok 749 /regex/replace-optimized/507 1635s ok 750 /regex/replace-optimized/508 1635s ok 751 /regex/replace-optimized/509 1635s # End of replace-optimized tests 1635s # Start of replace-literally tests 1635s ok 752 /regex/replace-literally/510 1635s ok 753 /regex/replace-literally/511 1635s ok 754 /regex/replace-literally/512 1635s ok 755 /regex/replace-literally/513 1635s ok 756 /regex/replace-literally/514 1635s ok 757 /regex/replace-literally/515 1635s ok 758 /regex/replace-literally/516 1635s ok 759 /regex/replace-literally/517 1635s ok 760 /regex/replace-literally/518 1635s ok 761 /regex/replace-literally/519 1635s ok 762 /regex/replace-literally/520 1635s ok 763 /regex/replace-literally/521 1635s ok 764 /regex/replace-literally/522 1635s ok 765 /regex/replace-literally/523 1635s ok 766 /regex/replace-literally/524 1635s ok 767 /regex/replace-literally/525 1635s ok 768 /regex/replace-literally/526 1635s ok 769 /regex/replace-literally/527 1635s ok 770 /regex/replace-literally/528 1635s ok 771 /regex/replace-literally/529 1635s # End of replace-literally tests 1635s # Start of string-number tests 1635s ok 772 /regex/string-number/530 1635s ok 773 /regex/string-number/531 1635s ok 774 /regex/string-number/532 1635s ok 775 /regex/string-number/533 1635s ok 776 /regex/string-number/534 1635s ok 777 /regex/string-number/535 1635s ok 778 /regex/string-number/536 1635s ok 779 /regex/string-number/537 1635s ok 780 /regex/string-number/538 1635s ok 781 /regex/string-number/539 1635s ok 782 /regex/string-number/540 1635s ok 783 /regex/string-number/541 1635s ok 784 /regex/string-number/542 1635s ok 785 /regex/string-number/543 1635s ok 786 /regex/string-number/544 1635s # End of string-number tests 1635s # Start of escape_nul tests 1635s ok 787 /regex/escape_nul/545 1635s ok 788 /regex/escape_nul/546 1635s ok 789 /regex/escape_nul/547 1635s ok 790 /regex/escape_nul/548 1635s ok 791 /regex/escape_nul/549 1635s ok 792 /regex/escape_nul/550 1635s ok 793 /regex/escape_nul/551 1635s ok 794 /regex/escape_nul/552 1635s ok 795 /regex/escape_nul/553 1635s ok 796 /regex/escape_nul/554 1635s ok 797 /regex/escape_nul/555 1635s ok 798 /regex/escape_nul/556 1635s ok 799 /regex/escape_nul/557 1635s ok 800 /regex/escape_nul/558 1635s ok 801 /regex/escape_nul/559 1635s # End of escape_nul tests 1635s # Start of escape tests 1635s ok 802 /regex/escape/560 1635s ok 803 /regex/escape/561 1635s ok 804 /regex/escape/562 1635s ok 805 /regex/escape/563 1635s ok 806 /regex/escape/564 1635s ok 807 /regex/escape/565 1635s ok 808 /regex/escape/566 1635s ok 809 /regex/escape/567 1635s ok 810 /regex/escape/568 1635s ok 811 /regex/escape/569 1635s ok 812 /regex/escape/570 1635s ok 813 /regex/escape/571 1635s ok 814 /regex/escape/572 1635s ok 815 /regex/escape/573 1635s ok 816 /regex/escape/574 1635s ok 817 /regex/escape/575 1635s ok 818 /regex/escape/576 1635s ok 819 /regex/escape/577 1635s # End of escape tests 1635s # Start of match-all0 tests 1635s ok 820 /regex/match-all0/578 1635s ok 821 /regex/match-all0/580 1635s # End of match-all0 tests 1635s # Start of match-all-full0 tests 1635s ok 822 /regex/match-all-full0/579 1635s ok 823 /regex/match-all-full0/581 1635s ok 824 /regex/match-all-full0/582 1635s ok 825 /regex/match-all-full0/583 1635s # End of match-all-full0 tests 1635s # Start of match-all1 tests 1635s ok 826 /regex/match-all1/584 1635s ok 827 /regex/match-all1/586 1635s ok 828 /regex/match-all1/591 1635s # End of match-all1 tests 1635s # Start of match-all-full1 tests 1635s ok 829 /regex/match-all-full1/585 1635s ok 830 /regex/match-all-full1/587 1635s ok 831 /regex/match-all-full1/588 1635s ok 832 /regex/match-all-full1/589 1635s ok 833 /regex/match-all-full1/590 1635s ok 834 /regex/match-all-full1/592 1635s # End of match-all-full1 tests 1635s # Start of match-all2 tests 1635s ok 835 /regex/match-all2/593 1635s ok 836 /regex/match-all2/595 1635s ok 837 /regex/match-all2/597 1635s # End of match-all2 tests 1635s # Start of match-all-full2 tests 1635s ok 838 /regex/match-all-full2/594 1635s ok 839 /regex/match-all-full2/596 1635s ok 840 /regex/match-all-full2/598 1635s # End of match-all-full2 tests 1635s # Start of match-all3 tests 1635s ok 841 /regex/match-all3/599 1635s ok 842 /regex/match-all3/601 1635s # End of match-all3 tests 1635s # Start of match-all-full3 tests 1635s ok 843 /regex/match-all-full3/600 1635s ok 844 /regex/match-all-full3/602 1635s # End of match-all-full3 tests 1635s # Start of match-notempty tests 1635s ok 845 /regex/match-notempty/603 1635s # End of match-notempty tests 1635s # Start of match-notempty-optimized tests 1635s ok 846 /regex/match-notempty-optimized/603 1635s # End of match-notempty-optimized tests 1635s # Start of match-notempty-atstart tests 1635s ok 847 /regex/match-notempty-atstart/604 1635s # End of match-notempty-atstart tests 1635s # Start of match-notempty-atstart-optimized tests 1635s ok 848 /regex/match-notempty-atstart-optimized/604 1635s # End of match-notempty-atstart-optimized tests 1635s # End of regex tests 1635s ok - glib/regex.test 1635s # Running test: glib/scannerapi.test 1635s TAP version 14 1635s # random seed: R02Sb946141b195619bbff6689435f8b8402 1635s 1..4 1635s # Start of scanner tests 1635s ok 1 /scanner/warn 1635s ok 2 /scanner/error 1635s ok 3 /scanner/symbols 1635s ok 4 /scanner/tokens 1635s # End of scanner tests 1635s ok - glib/scannerapi.test 1635s # Running test: glib/gdbus-connection-slow.test 1635s TAP version 14 1635s # random seed: R02S9a207870053c113bb0e47ecddd6005ee 1635s 1..2 1635s # Start of gdbus tests 1635s # Start of connection tests 1635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/flush/.dirs/home 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/flush/.dirs/cache 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/flush/.dirs/system-config2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/flush/.dirs/config 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/flush/.dirs/system-data2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/flush/.dirs/data 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/flush/.dirs/state 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/flush/.dirs/runtime 1635s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 # 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 # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1635s ok 1 /gdbus/connection/flush 1635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/large_message/.dirs/home 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/large_message/.dirs/cache 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/large_message/.dirs/system-config2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/large_message/.dirs/config 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/large_message/.dirs/system-data2 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/large_message/.dirs/data 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/large_message/.dirs/state 1635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_JMW2Z2/gdbus/connection/large_message/.dirs/runtime 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 # 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 # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1635s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1635s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1636s ok 2 /gdbus/connection/large_message 1636s # slow test /gdbus/connection/large_message executed in 0.92 secs 1636s # End of connection tests 1636s # End of gdbus tests 1636s ok - glib/gdbus-connection-slow.test 1636s # Running test: glib/gdbus-introspection.test 1636s TAP version 14 1636s # random seed: R02Sb5c45dbf47053a73541c3ecc5f7fd29d 1636s 1..4 1636s # Start of gdbus tests 1636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-parser/.dirs/home 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-parser/.dirs/cache 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-parser/.dirs/system-config2 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-parser/.dirs/config 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-parser/.dirs/system-data2 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-parser/.dirs/data 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-parser/.dirs/state 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-parser/.dirs/runtime 1636s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1636s ok 1 /gdbus/introspection-parser 1636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-generate/.dirs/home 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-generate/.dirs/cache 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-generate/.dirs/system-config2 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-generate/.dirs/config 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-generate/.dirs/system-data2 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-generate/.dirs/data 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-generate/.dirs/state 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-generate/.dirs/runtime 1636s ok 2 /gdbus/introspection-generate 1636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-default-direction/.dirs/home 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-default-direction/.dirs/cache 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-default-direction/.dirs/system-config2 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-default-direction/.dirs/config 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-default-direction/.dirs/system-data2 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-default-direction/.dirs/data 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-default-direction/.dirs/state 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-default-direction/.dirs/runtime 1636s ok 3 /gdbus/introspection-default-direction 1636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-extra-data/.dirs/home 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-extra-data/.dirs/cache 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-extra-data/.dirs/system-config2 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-extra-data/.dirs/config 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-extra-data/.dirs/system-data2 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-extra-data/.dirs/data 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-extra-data/.dirs/state 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_XX8MZ2/gdbus/introspection-extra-data/.dirs/runtime 1636s ok 4 /gdbus/introspection-extra-data 1636s # End of gdbus tests 1636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1636s ok - glib/gdbus-introspection.test 1636s # Running test: glib/once.test 1636s TAP version 14 1636s # random seed: R02S51bbcb75089be5edce8337149213b148 1636s 1..5 1636s # Start of once tests 1636s # /once/single-threaded summary: Test g_once() usage from a single thread 1636s ok 1 /once/single-threaded 1636s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1636s ok 2 /once/multi-threaded 1636s # End of once tests 1636s # Start of once-init tests 1636s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1636s ok 3 /once-init/single-threaded 1636s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1636s ok 4 /once-init/multi-threaded 1636s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1636s ok 5 /once-init/string 1636s # End of once-init tests 1636s ok - glib/once.test 1636s # Running test: glib/gdbus-proxy-threads.test 1636s TAP version 14 1636s # random seed: R02S6053c099d34abcf76e81cc6b2f57f89e 1636s 1..1 1636s # Start of gdbus tests 1636s # Start of proxy tests 1636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_DX7NZ2/gdbus/proxy/vs-threads/.dirs/home 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_DX7NZ2/gdbus/proxy/vs-threads/.dirs/cache 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_DX7NZ2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_DX7NZ2/gdbus/proxy/vs-threads/.dirs/system-config2 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_DX7NZ2/gdbus/proxy/vs-threads/.dirs/config 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_DX7NZ2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_DX7NZ2/gdbus/proxy/vs-threads/.dirs/system-data2 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_DX7NZ2/gdbus/proxy/vs-threads/.dirs/data 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_DX7NZ2/gdbus/proxy/vs-threads/.dirs/state 1636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_DX7NZ2/gdbus/proxy/vs-threads/.dirs/runtime 1636s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1637s # Executing: glib/gdbus-proxy-threads.test 1638s ok 1 /gdbus/proxy/vs-threads 1638s # slow test /gdbus/proxy/vs-threads executed in 1.62 secs 1638s # End of proxy tests 1638s # End of gdbus tests 1638s cleaning up pid 7358 1638s ok - glib/gdbus-proxy-threads.test 1638s # Running test: glib/hostutils.test 1638s TAP version 14 1638s # random seed: R02Sbfc277a0b5677a582c287066e6440610 1638s 1..3 1638s # Start of hostutils tests 1638s ok 1 /hostutils/to_ascii 1638s ok 2 /hostutils/to_unicode 1638s ok 3 /hostutils/is_ip_addr 1638s # End of hostutils tests 1638s ok - glib/hostutils.test 1638s # Running test: glib/cxx-14.test 1638s TAP version 14 1638s # random seed: R02S5a87a91ec557aa230bc4c137f7d635fb 1638s 1..2 1638s # Start of gtask tests 1638s # 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. 1638s ok 1 /gtask/name 1638s # Start of name tests 1638s # 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. 1638s ok 2 /gtask/name/macro-wrapper 1638s # End of name tests 1638s # End of gtask tests 1638s ok - glib/cxx-14.test 1638s # Running test: glib/properties-refcount3.test 1638s TAP version 14 1638s # random seed: R02S8ad47145014bfb8065787b226b4d9457 1638s 1..1 1638s # Start of gobject tests 1638s # Start of refcount tests 1642s # Executing: glib/properties-refcount3.test 1647s # Executing: glib/properties-refcount3.test 1652s # Executing: glib/properties-refcount3.test 1657s # Executing: glib/properties-refcount3.test 1662s # Executing: glib/properties-refcount3.test 1667s # Executing: glib/properties-refcount3.test 1668s # 1668s # stopping 1668s # 1668s # stopped 1668s # 1668s # 8335066 247399 1668s # 1668s ok 1 /gobject/refcount/properties-3 1668s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1668s # End of refcount tests 1668s # End of gobject tests 1668s ok - glib/properties-refcount3.test 1668s # Running test: glib/cancellable.test 1668s TAP version 14 1668s # random seed: R02S3c3213bf559e7b561f4cfc2dc2ee00b8 1668s 1..10 1668s # Start of cancellable tests 1668s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1668s ok 2 /cancellable/null 1668s # /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 1668s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1668s # /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 1668s ok 4 /cancellable/resets-on-cancel-callback-hangs 1668s ok 5 /cancellable/poll-fd 1668s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1668s ok 6 /cancellable/poll-fd-cancelled 1668s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1668s ok 7 /cancellable/poll-fd-cancelled-threaded 1668s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1668s ok 8 /cancellable/cancel-reset-races 1668s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1668s ok 9 /cancellable/cancel-reset-connect-races 1668s # End of cancellable tests 1668s # Start of cancellable-source tests 1668s # /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) 1668s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1669s ok 10 /cancellable-source/threaded-dispose 1669s # slow test /cancellable-source/threaded-dispose executed in 1.11 secs 1669s # End of cancellable-source tests 1669s ok - glib/cancellable.test 1669s # Running test: glib/thread.test 1669s TAP version 14 1669s # random seed: R02S655be69485b25eeafd523c7b1f511a04 1669s 1..7 1669s # Start of thread tests 1669s ok 1 /thread/thread1 1669s ok 2 /thread/thread2 1669s ok 3 /thread/thread3 1669s ok 4 /thread/thread4 1669s ok 5 /thread/thread5 1669s ok 6 /thread/thread6 1669s ok 7 /thread/thread7 1669s # End of thread tests 1669s ok - glib/thread.test 1669s # Running test: glib/type-flags.test 1669s TAP version 14 1669s # random seed: R02S9353f6ee76bc08ef9a50862c36d2fb76 1669s 1..4 1669s # Start of type tests 1669s # Start of flags tests 1669s ok 1 /type/flags/interface 1669s ok 2 /type/flags/final 1669s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1669s ok 3 /type/flags/deprecated 1669s # Start of final tests 1669s ok 4 /type/flags/final/instance-check 1669s # End of final tests 1669s # End of flags tests 1669s # End of type tests 1669s ok - glib/type-flags.test 1669s # Running test: glib/uri.test 1669s TAP version 14 1669s # random seed: R02Sacbc707c2ce87ca87ec15930a7ba1bdc 1669s 1..24 1669s # Start of uri tests 1669s ok 1 /uri/file-to-uri 1669s ok 2 /uri/file-from-uri 1669s ok 3 /uri/file-roundtrip 1669s ok 4 /uri/list 1669s # Test 0: %2Babc %4F 1669s # Test 1: %2Babc %4F 1669s # Test 2: %00abc %4F 1669s # Test 3: /cursors/none.png 1669s # Test 4: /cursors%2fbad-subdir/none.png 1669s # Test 5: %0 1669s # Test 6: %ra 1669s # Test 7: %2r 1669s # Test 8: Timm B?der 1669s # Test 9: (null) 1669s ok 5 /uri/unescape-string 1669s ok 6 /uri/unescape-segment 1669s # Test 0: abcdefgABCDEFG._~ 1669s # Test 1: :+ \\?# 1669s # Test 2: a+b:c 1669s # Test 3: a+b:c\303\234 1669s # Test 4: \374;\322 1669s # Test 5: \303\261\303( 1669s ok 7 /uri/escape-string 1669s ok 8 /uri/escape-bytes 1669s ok 9 /uri/scheme 1669s ok 10 /uri/build 1669s ok 11 /uri/split 1669s ok 12 /uri/is_valid 1669s ok 13 /uri/to-string 1669s ok 14 /uri/join 1669s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1669s # Combination 0 1669s # Combination 1 1669s # Combination 2 1669s # Combination 3 1669s # Combination 4 1669s # Combination 5 1669s # Combination 6 1669s # Combination 7 1669s # Combination 8 1669s # Combination 9 1669s # Combination 10 1669s # Combination 11 1669s # Combination 12 1669s # Combination 13 1669s # Combination 14 1669s # Combination 15 1669s # Combination 16 1669s # Combination 17 1669s # Combination 18 1669s # Combination 19 1669s # Combination 20 1669s # Combination 21 1669s # Combination 22 1669s # Combination 23 1669s # Combination 24 1669s # Combination 25 1669s # Combination 26 1669s # Combination 27 1669s # Combination 28 1669s # Combination 29 1669s # Combination 30 1669s # Combination 31 1669s # Combination 32 1669s # Combination 33 1669s # Combination 34 1669s # Combination 35 1669s # Combination 36 1669s # Combination 37 1669s # Combination 38 1669s # Combination 39 1669s # Combination 40 1669s # Combination 41 1669s # Combination 42 1669s # Combination 43 1669s # Combination 44 1669s # Combination 45 1669s # Combination 46 1669s # Combination 47 1669s # Combination 48 1669s # Combination 49 1669s # Combination 50 1669s # Combination 51 1669s # Combination 52 1669s # Combination 53 1669s # Combination 54 1669s # Combination 55 1669s # Combination 56 1669s # Combination 57 1669s # Combination 58 1669s # Combination 59 1669s # Combination 60 1669s # Combination 61 1669s # Combination 62 1669s # Combination 63 1669s # Combination 64 1669s # Combination 65 1669s # Combination 66 1669s # Combination 67 1669s # Combination 68 1669s # Combination 69 1669s # Combination 70 1669s # Combination 71 1669s # Combination 72 1669s # Combination 73 1669s # Combination 74 1669s # Combination 75 1669s # Combination 76 1669s # Combination 77 1669s # Combination 78 1669s # Combination 79 1669s # Combination 80 1669s # Combination 81 1669s # Combination 82 1669s # Combination 83 1669s # Combination 84 1669s # Combination 85 1669s # Combination 86 1669s # Combination 87 1669s # Combination 88 1669s # Combination 89 1669s # Combination 90 1669s # Combination 91 1669s # Combination 92 1669s # Combination 93 1669s # Combination 94 1669s # Combination 95 1669s # Combination 96 1669s # Combination 97 1669s # Combination 98 1669s # Combination 99 1669s # Combination 100 1669s # Combination 101 1669s # Combination 102 1669s # Combination 103 1669s # Combination 104 1669s # Combination 105 1669s # Combination 106 1669s # Combination 107 1669s # Combination 108 1669s # Combination 109 1669s # Combination 110 1669s # Combination 111 1669s # Combination 112 1669s # Combination 113 1669s # Combination 114 1669s # Combination 115 1669s # Combination 116 1669s # Combination 117 1669s # Combination 118 1669s # Combination 119 1669s # Combination 120 1669s # Combination 121 1669s # Combination 122 1669s # Combination 123 1669s # Combination 124 1669s # Combination 125 1669s # Combination 126 1669s # Combination 127 1669s # Combination 128 1669s # Combination 129 1669s # Combination 130 1669s # Combination 131 1669s # Combination 132 1669s # Combination 133 1669s # Combination 134 1669s # Combination 135 1669s # Combination 136 1669s # Combination 137 1669s # Combination 138 1669s # Combination 139 1669s # Combination 140 1669s # Combination 141 1669s # Combination 142 1669s # Combination 143 1669s # Combination 144 1669s # Combination 145 1669s # Combination 146 1669s # Combination 147 1669s # Combination 148 1669s # Combination 149 1669s # Combination 150 1669s # Combination 151 1669s # Combination 152 1669s # Combination 153 1669s # Combination 154 1669s # Combination 155 1669s # Combination 156 1669s # Combination 157 1669s # Combination 158 1669s # Combination 159 1669s # Combination 160 1669s # Combination 161 1669s # Combination 162 1669s # Combination 163 1669s # Combination 164 1669s # Combination 165 1669s # Combination 166 1669s # Combination 167 1669s # Combination 168 1669s # Combination 169 1669s # Combination 170 1669s # Combination 171 1669s # Combination 172 1669s # Combination 173 1669s # Combination 174 1669s # Combination 175 1669s # Combination 176 1669s # Combination 177 1669s # Combination 178 1669s # Combination 179 1669s # Combination 180 1669s # Combination 181 1669s # Combination 182 1669s # Combination 183 1669s # Combination 184 1669s # Combination 185 1669s # Combination 186 1669s # Combination 187 1669s # Combination 188 1669s # Combination 189 1669s # Combination 190 1669s # Combination 191 1669s # Combination 192 1669s # Combination 193 1669s # Combination 194 1669s # Combination 195 1669s # Combination 196 1669s # Combination 197 1669s # Combination 198 1669s # Combination 199 1669s # Combination 200 1669s # Combination 201 1669s # Combination 202 1669s # Combination 203 1669s # Combination 204 1669s # Combination 205 1669s # Combination 206 1669s # Combination 207 1669s # Combination 208 1669s # Combination 209 1669s # Combination 210 1669s # Combination 211 1669s # Combination 212 1669s # Combination 213 1669s # Combination 214 1669s # Combination 215 1669s # Combination 216 1669s # Combination 217 1669s # Combination 218 1669s # Combination 219 1669s # Combination 220 1669s # Combination 221 1669s # Combination 222 1669s # Combination 223 1669s # Combination 224 1669s # Combination 225 1669s # Combination 226 1669s # Combination 227 1669s # Combination 228 1669s # Combination 229 1669s # Combination 230 1669s # Combination 231 1669s # Combination 232 1669s # Combination 233 1669s # Combination 234 1669s # Combination 235 1669s # Combination 236 1669s # Combination 237 1669s # Combination 238 1669s # Combination 239 1669s # Combination 240 1669s # Combination 241 1669s # Combination 242 1669s # Combination 243 1669s # Combination 244 1669s # Combination 245 1669s # Combination 246 1669s # Combination 247 1669s # Combination 248 1669s # Combination 249 1669s # Combination 250 1669s # Combination 251 1669s # Combination 252 1669s # Combination 253 1669s # Combination 254 1669s # Combination 255 1669s ok 15 /uri/join-split-round-trip 1669s ok 16 /uri/normalize 1669s # Start of unescape-bytes tests 1669s # Test 0: %00%00 1669s # Test 1: /cursors/none.png 1669s # Test 2: /cursors%2fbad-subdir/none.png 1669s # Test 3: %% 1669s # Test 4: % 1669s ok 17 /uri/unescape-bytes/nul-terminated 1669s # Test 0: %00%00 1669s # Test 1: /cursors/none.png 1669s # Test 2: /cursors%2fbad-subdir/none.png 1669s # Test 3: %% 1669s # Test 4: % 1669s ok 18 /uri/unescape-bytes/length 1669s # End of unescape-bytes tests 1669s # Start of parsing tests 1669s # Test 0: foo: 1669s # Test 1: file:/dev/null 1669s # Test 2: file:///dev/null 1669s # Test 3: ftp://user@host/path 1669s # Test 4: ftp://user@host:9999/path 1669s # Test 5: ftp://user:password@host/path 1669s # Test 6: ftp://user:password@host:9999/path 1669s # Test 7: ftp://user:password@host 1669s # Test 8: http://us%65r@host 1669s # Test 9: http://us%40r@host 1669s # Test 10: http://us%3ar@host 1669s # Test 11: http://us%2fr@host 1669s # Test 12: http://us%3fr@host 1669s # Test 13: http://host?query 1669s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1669s # 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 1669s # Test 16: http://space/%20 1669s # Test 17: http://delims/%3C%3E%23%25%22 1669s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1669s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1669s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1669s # Test 21: http://[3ffe:2a00:100:7031::1] 1669s # Test 22: http://[1080::8:800:200C:417A]/foo 1669s # Test 23: http://[::192.9.5.5]/ipng 1669s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1669s # Test 25: http://[2010:836B:4179::836B:4179] 1669s # Test 26: http://host/path with spaces 1669s # Test 27: http://host/path 1669s # Test 28: http://host/path 1669s # Test 29: http://host 1669s # Test 30: http://host:999 1669s # Test 31: http://host/pa 1669s # th 1669s # Test 32: http: 1669s # //host/path 1669s # Test 33: http:// host/path 1669s # Test 34: http://host/path? 1669s # Test 35: http://host/path# 1669s # Test 36: http://host/path% 1669s # Test 37: http://h%ost/path 1669s # Test 38: http://host/path%% 1670s # Test 39: http://host/path%%% 1670s # Test 40: http://host/path%/x/ 1670s # Test 41: http://host/path%0x/ 1670s # Test 42: http://host/path%ax 1670s # Test 43: http://host/p?th/ 1670s # Test 44: HTTP://////////////// 1670s # Test 45: http://@host 1670s # Test 46: http://:@host 1670s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1670s # Test 48: http://example.com/.. 1670s # Test 49: foo0://host/path 1670s # Test 50: f0.o://host/path 1670s # Test 51: http++://host/path 1670s # Test 52: http-ish://host/path 1670s # Test 53: http://[fe80::dead:beef%]/ 1670s # Test 54: http://[fe80::dead:beef%em1]/ 1670s # Test 55: http://[fe80::dead:beef%em1]/ 1670s # Test 56: http://[fe80::dead:beef%25em1]/ 1670s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1670s # Test 58: http://[fe80::dead:beef%25em%31]/ 1670s # Test 59: http://[fe80::dead:beef%10]/ 1670s # Test 60: http://[fe80::dead:beef%10]/ 1670s # Test 61: http://[fe80::dead:beef%25]/ 1670s # Test 62: http://[fe80::dead:beef%25]/ 1670s # Test 63: http://[192.168.0.1%25em1]/ 1670s # Test 64: http://[fe80::dead:beef%2em1]/ 1670s # Test 65: http://[fe80::dead:beef%2em1]/ 1670s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1670s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1670s # Test 68: http://xn--mixed-?p/ 1670s ok 19 /uri/parsing/absolute 1670s ok 20 /uri/parsing/relative 1670s # End of parsing tests 1670s # Start of iter-params tests 1670s # URI 0: p1=foo&p2=bar;p3=baz 1670s # URI 1: p1=foo&p2=bar 1670s # URI 2: p1=foo&&P1=bar 1670s # URI 3: %00=foo 1670s # URI 4: p1=%00 1670s # URI 5: p1=foo&p1=bar 1670s # URI 6: p1=foo&P1=bar 1670s # URI 7: =% 1670s # URI 8: = 1670s # URI 9: foo 1670s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1670s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1670s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1670s ok 21 /uri/iter-params/nul-terminated 1670s # URI 0: p1=foo&p2=bar;p3=baz 1670s # URI 1: p1=foo&p2=bar 1670s # URI 2: p1=foo&&P1=bar 1670s # URI 3: %00=foo 1670s # URI 4: p1=%00 1670s # URI 5: p1=foo&p1=bar 1670s # URI 6: p1=foo&P1=bar 1670s # URI 7: =% 1670s # URI 8: = 1670s # URI 9: foo 1670s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1670s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1670s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1670s ok 22 /uri/iter-params/length 1670s # End of iter-params tests 1670s # Start of parse-params tests 1670s # URI 0: p1=foo&p2=bar;p3=baz 1670s # URI 1: p1=foo&p2=bar 1670s # URI 2: p1=foo&&P1=bar 1670s # URI 3: %00=foo 1670s # URI 4: p1=%00 1670s # URI 5: p1=foo&p1=bar 1670s # URI 6: p1=foo&P1=bar 1670s # URI 7: =% 1670s # URI 8: = 1670s # URI 9: foo 1670s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1670s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1670s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1670s ok 23 /uri/parse-params/nul-terminated 1670s # URI 0: p1=foo&p2=bar;p3=baz 1670s # URI 1: p1=foo&p2=bar 1670s # URI 2: p1=foo&&P1=bar 1670s # URI 3: %00=foo 1670s # URI 4: p1=%00 1670s # URI 5: p1=foo&p1=bar 1670s # URI 6: p1=foo&P1=bar 1670s # URI 7: =% 1670s # URI 8: = 1670s # URI 9: foo 1670s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1670s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1670s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1670s ok 24 /uri/parse-params/length 1670s # End of parse-params tests 1670s # End of uri tests 1670s ok - glib/uri.test 1670s # Running test: glib/tls-interaction.test 1670s TAP version 14 1670s # random seed: R02S2e02f21b14bf7696bbe8593433b9c46f 1670s 1..42 1670s # Start of tls-interaction tests 1670s # Start of ask-password tests 1670s # Start of invoke-with-loop tests 1670s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1670s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1670s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1670s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1670s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1670s # End of invoke-with-loop tests 1670s # Start of invoke-without-loop tests 1670s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1670s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1670s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1670s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1670s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1670s # End of invoke-without-loop tests 1670s # Start of invoke-in-loop tests 1670s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1670s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1670s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1670s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1670s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1670s # End of invoke-in-loop tests 1670s # Start of sync tests 1670s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1670s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1670s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1670s # End of sync tests 1670s # Start of async tests 1670s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1670s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1670s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1670s # End of async tests 1670s # End of ask-password tests 1670s # Start of request-certificate tests 1670s # Start of invoke-with-loop tests 1670s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1670s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1670s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1670s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1670s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1670s # End of invoke-with-loop tests 1670s # Start of invoke-without-loop tests 1670s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1670s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1670s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1670s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1670s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1670s # End of invoke-without-loop tests 1670s # Start of invoke-in-loop tests 1670s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1670s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1670s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1670s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1670s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1670s # End of invoke-in-loop tests 1670s # Start of sync tests 1670s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1670s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1670s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1670s # End of sync tests 1670s # Start of async tests 1670s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1670s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1670s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1670s # End of async tests 1670s # End of request-certificate tests 1670s # End of tls-interaction tests 1670s ok - glib/tls-interaction.test 1670s # Running test: glib/gdbus-names.test 1670s TAP version 14 1670s # random seed: R02S08ffcbf71550f5e735326c44f45f5e5c 1670s 1..10 1670s # Start of gdbus tests 1670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/validate-names/.dirs/home 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/validate-names/.dirs/cache 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_B3OQZ2/gdbus/validate-names/.dirs/system-config2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/validate-names/.dirs/config 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_B3OQZ2/gdbus/validate-names/.dirs/system-data2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/validate-names/.dirs/data 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/validate-names/.dirs/state 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B3OQZ2/gdbus/validate-names/.dirs/runtime 1670s ok 1 /gdbus/validate-names 1670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-own-name/.dirs/home 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-own-name/.dirs/cache 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-own-name/.dirs/system-config2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-own-name/.dirs/config 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-own-name/.dirs/system-data2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-own-name/.dirs/data 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-own-name/.dirs/state 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-own-name/.dirs/runtime 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s ok 2 /gdbus/bus-own-name 1670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name/.dirs/home 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name/.dirs/cache 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name/.dirs/system-config2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name/.dirs/config 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name/.dirs/system-data2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name/.dirs/data 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name/.dirs/state 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name/.dirs/runtime 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s ok 3 /gdbus/bus-watch-name 1670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start/.dirs/home 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start/.dirs/cache 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start/.dirs/config 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start/.dirs/data 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start/.dirs/state 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start/.dirs/runtime 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s ok 4 /gdbus/bus-watch-name-auto-start 1670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s dbus-daemon[7435]: [session uid=1000 pid=7435] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=7426 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1670s # Acquired a message bus connection 1670s dbus-daemon[7435]: [session uid=1000 pid=7435] Successfully activated service 'org.gtk.GDBus.FakeService' 1670s # Acquired the name org.gtk.GDBus.FakeService 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures/.dirs/home 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures/.dirs/cache 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures/.dirs/system-config2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures/.dirs/config 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures/.dirs/system-data2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures/.dirs/data 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures/.dirs/state 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures/.dirs/runtime 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s ok 6 /gdbus/bus-watch-name-closures 1670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s ok 7 /gdbus/bus-watch-name-closures-auto-start 1670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-different-context/.dirs/home 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-different-context/.dirs/cache 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-different-context/.dirs/system-config2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-different-context/.dirs/config 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-different-context/.dirs/system-data2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-different-context/.dirs/data 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-different-context/.dirs/state 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-watch-different-context/.dirs/runtime 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s ok 8 /gdbus/bus-watch-different-context 1670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-unwatch-early/.dirs/home 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-unwatch-early/.dirs/cache 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-unwatch-early/.dirs/system-config2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-unwatch-early/.dirs/config 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_B3OQZ2/gdbus/bus-unwatch-early/.dirs/system-data2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-unwatch-early/.dirs/data 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-unwatch-early/.dirs/state 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B3OQZ2/gdbus/bus-unwatch-early/.dirs/runtime 1670s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1670s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1670s ok 9 /gdbus/bus-unwatch-early 1670s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/escape-object-path/.dirs/home 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/escape-object-path/.dirs/cache 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_B3OQZ2/gdbus/escape-object-path/.dirs/system-config2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/escape-object-path/.dirs/config 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_B3OQZ2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_B3OQZ2/gdbus/escape-object-path/.dirs/system-data2 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/escape-object-path/.dirs/data 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_B3OQZ2/gdbus/escape-object-path/.dirs/state 1670s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_B3OQZ2/gdbus/escape-object-path/.dirs/runtime 1670s ok 10 /gdbus/escape-object-path 1670s # End of gdbus tests 1670s ok - glib/gdbus-names.test 1670s # Running test: glib/g-file.test 1670s TAP version 14 1670s # random seed: R02Se5ddbe2aa6b98666bd03f49ff0713329 1670s 1..8 1670s # Start of g-file tests 1670s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1670s ok 1 /g-file/test_g_file_new_null 1670s ok 2 /g-file/test_g_file_new_for_path 1670s ok 3 /g-file/test_g_file_new_for_uri 1670s ok 4 /g-file/test_g_file_dup 1670s ok 5 /g-file/test_g_file_get_parse_name_utf8 1670s file:///tmp/test-tmp-glib_g-file.test-QGFTZ2 1670s file:///tmp 1670s file:///tmp 1670s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1670s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1670s ok 6 /g-file/test_g_file_new_for_commandline_arg 1670s /dir1 /dir1/dir2/dir3/ 1670s /dir1/ /dir1/dir2/dir3/ 1670s /dir1 /dir1/dir2/dir3 1670s /dir1/ /dir1/dir2/dir3 1670s /tmp/ /something/ 1670s /dir1/dir2 /dir1/ 1670s //dir1/new //dir1/new/dir2/dir3 1670s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1670s file:///dir1 file:///dir1/dir2/dir3/ 1670s file:///dir1/ file:///dir1/dir2/dir3/ 1670s file:///dir1 file:///dir1/dir2/dir3 1670s file:///dir1/ file:///dir1/dir2/dir3 1670s file:///tmp/ file:///something/ 1670s file:///dir1/dir2 file:///dir1/ 1670s file:////dir1/new file:////dir1/new/dir2/dir3 1670s 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 1670s ok 7 /g-file/test_g_file_has_prefix 1670s ok 8 /g-file/test_g_file_get_parent_child 1670s # End of g-file tests 1670s ok - glib/g-file.test 1670s # Running test: glib/date.test 1670s TAP version 14 1670s # random seed: R02Sde250bb7ddc164fb51812d99fdd92243 1670s 1..121 1670s # Start of date tests 1670s ok 1 /date/basic 1670s ok 2 /date/empty 1670s ok 3 /date/dmy 1670s ok 4 /date/julian 1670s ok 5 /date/compare 1670s ok 6 /date/dates 1670s ok 7 /date/strftime 1670s ok 8 /date/two-digit-years 1670s ok 9 /date/parse 1670s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1670s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1670s ok 11 /date/month_substring 1670s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1670s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1670s ok 13 /date/clamp 1670s ok 14 /date/order 1670s ok 15 /date/copy 1670s # Vector 0: 0000-00-00, invalid 1670s # Vector 1: 0001-01-01, valid 1670s # Vector 2: 0000-01-01, invalid 1670s # Vector 3: 2000-02-30, invalid 1670s # Vector 4: 2000-02-29, valid 1670s # Vector 5: 2001-02-29, invalid 1670s # Vector 6: 65535-01-01, valid 1670s ok 16 /date/valid-dmy 1670s # Start of parse tests 1670s # Test 0 1670s # Test 1 1670s ok 17 /date/parse/invalid 1670s # End of parse tests 1670s # Start of year tests 1670s ok 18 /date/year/1 1670s ok 19 /date/year/2 1670s ok 20 /date/year/3 1670s ok 21 /date/year/4 1670s ok 22 /date/year/5 1670s ok 23 /date/year/6 1670s ok 24 /date/year/7 1670s ok 25 /date/year/8 1670s ok 26 /date/year/9 1670s ok 27 /date/year/10 1670s ok 28 /date/year/11 1670s ok 29 /date/year/12 1670s ok 30 /date/year/13 1670s ok 31 /date/year/14 1670s ok 32 /date/year/98 1670s ok 33 /date/year/99 1670s ok 34 /date/year/100 1670s ok 35 /date/year/101 1670s ok 36 /date/year/102 1670s ok 37 /date/year/103 1670s ok 38 /date/year/397 1670s ok 39 /date/year/398 1670s ok 40 /date/year/399 1670s ok 41 /date/year/400 1670s ok 42 /date/year/401 1670s ok 43 /date/year/402 1670s ok 44 /date/year/403 1670s ok 45 /date/year/404 1670s ok 46 /date/year/405 1670s ok 47 /date/year/406 1670s ok 48 /date/year/1598 1670s ok 49 /date/year/1599 1670s ok 50 /date/year/1600 1670s ok 51 /date/year/1601 1670s ok 52 /date/year/1602 1670s ok 53 /date/year/1650 1670s ok 54 /date/year/1651 1670s ok 55 /date/year/1897 1670s ok 56 /date/year/1898 1670s ok 57 /date/year/1899 1670s ok 58 /date/year/1900 1670s ok 59 /date/year/1901 1670s ok 60 /date/year/1902 1670s ok 61 /date/year/1903 1670s ok 62 /date/year/1961 1670s ok 63 /date/year/1962 1670s ok 64 /date/year/1963 1670s ok 65 /date/year/1964 1670s ok 66 /date/year/1965 1670s ok 67 /date/year/1967 1670s ok 68 /date/year/1968 1670s ok 69 /date/year/1969 1670s ok 70 /date/year/1970 1670s ok 71 /date/year/1971 1670s ok 72 /date/year/1972 1670s ok 73 /date/year/1973 1670s ok 74 /date/year/1974 1670s ok 75 /date/year/1975 1670s ok 76 /date/year/1976 1670s ok 77 /date/year/1977 1670s ok 78 /date/year/1978 1670s ok 79 /date/year/1979 1670s ok 80 /date/year/1980 1670s ok 81 /date/year/1981 1670s ok 82 /date/year/1982 1670s ok 83 /date/year/1983 1670s ok 84 /date/year/1984 1670s ok 85 /date/year/1985 1670s ok 86 /date/year/1986 1670s ok 87 /date/year/1987 1670s ok 88 /date/year/1988 1670s ok 89 /date/year/1989 1670s ok 90 /date/year/1990 1670s ok 91 /date/year/1991 1670s ok 92 /date/year/1992 1670s ok 93 /date/year/1993 1670s ok 94 /date/year/1994 1670s ok 95 /date/year/1995 1670s ok 96 /date/year/1996 1670s ok 97 /date/year/1997 1670s ok 98 /date/year/1998 1670s ok 99 /date/year/1999 1670s ok 100 /date/year/2000 1670s ok 101 /date/year/2001 1670s ok 102 /date/year/2002 1670s ok 103 /date/year/2003 1670s ok 104 /date/year/2004 1670s ok 105 /date/year/2005 1670s ok 106 /date/year/2006 1670s ok 107 /date/year/2007 1670s ok 108 /date/year/2008 1670s ok 109 /date/year/2009 1670s ok 110 /date/year/2010 1670s ok 111 /date/year/2011 1670s ok 112 /date/year/2012 1670s ok 113 /date/year/3000 1670s ok 114 /date/year/3001 1670s ok 115 /date/year/3002 1670s ok 116 /date/year/3998 1670s ok 117 /date/year/3999 1670s ok 118 /date/year/4000 1670s ok 119 /date/year/4001 1670s ok 120 /date/year/4002 1670s ok 121 /date/year/4003 1670s # End of year tests 1670s # End of date tests 1670s ok - glib/date.test 1670s # Running test: glib/list.test 1670s TAP version 14 1670s # random seed: R02Se2052e117e71b6faf1fbe900608d8440 1670s 1..20 1670s # Start of list tests 1670s ok 1 /list/sort 1670s ok 2 /list/sort-with-data 1670s ok 3 /list/insert-before-link 1670s ok 4 /list/insert-sorted 1670s ok 5 /list/insert-sorted-with-data 1670s ok 6 /list/reverse 1670s ok 7 /list/nth 1670s ok 8 /list/concat 1670s ok 9 /list/remove 1670s ok 10 /list/remove-all 1670s ok 11 /list/first-last 1670s ok 12 /list/insert 1670s ok 13 /list/free-full 1670s ok 14 /list/copy 1670s ok 15 /list/copy-deep 1670s ok 16 /list/delete-link 1670s ok 17 /list/prepend 1670s ok 18 /list/position 1670s ok 19 /list/double-free 1670s # Start of sort tests 1670s ok 20 /list/sort/stable 1670s # End of sort tests 1670s # End of list tests 1670s ok - glib/list.test 1670s # Running test: glib/signals-refcount3.test 1670s TAP version 14 1670s # random seed: R02S84d8bdf934680cd1372c36b52f1ef1bb 1670s 1..1 1670s # Start of gobject tests 1670s # Start of refcount tests 1670s # init 0xcffba58 1670s # 1670s # init 0xcffbbb0 1670s # 1672s # Executing: glib/signals-refcount3.test 1675s # dispose 0xcffba58! 1675s # 1675s # dispose 0xcffbbb0! 1675s # 1675s ok 1 /gobject/refcount/signals 1675s # slow test /gobject/refcount/signals executed in 5.00 secs 1675s # End of refcount tests 1675s # End of gobject tests 1675s ok - glib/signals-refcount3.test 1675s # Running test: glib/gdbus-test-codegen-old.test 1675s TAP version 14 1675s # random seed: R02S2b6972385c429bf2fed14eabe5a8607f 1675s 1..8 1675s # Start of gdbus tests 1675s # Start of codegen tests 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/annotations/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/annotations/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/annotations/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/annotations/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/annotations/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/annotations/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/annotations/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/annotations/.dirs/runtime 1675s ok 1 /gdbus/codegen/annotations 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/interface_stability/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/interface_stability/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/interface_stability/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/interface_stability/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/interface_stability/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/interface_stability/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/interface_stability/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/interface_stability/.dirs/runtime 1675s ok 2 /gdbus/codegen/interface_stability 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/object-manager/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/object-manager/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/object-manager/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/object-manager/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/object-manager/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/object-manager/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/object-manager/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/object-manager/.dirs/runtime 1675s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1675s ok 3 /gdbus/codegen/object-manager 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/property-naming/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/property-naming/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/property-naming/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/property-naming/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/property-naming/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/property-naming/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/property-naming/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/property-naming/.dirs/runtime 1675s ok 4 /gdbus/codegen/property-naming 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/autocleanups/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/autocleanups/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/autocleanups/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/autocleanups/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/autocleanups/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/autocleanups/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/autocleanups/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/autocleanups/.dirs/runtime 1675s ok 5 /gdbus/codegen/autocleanups 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/deprecations/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/deprecations/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/deprecations/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/deprecations/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/deprecations/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/deprecations/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/deprecations/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/deprecations/.dirs/runtime 1675s ok 6 /gdbus/codegen/deprecations 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/standalone-interface-info/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/standalone-interface-info/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/standalone-interface-info/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/standalone-interface-info/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/standalone-interface-info/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1675s ok 7 /gdbus/codegen/standalone-interface-info 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/unix-fd-list/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/unix-fd-list/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/unix-fd-list/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/unix-fd-list/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/unix-fd-list/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_HRR0Z2/gdbus/codegen/unix-fd-list/.dirs/runtime 1675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1675s ok 8 /gdbus/codegen/unix-fd-list 1675s # End of codegen tests 1675s # End of gdbus tests 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 - glib/gdbus-test-codegen-old.test 1675s # Running test: glib/cxx-11.test 1675s TAP version 14 1675s # random seed: R02S0f5077bf386b1d62d2050a01c2f596c2 1675s 1..2 1675s # Start of gtask tests 1675s # 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. 1675s ok 1 /gtask/name 1675s # Start of name tests 1675s # 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. 1675s ok 2 /gtask/name/macro-wrapper 1675s # End of name tests 1675s # End of gtask tests 1675s ok - glib/cxx-11.test 1675s # Running test: glib/references.test 1675s TAP version 14 1675s # random seed: R02S8b25fee0b133e749c762e4a14aa523ee 1675s 1..1 1675s # Start of gobject tests 1675s ok 1 /gobject/references 1675s # End of gobject tests 1675s ok - glib/references.test 1675s # Running test: glib/struct-info.test 1675s TAP version 14 1675s # random seed: R02S90ded2c702a12d2a7184d04b9f587314 1675s 1..4 1675s # Start of struct-info tests 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_JUK2Z2/struct-info/field-iterators/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/field-iterators/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_JUK2Z2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_JUK2Z2/struct-info/field-iterators/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/field-iterators/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_JUK2Z2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_JUK2Z2/struct-info/field-iterators/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/field-iterators/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/field-iterators/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_JUK2Z2/struct-info/field-iterators/.dirs/runtime 1675s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1675s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1675s ok 1 /struct-info/field-iterators 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_JUK2Z2/struct-info/sizeof-gvalue/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/sizeof-gvalue/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_JUK2Z2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_JUK2Z2/struct-info/sizeof-gvalue/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/sizeof-gvalue/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_JUK2Z2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_JUK2Z2/struct-info/sizeof-gvalue/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/sizeof-gvalue/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/sizeof-gvalue/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_JUK2Z2/struct-info/sizeof-gvalue/.dirs/runtime 1675s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1675s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1675s ok 2 /struct-info/sizeof-gvalue 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_JUK2Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_JUK2Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_JUK2Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_JUK2Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_JUK2Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_JUK2Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1675s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1675s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1675s ok 3 /struct-info/is-pointer-for-struct-method-arg 1675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_JUK2Z2/struct-info/boxed/.dirs/home 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/boxed/.dirs/cache 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_JUK2Z2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_JUK2Z2/struct-info/boxed/.dirs/system-config2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/boxed/.dirs/config 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_JUK2Z2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_JUK2Z2/struct-info/boxed/.dirs/system-data2 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/boxed/.dirs/data 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_JUK2Z2/struct-info/boxed/.dirs/state 1675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_JUK2Z2/struct-info/boxed/.dirs/runtime 1675s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1675s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1675s ok 4 /struct-info/boxed 1675s # End of struct-info tests 1675s ok - glib/struct-info.test 1675s # Running test: glib/protocol.test 1675s TAP version 14 1675s # random seed: R02Sce3acdef1b370500ef9c1f6a9bdecace 1675s 1..9 1675s # Start of glib tests 1675s # Start of testing tests 1675s # Start of protocol tests 1675s ok 1 /glib/testing/protocol/debug 1675s ok 2 /glib/testing/protocol/info 1675s ok 3 /glib/testing/protocol/message 1675s ok 4 /glib/testing/protocol/warning 1675s ok 5 /glib/testing/protocol/critical 1675s ok 6 /glib/testing/protocol/error 1675s ok 7 /glib/testing/protocol/gtest-message 1675s ok 8 /glib/testing/protocol/test-message 1675s ok 9 /glib/testing/protocol/test-error 1675s # End of protocol tests 1675s # End of testing tests 1675s # End of glib tests 1675s ok - glib/protocol.test 1675s # Running test: glib/macros-c-11.test 1675s TAP version 14 1675s # random seed: R02S5698505e63b3709dd38ad469901f75bd 1675s 1..4 1675s # Start of C tests 1675s ok 1 /C/standard-11 1675s # End of C tests 1675s # Start of alignof tests 1675s ok 2 /alignof/fallback 1675s # End of alignof tests 1675s # Start of assert tests 1675s ok 3 /assert/static 1675s # End of assert tests 1675s # Start of struct tests 1675s ok 4 /struct/sizeof_member 1675s # End of struct tests 1675s ok - glib/macros-c-11.test 1675s # Running test: glib/volumemonitor.test 1675s TAP version 14 1675s # random seed: R02Sd1fc3da2c89752d8145364d4e7a158dc 1675s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1675s 1..3 1675s # Start of volumemonitor tests 1675s ok 1 /volumemonitor/connected_drives 1675s ok 2 /volumemonitor/volumes 1675s ok 3 /volumemonitor/mounts 1675s # End of volumemonitor tests 1675s ok - glib/volumemonitor.test 1675s # Running test: glib/1bit-mutex.test 1675s TAP version 14 1675s # random seed: R02Sa129531a287fbd754e313120b6a42c3f 1675s 1..2 1675s # Start of glib tests 1675s # Start of 1bit-mutex tests 1676s ok 1 /glib/1bit-mutex/int 1676s # slow test /glib/1bit-mutex/int executed in 1.34 secs 1677s # Executing: glib/1bit-mutex.test 1678s ok 2 /glib/1bit-mutex/pointer 1678s # slow test /glib/1bit-mutex/pointer executed in 1.15 secs 1678s # End of 1bit-mutex tests 1678s # End of glib tests 1678s ok - glib/1bit-mutex.test 1678s # Running test: glib/objects-refcount1.test 1678s TAP version 14 1678s # random seed: R02S8417408f2ddb21a5d1792d8f9989a1f3 1678s 1..1 1678s # Start of gobject tests 1678s # Start of refcount tests 1678s # init 0x530b1e0 1678s # 1678s # init 0x530b330 1678s # 1682s # Executing: glib/objects-refcount1.test 1683s # dispose 0x530b1e0! 1683s # 1683s # dispose 0x530b330! 1683s # 1683s ok 1 /gobject/refcount/object-basics 1683s # slow test /gobject/refcount/object-basics executed in 5.01 secs 1683s # End of refcount tests 1683s # End of gobject tests 1683s ok - glib/objects-refcount1.test 1683s # Running test: glib/cxx-20.test 1683s TAP version 14 1683s # random seed: R02S2582c751dcba6baa1f629ffd57066e0c 1683s 1..2 1683s # Start of gtask tests 1683s # 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. 1683s ok 1 /gtask/name 1683s # Start of name tests 1683s # 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. 1683s ok 2 /gtask/name/macro-wrapper 1683s # End of name tests 1683s # End of gtask tests 1683s ok - glib/cxx-20.test 1683s # Running test: glib/binding.test 1683s TAP version 14 1683s # random seed: R02S041b8ec950766181c03cc6a79231ca2b 1683s 1..19 1683s # Start of binding tests 1683s ok 1 /binding/default 1683s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1683s ok 2 /binding/canonicalisation 1683s ok 3 /binding/bidirectional 1683s ok 4 /binding/transform 1683s ok 5 /binding/transform-default 1683s ok 6 /binding/transform-closure 1683s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1683s ok 7 /binding/chain 1683s ok 8 /binding/sync-create 1683s ok 9 /binding/invert-boolean 1683s ok 10 /binding/same-object 1683s ok 11 /binding/unbind 1683s ok 12 /binding/unbind-weak 1683s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1683s ok 13 /binding/unbind-multiple 1683s ok 14 /binding/fail 1683s ok 15 /binding/interface 1683s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1683s ok 16 /binding/concurrent-unbind 1683s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1683s ok 17 /binding/concurrent-finalizing 1683s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1683s ok 18 /binding/dispose-source 1683s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1683s ok 19 /binding/dispose-target 1683s # End of binding tests 1683s ok - glib/binding.test 1683s # Running test: glib/contenttype.test 1683s TAP version 14 1683s # random seed: R02S9b74c1b3f5384aee147cd4f80f888408 1683s 1..13 1683s # Start of contenttype tests 1683s ok 1 /contenttype/guess 1683s ok 2 /contenttype/guess_svg_from_data 1683s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1683s ok 4 /contenttype/unknown 1683s ok 5 /contenttype/subtype 1683s ok 6 /contenttype/list 1683s ok 7 /contenttype/executable 1683s ok 8 /contenttype/description 1683s ok 9 /contenttype/icon 1683s ok 10 /contenttype/symbolic-icon 1683s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1683s ok 11 /contenttype/tree 1683s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1683s ok 12 /contenttype/tree_invalid_encoding 1683s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1683s ok 13 /contenttype/test_type_is_a_special_case 1683s # End of contenttype tests 1683s ok - glib/contenttype.test 1683s # Running test: glib/private.test 1683s TAP version 14 1683s # random seed: R02S5fca487db0f15f383750e491ffecedfc 1683s 1..8 1683s # Start of thread tests 1683s ok 1 /thread/private1 1684s ok 2 /thread/private2 1684s # slow test /thread/private2 executed in 1.09 secs 1684s ok 3 /thread/private3 1684s ok 4 /thread/staticprivate1 1684s ok 5 /thread/staticprivate2 1684s ok 6 /thread/staticprivate3 1685s ok 7 /thread/staticprivate4 1685s # slow test /thread/staticprivate4 executed in 1.09 secs 1685s ok 8 /thread/staticprivate5 1685s # End of thread tests 1685s ok - glib/private.test 1685s # Running test: glib/vfs.test 1685s TAP version 14 1685s # random seed: R02Sa1b9dc776435084acdf6f39029459aa8 1685s 1..3 1685s # Start of gvfs tests 1685s ok 1 /gvfs/local 1685s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1685s ok 2 /gvfs/register-scheme 1685s # Start of resource tests 1685s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1685s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1685s ok 3 /gvfs/resource/malformed-escaping 1685s # End of resource tests 1685s # End of gvfs tests 1685s ok - glib/vfs.test 1685s # Running test: glib/objects-refcount2.test 1685s TAP version 14 1685s # random seed: R02Se721c4fabc82ac854df22ccc50d40866 1685s 1..1 1685s # Start of gobject tests 1685s # Start of refcount tests 1685s # init 0xf2b01e0 1685s # 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1685s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1686s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # Executing: glib/objects-refcount2.test 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1687s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1688s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1689s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1690s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1691s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # . 1692s # Executing: glib/objects-refcount2.test 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 # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 1693s # . 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 # . 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 # . 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 # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1695s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1696s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # Executing: glib/objects-refcount2.test 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # . 1697s # dispose 0xf2b01e0! 1697s # 1697s ok 1 /gobject/refcount/object-advanced 1697s # slow test /gobject/refcount/object-advanced executed in 12.29 secs 1697s # End of refcount tests 1697s # End of gobject tests 1697s ok - glib/objects-refcount2.test 1697s # Running test: glib/option-context.test 1697s TAP version 14 1697s # random seed: R02Sbbe1957b3f5b2b6c2c3ac640b312b029 1697s 1..57 1697s # Start of option tests 1697s ok 1 /option/basic 1697s ok 2 /option/translate 1697s ok 3 /option/strict-posix 1697s # Start of help tests 1697s ok 4 /option/help/options 1697s ok 5 /option/help/no-options 1697s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1697s ok 6 /option/help/no-help-options 1697s # End of help tests 1697s # Start of group tests 1697s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1697s ok 7 /option/group/captions 1697s ok 8 /option/group/main 1697s ok 9 /option/group/error-hook 1697s ok 10 /option/group/parse 1697s # Start of captions tests 1697s # Start of subprocess tests 1697s # End of subprocess tests 1697s # End of captions tests 1697s # End of group tests 1697s # Start of restoration tests 1697s ok 11 /option/restoration/int 1697s ok 12 /option/restoration/string 1697s ok 13 /option/restoration/boolean 1697s # End of restoration tests 1697s # Start of arg tests 1697s ok 14 /option/arg/reverse-string 1697s ok 15 /option/arg/optional-int 1697s # Start of repetition tests 1697s ok 16 /option/arg/repetition/int 1697s ok 17 /option/arg/repetition/string 1697s ok 18 /option/arg/repetition/filename 1697s ok 19 /option/arg/repetition/double 1697s ok 20 /option/arg/repetition/locale 1697s ok 21 /option/arg/repetition/int64 1697s # End of repetition tests 1697s # Start of array tests 1697s ok 22 /option/arg/array/string 1697s # End of array tests 1697s # Start of callback tests 1697s ok 23 /option/arg/callback/string 1697s ok 24 /option/arg/callback/count 1697s ok 25 /option/arg/callback/optional1 1697s ok 26 /option/arg/callback/optional2 1697s ok 27 /option/arg/callback/optional3 1697s ok 28 /option/arg/callback/optional4 1697s ok 29 /option/arg/callback/optional5 1697s ok 30 /option/arg/callback/optional6 1697s ok 31 /option/arg/callback/optional7 1697s ok 32 /option/arg/callback/optional8 1697s # End of callback tests 1697s # Start of remaining tests 1697s ok 33 /option/arg/remaining/callback 1697s ok 34 /option/arg/remaining/callback-false 1697s ok 35 /option/arg/remaining/non-option 1697s ok 36 /option/arg/remaining/separator 1697s ok 37 /option/arg/remaining/array 1697s # End of remaining tests 1697s # Start of ignore tests 1697s ok 38 /option/arg/ignore/long 1697s ok 39 /option/arg/ignore/short 1697s ok 40 /option/arg/ignore/arg 1697s # End of ignore tests 1697s # Start of rest tests 1697s ok 41 /option/arg/rest/non-option 1697s ok 42 /option/arg/rest/separator1 1697s ok 43 /option/arg/rest/separator2 1697s ok 44 /option/arg/rest/separator3 1697s ok 45 /option/arg/rest/separator4 1697s ok 46 /option/arg/rest/separator5 1697s # End of rest tests 1697s # End of arg tests 1697s # Start of context tests 1697s ok 47 /option/context/add 1697s ok 48 /option/context/empty2 1697s ok 49 /option/context/empty3 1697s # End of context tests 1697s # Start of bug tests 1697s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1697s ok 50 /option/bug/unknown-short 1697s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1697s ok 51 /option/bug/lonely-dash 1697s ok 52 /option/bug/triple-dash 1697s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1697s ok 53 /option/bug/missing-arg 1697s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1697s ok 54 /option/bug/dash-arg 1697s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1697s ok 55 /option/bug/short-remaining 1697s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1697s ok 56 /option/bug/double-free 1697s ok 57 /option/bug/double-zero 1697s # End of bug tests 1697s # End of option tests 1697s ok - glib/option-context.test 1697s # Running test: glib/gdbus-peer.test 1697s TAP version 14 1697s # random seed: R02S85db0a37902a970095dbcee6ebe7fa6f 1697s 1..12 1697s # Start of gdbus tests 1697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/.dirs/home 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/.dirs/cache 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/.dirs/system-config2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/.dirs/config 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/.dirs/system-data2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/.dirs/data 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/.dirs/state 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/.dirs/runtime 1697s # Testing with unix:dir address 1697s # Testing with unix:tmpdir address 1697s # Testing with unix:path address 1697s ok 1 /gdbus/peer-to-peer 1697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/delayed-message-processing/.dirs/home 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/delayed-message-processing/.dirs/cache 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_R88IZ2/gdbus/delayed-message-processing/.dirs/system-config2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/delayed-message-processing/.dirs/config 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_R88IZ2/gdbus/delayed-message-processing/.dirs/system-data2 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/delayed-message-processing/.dirs/data 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/delayed-message-processing/.dirs/state 1697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_R88IZ2/gdbus/delayed-message-processing/.dirs/runtime 1697s # Testing with unix:dir address 1698s ok 2 /gdbus/delayed-message-processing 1698s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1698s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/nonce-tcp/.dirs/home 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/nonce-tcp/.dirs/cache 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_R88IZ2/gdbus/nonce-tcp/.dirs/system-config2 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/nonce-tcp/.dirs/config 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_R88IZ2/gdbus/nonce-tcp/.dirs/system-data2 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/nonce-tcp/.dirs/data 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/nonce-tcp/.dirs/state 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_R88IZ2/gdbus/nonce-tcp/.dirs/runtime 1698s ok 3 /gdbus/nonce-tcp 1698s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/tcp-anonymous/.dirs/home 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/tcp-anonymous/.dirs/cache 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_R88IZ2/gdbus/tcp-anonymous/.dirs/system-config2 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/tcp-anonymous/.dirs/config 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_R88IZ2/gdbus/tcp-anonymous/.dirs/system-data2 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/tcp-anonymous/.dirs/data 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/tcp-anonymous/.dirs/state 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_R88IZ2/gdbus/tcp-anonymous/.dirs/runtime 1698s ok 4 /gdbus/tcp-anonymous 1698s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/credentials/.dirs/home 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/credentials/.dirs/cache 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_R88IZ2/gdbus/credentials/.dirs/system-config2 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/credentials/.dirs/config 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_R88IZ2/gdbus/credentials/.dirs/system-data2 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/credentials/.dirs/data 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/credentials/.dirs/state 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_R88IZ2/gdbus/credentials/.dirs/runtime 1698s ok 5 /gdbus/credentials 1698s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/codegen-peer-to-peer/.dirs/home 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/codegen-peer-to-peer/.dirs/cache 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_R88IZ2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/codegen-peer-to-peer/.dirs/config 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_R88IZ2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/codegen-peer-to-peer/.dirs/data 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/codegen-peer-to-peer/.dirs/state 1698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_R88IZ2/gdbus/codegen-peer-to-peer/.dirs/runtime 1698s # Testing with unix:dir address 1698s # Machine ID: dad058820e4f41e58abb4e6de895f2e2 1699s ok 6 /gdbus/codegen-peer-to-peer 1699s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1699s # Start of peer-to-peer tests 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/signals/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/signals/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/signals/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/signals/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/signals/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/signals/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/signals/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/signals/.dirs/runtime 1699s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1699s # Testing with unix:dir address 1699s ok 7 /gdbus/peer-to-peer/signals 1699s # Start of invalid tests 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/server/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/server/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/server/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/server/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1699s ok 8 /gdbus/peer-to-peer/invalid/server 1699s # Start of conn tests 1699s # Start of stream tests 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1699s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1699s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1699s # End of stream tests 1699s # Start of addr tests 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1699s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_R88IZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1699s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1699s # End of addr tests 1699s # End of conn tests 1699s # End of invalid tests 1699s # End of peer-to-peer tests 1699s # End of gdbus tests 1699s ok - glib/gdbus-peer.test 1699s # Running test: glib/cmph-bdz.test 1699s TAP version 14 1699s # random seed: R02S1f7922f686690402f357cf5ab6c27a81 1699s 1..2 1699s # Start of cmph-bdz tests 1699s ok 1 /cmph-bdz/search 1699s ok 2 /cmph-bdz/search-packed 1699s # End of cmph-bdz tests 1699s ok - glib/cmph-bdz.test 1699s # Running test: glib/init.test 1699s TAP version 14 1699s # random seed: R02S0c97acc7f7676664f9bc3012c9a4d696 1699s 1..2 1699s # Start of thread tests 1699s # Start of deprecated tests 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_2XUZZ2/thread/deprecated/init/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_2XUZZ2/thread/deprecated/init/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_2XUZZ2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_2XUZZ2/thread/deprecated/init/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_2XUZZ2/thread/deprecated/init/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_2XUZZ2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_2XUZZ2/thread/deprecated/init/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_2XUZZ2/thread/deprecated/init/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_2XUZZ2/thread/deprecated/init/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_2XUZZ2/thread/deprecated/init/.dirs/runtime 1699s ok 1 /thread/deprecated/init 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_2XUZZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_2XUZZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_2XUZZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_2XUZZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_2XUZZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_2XUZZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_2XUZZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_2XUZZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_2XUZZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_2XUZZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1699s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1699s # End of deprecated tests 1699s # End of thread tests 1699s ok - glib/init.test 1699s # Running test: glib/markup.test 1699s TAP version 14 1699s # random seed: R02Sade63221df83ebbbff46095ef03f71fe 1699s 1..1 1699s # Start of markup tests 1699s ok 1 /markup/stack 1699s # End of markup tests 1699s ok - glib/markup.test 1699s # Running test: glib/gdbus-server-auth.test 1699s TAP version 14 1699s # random seed: R02S6f4f484640ba44a52565a1e6ff6b86af 1699s 1..9 1699s # Start of gdbus tests 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/.dirs/runtime 1699s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus-server-auth-CN7ZZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1699s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus-server-auth-CN7ZZ2/dbus-xCo0uQKA 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8396 1699s ok 1 /gdbus/server-auth 1699s # Start of server-auth tests 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/abstract/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/abstract/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/abstract/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/abstract/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/abstract/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/abstract/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/abstract/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/abstract/.dirs/runtime 1699s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus-server-auth-P4Q0Z2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1699s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus-server-auth-P4Q0Z2/dbus-UiV6hrtl 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1699s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1699s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8396 1699s ok 2 /gdbus/server-auth/abstract 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/tcp/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/tcp/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/tcp/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/tcp/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/tcp/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/tcp/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/tcp/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/tcp/.dirs/runtime 1699s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1699s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/.dirs/runtime 1699s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus-server-auth-EN60Z2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1699s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus-server-auth-EN60Z2/dbus-O4Yn8qui 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8396 1699s ok 4 /gdbus/server-auth/anonymous 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/.dirs/runtime 1699s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus-server-auth-WQW1Z2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1699s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus-server-auth-WQW1Z2/dbus-P94fxKDj 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8396 1699s ok 5 /gdbus/server-auth/external 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/.dirs/runtime 1699s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus-server-auth-R381Z2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1699s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1699s # Start of anonymous tests 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/tcp/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/tcp/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/tcp/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/tcp/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1699s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1699s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1699s # End of anonymous tests 1699s # Start of external tests 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/require-same-user/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/require-same-user/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/require-same-user/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/require-same-user/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/require-same-user/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1699s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus-server-auth-DY91Z2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1699s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus-server-auth-DY91Z2/dbus-VuktAy40 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8396 1699s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1699s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1699s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1699s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8396,uid=1000,gid=1000 1699s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8396 1699s ok 8 /gdbus/server-auth/external/require-same-user 1699s # End of external tests 1699s # Start of sha1 tests 1699s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/tcp/.dirs/home 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/tcp/.dirs/cache 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/tcp/.dirs/config 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/tcp/.dirs/data 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/tcp/.dirs/state 1699s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_7G7ZZ2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1699s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1699s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1699s # End of sha1 tests 1699s # End of server-auth tests 1699s # End of gdbus tests 1699s ok - glib/gdbus-server-auth.test 1699s # Running test: glib/mutex.test 1699s TAP version 14 1699s # random seed: R02Sde0a60261e7f962b481319857896fdba 1699s 1..17 1699s # Start of thread tests 1699s ok 1 /thread/mutex1 1699s ok 2 /thread/mutex2 1699s ok 3 /thread/mutex3 1699s ok 4 /thread/mutex4 1701s ok 5 /thread/mutex5 1701s # slow test /thread/mutex5 executed in 1.65 secs 1701s # Start of mutex tests 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1701s ok 6 /thread/mutex/errno 1701s # Start of perf tests 1701s # max perf: inf mips 1701s ok 7 /thread/mutex/perf/uncontended 1701s # Start of contended tests 1701s # max perf: inf mips 1701s ok 8 /thread/mutex/perf/contended/1 1701s # max perf: inf mips 1701s ok 9 /thread/mutex/perf/contended/2 1701s # max perf: inf mips 1701s ok 10 /thread/mutex/perf/contended/3 1701s # max perf: 1.666667 mips 1701s ok 11 /thread/mutex/perf/contended/4 1701s # max perf: 6.000000 mips 1701s ok 12 /thread/mutex/perf/contended/5 1701s # max perf: 0.875000 mips 1701s ok 13 /thread/mutex/perf/contended/6 1701s # max perf: 0.800000 mips 1701s ok 14 /thread/mutex/perf/contended/7 1701s # max perf: 2.250000 mips 1701s ok 15 /thread/mutex/perf/contended/8 1701s # max perf: 2.500000 mips 1701s ok 16 /thread/mutex/perf/contended/9 1701s # max perf: 0.070064 mips 1701s ok 17 /thread/mutex/perf/contended/10 1701s # End of contended tests 1701s # End of perf tests 1701s # End of mutex tests 1701s # End of thread tests 1701s ok - glib/mutex.test 1701s # Running test: glib/gdatetime.test 1701s TAP version 14 1701s # random seed: R02S1a57366fde6b652ddbce031b4f0cb0df 1701s 1..68 1701s # Start of GDateTime tests 1701s # Bug Reference: http://bugzilla.gnome.org/702674 1701s ok 1 /GDateTime/invalid 1701s ok 2 /GDateTime/add_days 1701s ok 3 /GDateTime/add_full 1701s ok 4 /GDateTime/add_hours 1701s ok 5 /GDateTime/add_minutes 1701s ok 6 /GDateTime/add_months 1701s ok 7 /GDateTime/add_seconds 1701s ok 8 /GDateTime/add_weeks 1701s ok 9 /GDateTime/add_years 1701s ok 10 /GDateTime/compare 1701s ok 11 /GDateTime/diff 1701s ok 12 /GDateTime/equal 1701s ok 13 /GDateTime/get_day_of_week 1701s ok 14 /GDateTime/get_day_of_month 1701s ok 15 /GDateTime/get_day_of_year 1701s ok 16 /GDateTime/get_hour 1701s ok 17 /GDateTime/get_microsecond 1701s ok 18 /GDateTime/get_minute 1701s ok 19 /GDateTime/get_month 1701s ok 20 /GDateTime/get_second 1701s ok 21 /GDateTime/get_utc_offset 1701s ok 22 /GDateTime/get_year 1701s ok 23 /GDateTime/hash 1701s ok 24 /GDateTime/new_from_unix 1701s ok 25 /GDateTime/new_from_unix_utc 1701s ok 26 /GDateTime/new_from_timeval 1701s ok 27 /GDateTime/new_from_timeval_utc 1701s ok 28 /GDateTime/new_from_iso8601 1701s ok 29 /GDateTime/new_full 1701s ok 30 /GDateTime/now 1701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1701s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1701s # %a -> expected: Sat 1701s # %a -> actual: Sat 1701s # %A -> expected: Saturday 1701s # %A -> actual: Saturday 1701s # %b -> expected: Oct 1701s # %b -> actual: Oct 1701s # %B -> expected: October 1701s # %B -> actual: October 1701s # %d -> expected: 24 1701s # %d -> actual: 24 1701s # %d -> expected: 01 1701s # %d -> actual: 01 1701s # %e -> expected: 24 1701s # %e -> actual: 24 1701s # %e -> expected:  1 1701s # %e -> actual:  1 1701s # %f -> expected: 001000 1701s # %f -> actual: 001000 1701s # %h -> expected: Oct 1701s # %h -> actual: Oct 1701s # %H -> expected: 00 1701s # %H -> actual: 00 1701s # %H -> expected: 15 1701s # %H -> actual: 15 1701s # %I -> expected: 12 1701s # %I -> actual: 12 1701s # %I -> expected: 12 1701s # %I -> actual: 12 1701s # %I -> expected: 03 1701s # %I -> actual: 03 1701s # %j -> expected: 297 1701s # %j -> actual: 297 1701s # %k -> expected:  0 1701s # %k -> actual:  0 1701s # %k -> expected: 13 1701s # %k -> actual: 13 1701s # %l -> expected: 12 1701s # %l -> actual: 12 1701s # %I -> expected: 12 1701s # %I -> actual: 12 1701s # %l -> expected:  1 1701s # %l -> actual:  1 1701s # %l -> expected: 10 1701s # %l -> actual: 10 1701s # %m -> expected: 10 1701s # %m -> actual: 10 1701s # %M -> expected: 00 1701s # %M -> actual: 00 1701s # %p -> expected: AM 1701s # %p -> actual: AM 1701s # %p -> expected: PM 1701s # %p -> actual: PM 1701s # %P -> expected: am 1701s # %P -> actual: am 1701s # %P -> expected: pm 1701s # %P -> actual: pm 1701s # %r -> expected: 12:00:00 AM 1701s # %r -> actual: 12:00:00 AM 1701s # %r -> expected: 01:13:13 PM 1701s # %r -> actual: 01:13:13 PM 1701s # %R -> expected: 00:00 1701s # %R -> actual: 00:00 1701s # %R -> expected: 13:13 1701s # %R -> actual: 13:13 1701s # %S -> expected: 00 1701s # %S -> actual: 00 1701s # %t -> expected: 1701s # %t -> actual: 1701s # %u -> expected: 6 1701s # %u -> actual: 6 1701s # %x -> expected: 10/24/09 1701s # %x -> actual: 10/24/09 1701s # %X -> expected: 00:00:00 1701s # %X -> actual: 00:00:00 1701s # %X -> expected: 13:14:15 1701s # %X -> actual: 13:14:15 1701s # %y -> expected: 09 1701s # %y -> actual: 09 1701s # %Y -> expected: 2009 1701s # %Y -> actual: 2009 1701s # %% -> expected: % 1701s # %% -> actual: % 1701s # % -> expected: 1701s # % -> actual: 1701s # %9 -> expected: (null) 1701s # %9 -> actual: (null) 1701s # %Z -> expected: UTC 1701s # %Z -> actual: UTC 1701s ok 32 /GDateTime/printf 1701s # %a -> expected: 1701s # %a -> actual: 1701s # %A -> expected: 1701s # %A -> actual: 1701s # %b -> expected: 10 1701s # %b -> actual: 10 1701s # %B -> expected: 10 1701s # %B -> actual: 10 1701s # %c -> expected: 2009ǯ1024 0000ʬ00 1701s # %c -> actual: 2009ǯ1024 0000ʬ00 1701s # %C -> expected: 20 1701s # %C -> actual: 20 1701s # %d -> expected: 24 1701s # %d -> actual: 24 1701s # %d -> expected: 01 1701s # %d -> actual: 01 1701s # %e -> expected: 24 1701s # %e -> actual: 24 1701s # %h -> expected: 10 1701s # %h -> actual: 10 1701s # %H -> expected: 00 1701s # %H -> actual: 00 1701s # %H -> expected: 15 1701s # %H -> actual: 15 1701s # %I -> expected: 12 1701s # %I -> actual: 12 1701s # %I -> expected: 12 1701s # %I -> actual: 12 1701s # %I -> expected: 03 1701s # %I -> actual: 03 1701s # %j -> expected: 297 1701s # %j -> actual: 297 1701s # %k -> expected: ?0 1701s # %k -> actual: ?0 1701s # %k -> expected: 13 1701s # %k -> actual: 13 1701s # %l -> expected: 12 1701s # %l -> actual: 12 1701s # %I -> expected: 12 1701s # %I -> actual: 12 1701s # %l -> expected: ?1 1701s # %l -> actual: ?1 1701s # %l -> expected: 10 1701s # %l -> actual: 10 1701s # %m -> expected: 10 1701s # %m -> actual: 10 1701s # %M -> expected: 00 1701s # %M -> actual: 00 1701s # %p -> expected: 1701s # %p -> actual: 1701s # %p -> expected: 1701s # %p -> actual: 1701s # %P -> expected: 1701s # %P -> actual: 1701s # %P -> expected: 1701s # %P -> actual: 1701s # %r -> expected: 1200ʬ00 1701s # %r -> actual: 1200ʬ00 1701s # %r -> expected: 0113ʬ13 1701s # %r -> actual: 0113ʬ13 1701s # %R -> expected: 00:00 1701s # %R -> actual: 00:00 1701s # %R -> expected: 13:13 1701s # %R -> actual: 13:13 1701s # %S -> expected: 00 1701s # %S -> actual: 00 1701s # %t -> expected: 1701s # %t -> actual: 1701s # %u -> expected: 6 1701s # %u -> actual: 6 1701s # %x -> expected: 2009ǯ1024 1701s # %x -> actual: 2009ǯ1024 1701s # %X -> expected: 0000ʬ00 1701s # %X -> actual: 0000ʬ00 1701s # %X -> expected: 1314ʬ15 1701s # %X -> actual: 1314ʬ15 1701s # %y -> expected: 09 1701s # %y -> actual: 09 1701s # %Y -> expected: 2009 1701s # %Y -> actual: 2009 1701s # %% -> expected: % 1701s # %% -> actual: % 1701s # % -> expected: 1701s # % -> actual: 1701s # %9 -> expected: (null) 1701s # %9 -> actual: (null) 1701s # %Ec -> expected: ʿ21ǯ1024 0000ʬ00 1701s # %Ec -> actual: ʿ21ǯ1024 0000ʬ00 1701s # %EC -> expected: ʿ 1701s # %EC -> actual: ʿ 1701s # %Ex -> expected: ʿ21ǯ1024 1701s # %Ex -> actual: ʿ21ǯ1024 1701s # %EX -> expected: 0000ʬ00 1701s # %EX -> actual: 0000ʬ00 1701s # %Ey -> expected: 21 1701s # %Ey -> actual: 21 1701s # %EY -> expected: ʿ21ǯ 1701s # %EY -> actual: ʿ21ǯ 1701s ok 33 /GDateTime/non_utf8_printf 1701s # ???? -> expected: ???? 1701s # ???? -> actual: ???? 1701s # %H?%M -> expected: 23?15 1701s # %H?%M -> actual: 23?15 1701s # %H?%M -> expected: 23?15 1701s # %H?%M -> actual: 23?15 1701s ok 34 /GDateTime/format_unrepresentable 1701s ok 35 /GDateTime/format_iso8601 1701s ok 36 /GDateTime/strftime 1701s # %d -> expected: 01 1701s # %d -> actual: 01 1701s # %_d -> expected: 1 1701s # %_d -> actual: 1 1701s # %-d -> expected: 1 1701s # %-d -> actual: 1 1701s # %0d -> expected: 01 1701s # %0d -> actual: 01 1701s # %d -> expected: 21 1701s # %d -> actual: 21 1701s # %_d -> expected: 21 1701s # %_d -> actual: 21 1701s # %-d -> expected: 21 1701s # %-d -> actual: 21 1701s # %0d -> expected: 21 1701s # %0d -> actual: 21 1701s # %e -> expected:  1 1701s # %e -> actual:  1 1701s # %_e -> expected: 1 1701s # %_e -> actual: 1 1701s # %-e -> expected: 1 1701s # %-e -> actual: 1 1701s # %0e -> expected: 01 1701s # %0e -> actual: 01 1701s # %e -> expected: 21 1701s # %e -> actual: 21 1701s # %_e -> expected: 21 1701s # %_e -> actual: 21 1701s # %-e -> expected: 21 1701s # %-e -> actual: 21 1701s # %0e -> expected: 21 1701s # %0e -> actual: 21 1701s # %a -> expected: Thu 1701s # %a -> actual: Thu 1701s # %^a -> expected: THU 1701s # %^a -> actual: THU 1701s # %#a -> expected: THU 1701s # %#a -> actual: THU 1701s # %A -> expected: Thursday 1701s # %A -> actual: Thursday 1701s # %^A -> expected: THURSDAY 1701s # %^A -> actual: THURSDAY 1701s # %#A -> expected: THURSDAY 1701s # %#A -> actual: THURSDAY 1701s # %b -> expected: Jan 1701s # %b -> actual: Jan 1701s # %^b -> expected: JAN 1701s # %^b -> actual: JAN 1701s # %#b -> expected: JAN 1701s # %#b -> actual: JAN 1701s # %B -> expected: January 1701s # %B -> actual: January 1701s # %^B -> expected: JANUARY 1701s # %^B -> actual: JANUARY 1701s # %#B -> expected: JANUARY 1701s # %#B -> actual: JANUARY 1701s # %h -> expected: Jan 1701s # %h -> actual: Jan 1701s # %^h -> expected: JAN 1701s # %^h -> actual: JAN 1701s # %#h -> expected: JAN 1701s # %#h -> actual: JAN 1701s # %Z -> expected: UTC 1701s # %Z -> actual: UTC 1701s # %^Z -> expected: UTC 1701s # %^Z -> actual: UTC 1701s # %#Z -> expected: utc 1701s # %#Z -> actual: utc 1701s # %H -> expected: 01 1701s # %H -> actual: 01 1701s # %_H -> expected: 1 1701s # %_H -> actual: 1 1701s # %-H -> expected: 1 1701s # %-H -> actual: 1 1701s # %0H -> expected: 01 1701s # %0H -> actual: 01 1701s # %H -> expected: 21 1701s # %H -> actual: 21 1701s # %_H -> expected: 21 1701s # %_H -> actual: 21 1701s # %-H -> expected: 21 1701s # %-H -> actual: 21 1701s # %0H -> expected: 21 1701s # %0H -> actual: 21 1701s # %I -> expected: 01 1701s # %I -> actual: 01 1701s # %_I -> expected: 1 1701s # %_I -> actual: 1 1701s # %-I -> expected: 1 1701s # %-I -> actual: 1 1701s # %0I -> expected: 01 1701s # %0I -> actual: 01 1701s # %I -> expected: 11 1701s # %I -> actual: 11 1701s # %_I -> expected: 11 1701s # %_I -> actual: 11 1701s # %-I -> expected: 11 1701s # %-I -> actual: 11 1701s # %0I -> expected: 11 1701s # %0I -> actual: 11 1701s # %k -> expected:  1 1701s # %k -> actual:  1 1701s # %_k -> expected: 1 1701s # %_k -> actual: 1 1701s # %-k -> expected: 1 1701s # %-k -> actual: 1 1701s # %0k -> expected: 01 1701s # %0k -> actual: 01 1701s # %l -> expected:  1 1701s # %l -> actual:  1 1701s # %_l -> expected: 1 1701s # %_l -> actual: 1 1701s # %-l -> expected: 1 1701s # %-l -> actual: 1 1701s # %0l -> expected: 01 1701s # %0l -> actual: 01 1701s # %l -> expected: 11 1701s # %l -> actual: 11 1701s # %_l -> expected: 11 1701s # %_l -> actual: 11 1701s # %-l -> expected: 11 1701s # %-l -> actual: 11 1701s # %0l -> expected: 11 1701s # %0l -> actual: 11 1701s # %p -> expected: AM 1701s # %p -> actual: AM 1701s # %^p -> expected: AM 1701s # %^p -> actual: AM 1701s # %#p -> expected: am 1701s # %#p -> actual: am 1701s # %P -> expected: am 1701s # %P -> actual: am 1701s # %^P -> expected: AM 1701s # %^P -> actual: AM 1701s # %#P -> expected: am 1701s # %#P -> actual: am 1701s # %OH -> expected: ۲۳ 1701s # %OH -> actual: ۲۳ 1701s # %OI -> expected: ۱۱ 1701s # %OI -> actual: ۱۱ 1701s # %OM -> expected: ۰۰ 1701s # %OM -> actual: ۰۰ 1701s # %Om -> expected: ۰۷ 1701s # %Om -> actual: ۰۷ 1701s # %0Om -> expected: ۰۷ 1701s # %0Om -> actual: ۰۷ 1701s # %-Om -> expected: ۷ 1701s # %-Om -> actual: ۷ 1701s # %_Om -> expected: ۷ 1701s # %_Om -> actual: ۷ 1701s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1701s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1701s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1701s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1701s # %C -> expected: 20 1701s # %C -> actual: 20 1701s # %EC -> expected: 20 1701s # %EC -> actual: 20 1701s # %x -> expected: 02/01/09 1701s # %x -> actual: 02/01/09 1701s # %Ex -> expected: 02/01/09 1701s # %Ex -> actual: 02/01/09 1701s # %X -> expected: 01:02:03 1701s # %X -> actual: 01:02:03 1701s # %EX -> expected: 01:02:03 1701s # %EX -> actual: 01:02:03 1701s # %y -> expected: 09 1701s # %y -> actual: 09 1701s # %Ey -> expected: 09 1701s # %Ey -> actual: 09 1701s # %Y -> expected: 2009 1701s # %Y -> actual: 2009 1701s # %EY -> expected: 2009 1701s # %EY -> actual: 2009 1701s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1701s # Bug Reference: http://bugzilla.gnome.org/749206 1701s # %B -> expected: January 1701s # %B -> actual: January 1701s # %OB -> expected: February 1701s # %OB -> actual: February 1701s # %b -> expected: Mar 1701s # %b -> actual: Mar 1701s # %Ob -> expected: Apr 1701s # %Ob -> actual: Apr 1701s # %h -> expected: May 1701s # %h -> actual: May 1701s # %Oh -> expected: Jun 1701s # %Oh -> actual: Jun 1701s # %B -> expected: Juli 1701s # %B -> actual: Juli 1701s # %OB -> expected: August 1701s # %OB -> actual: August 1701s # %b -> expected: Sep 1701s # %b -> actual: Sep 1701s # %Ob -> expected: Okt 1701s # %Ob -> actual: Okt 1701s # %h -> expected: Nov 1701s # %h -> actual: Nov 1701s # %Oh -> expected: Dez 1701s # %Oh -> actual: Dez 1701s # %B -> expected: enero 1701s # %B -> actual: enero 1701s # %OB -> expected: febrero 1701s # %OB -> actual: febrero 1701s # %b -> expected: mar 1701s # %b -> actual: mar 1701s # %Ob -> expected: abr 1701s # %Ob -> actual: abr 1701s # %h -> expected: may 1701s # %h -> actual: may 1701s # %Oh -> expected: jun 1701s # %Oh -> actual: jun 1701s # %B -> expected: juillet 1701s # %B -> actual: juillet 1701s # %OB -> expected: août 1701s # %OB -> actual: août 1701s # %b -> expected: sept. 1701s # %b -> actual: sept. 1701s # %Ob -> expected: oct. 1701s # %Ob -> actual: oct. 1701s # %h -> expected: nov. 1701s # %h -> actual: nov. 1701s # %Oh -> expected: déc. 1701s # %Oh -> actual: déc. 1701s # %B -> expected: Ιανουαρίου 1701s # %B -> actual: Ιανουαρίου 1701s # %B -> expected: Φεβρουαρίου 1701s # %B -> actual: Φεβρουαρίου 1701s # %B -> expected: Μαρτίου 1701s # %B -> actual: Μαρτίου 1701s # %OB -> expected: Απρίλιος 1701s # %OB -> actual: Απρίλιος 1701s # %OB -> expected: Μάιος 1701s # %OB -> actual: Μάιος 1701s # %OB -> expected: Ιούνιος 1701s # %OB -> actual: Ιούνιος 1701s # %b -> expected: Ιουλ 1701s # %b -> actual: Ιουλ 1701s # %Ob -> expected: Αύγ 1701s # %Ob -> actual: Αύγ 1701s # %B -> expected: svibnja 1701s # %B -> actual: svibnja 1701s # %B -> expected: lipnja 1701s # %B -> actual: lipnja 1701s # %B -> expected: srpnja 1701s # %B -> actual: srpnja 1701s # %OB -> expected: Kolovoz 1701s # %OB -> actual: kolovoz 1701s # %OB -> expected: Rujan 1701s # %OB -> actual: rujan 1701s # %OB -> expected: Listopad 1701s # %OB -> actual: listopad 1701s # %b -> expected: Stu 1701s # %b -> actual: stu 1701s # %Ob -> expected: Pro 1701s # %Ob -> actual: pro 1701s # %B -> expected: sausio 1701s # %B -> actual: sausio 1701s # %B -> expected: vasario 1701s # %B -> actual: vasario 1701s # %B -> expected: kovo 1701s # %B -> actual: kovo 1701s # %OB -> expected: balandis 1701s # %OB -> actual: balandis 1701s # %OB -> expected: gegužė 1701s # %OB -> actual: gegužė 1701s # %OB -> expected: birželis 1701s # %OB -> actual: birželis 1701s # %b -> expected: liep. 1701s # %b -> actual: liep. 1701s # %Ob -> expected: rugp. 1701s # %Ob -> actual: rugp. 1701s # %B -> expected: maja 1701s # %B -> actual: maja 1701s # %B -> expected: czerwca 1701s # %B -> actual: czerwca 1701s # %B -> expected: lipca 1701s # %B -> actual: lipca 1701s # %OB -> expected: sierpień 1701s # %OB -> actual: sierpień 1701s # %OB -> expected: wrzesień 1701s # %OB -> actual: wrzesień 1701s # %OB -> expected: październik 1701s # %OB -> actual: październik 1701s # %b -> expected: lis 1701s # %b -> actual: lis 1701s # %Ob -> expected: gru 1701s # %Ob -> actual: gru 1701s # %B -> expected: января 1701s # %B -> actual: января 1701s # %B -> expected: февраля 1701s # %B -> actual: февраля 1701s # %B -> expected: марта 1701s # %B -> actual: марта 1701s # %OB -> expected: Апрель 1701s # %OB -> actual: Апрель 1701s # %OB -> expected: Май 1701s # %OB -> actual: Май 1701s # %OB -> expected: Июнь 1701s # %OB -> actual: Июнь 1701s # %b -> expected: июл 1701s # %b -> actual: июл 1701s # %Ob -> expected: авг 1701s # %Ob -> actual: авг 1701s # %b -> expected: мая 1701s # %b -> actual: мая 1701s # %Ob -> expected: май 1701s # %Ob -> actual: май 1701s ok 38 /GDateTime/month_names 1701s ok 39 /GDateTime/to_local 1701s ok 40 /GDateTime/to_unix 1701s ok 41 /GDateTime/to_timeval 1701s ok 42 /GDateTime/to_utc 1701s ok 43 /GDateTime/now_utc 1701s ok 44 /GDateTime/dst 1701s # Bug Reference: http://bugzilla.gnome.org/642935 1701s ok 45 /GDateTime/test_z 1702s # Executing: glib/gdatetime.test 1703s ok 46 /GDateTime/test-all-dates 1703s # slow test /GDateTime/test-all-dates executed in 1.68 secs 1703s ok 47 /GDateTime/unix_usec 1703s # Start of new_from_unix tests 1703s # Bug Reference: http://bugzilla.gnome.org/782089 1703s ok 48 /GDateTime/new_from_unix/overflow 1703s # End of new_from_unix tests 1703s # Start of new_from_timeval tests 1703s # Bug Reference: http://bugzilla.gnome.org/782089 1703s # Maximum supported GTimeVal.tv_sec = 2147483647 1703s ok 49 /GDateTime/new_from_timeval/overflow 1703s # End of new_from_timeval tests 1703s # Start of new_from_iso8601 tests 1703s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1703s # Vector 0: 1990-11-01T10:21:17Z 1703s # Vector 1: 19901101T102117Z 1703s # Vector 2: 1970-01-01T00:00:17.12Z 1703s # Vector 3: 1970-01-01T00:00:17.1234Z 1703s # Vector 4: 1970-01-01T00:00:17.123456Z 1703s # Vector 5: 1980-02-22T12:36:00+02:00 1703s # Vector 6: 1990-12-31T15:59:60-08:00 1703s # Vector 7: 1703s # Vector 8: x 1703s # Vector 9: 123x 1703s # Vector 10: 2001-10+x 1703s # Vector 11: 1980-02-22T 1703s # Vector 12: 2001-10-08Tx 1703s # Vector 13: 2001-10-08T10:11x 1703s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1703s # Vector 15: 1980-02-22T10:36:00Zulu 1703s # Vector 16: 2T0+819855292164632335 1703s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1703s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1703s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1703s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1703s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1703s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1703s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1703s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1703s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1703s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1703s # Vector 27: 20180803T140805.446178377+0100 1703s # Vector 28: 21474836480803T140805.446178377+0100 1703s # Vector 29: 20181303T140805.446178377+0100 1703s # Vector 30: 20180003T140805.446178377+0100 1703s # Vector 31: 20180800T140805.446178377+0100 1703s # Vector 32: 20180832T140805.446178377+0100 1703s # Vector 33: 20180803T240805.446178377+0100 1703s # Vector 34: 20180803T146005.446178377+0100 1703s # Vector 35: 20180803T140863.446178377+0100 1703s # Vector 36: 20180803T140805.446178377+10000 1703s # Vector 37: -0005-01-01T00:00:00Z 1703s # Vector 38: 2018-08-06 1703s # Vector 39: 20180803T140805,446178377+0100 1703s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1703s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1703s # Vector 42: 1990-11-01T10:21:17 1703s # Vector 43: 1719W462 407777-07 1703s # Vector 44: 4011090 260528Z 1703s # Vector 45: 0000W011 228214-22 1703s ok 50 /GDateTime/new_from_iso8601/2 1703s # End of new_from_iso8601 tests 1703s # Start of format_mixed tests 1703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1703s # %b -> expected: mar 1703s # %b -> actual: Mar 1703s # %B -> expected: march 1703s # %B -> actual: March 1703s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1703s # %b -> expected: mar 1703s # %b -> actual: Mar 1703s # %B -> expected: march 1703s # %B -> actual: March 1703s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1703s # %b -> expected: Mär 1703s # %b -> actual: Mär 1703s # %B -> expected: März 1703s # %B -> actual: März 1703s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1703s # %b -> expected: Mär 1703s # %b -> actual: Mär 1703s # %B -> expected: März 1703s # %B -> actual: März 1703s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1703s # End of format_mixed tests 1703s # Start of strftime tests 1703s # %r -> expected: (null) 1703s # %r -> actual: (null) 1703s ok 55 /GDateTime/strftime/error_handling 1703s # End of strftime tests 1703s # Start of eras tests 1703s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1703s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1703s # %EC -> expected: 令和 1703s # %EC -> actual: 令和 1703s # %Ex -> expected: 令和05年06月01日 1703s # %Ex -> actual: 令和05年06月01日 1703s # %EX -> expected: 00時00分00秒 1703s # %EX -> actual: 00時00分00秒 1703s # %Ey -> expected: 05 1703s # %Ey -> actual: 05 1703s # %EY -> expected: 令和05年 1703s # %EY -> actual: 令和05年 1703s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1703s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1703s # %EC -> expected: 平成 1703s # %EC -> actual: 平成 1703s # %Ex -> expected: 平成31年04月30日 1703s # %Ex -> actual: 平成31年04月30日 1703s # %EX -> expected: 00時00分00秒 1703s # %EX -> actual: 00時00分00秒 1703s # %Ey -> expected: 31 1703s # %Ey -> actual: 31 1703s # %EY -> expected: 平成31年 1703s # %EY -> actual: 平成31年 1703s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1703s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1703s # %EC -> expected: 昭和 1703s # %EC -> actual: 昭和 1703s # %Ex -> expected: 昭和元年12月25日 1703s # %Ex -> actual: 昭和元年12月25日 1703s # %EX -> expected: 00時00分00秒 1703s # %EX -> actual: 00時00分00秒 1703s # %Ey -> expected: 01 1703s # %Ey -> actual: 01 1703s # %EY -> expected: 昭和元年 1703s # %EY -> actual: 昭和元年 1703s ok 56 /GDateTime/eras/japan 1703s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1703s # Vector 0: 1703s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1703s # 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年 1703s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1703s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1703s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1703s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1703s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1703s # Vector 8: + 1703s # Vector 9: +: 1703s # Vector 10: +:: 1703s # Vector 11: +:200 1703s # Vector 12: +:2nonsense 1703s # Vector 13: +:2nonsense: 1703s # Vector 14: +:2: 1703s # Vector 15: +:2:: 1703s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1703s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1703s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1703s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1703s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1703s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1703s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1703s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1703s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1703s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1703s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1703s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1703s # Vector 28: +:2:2020/01/01 1703s # Vector 29: +:2:2020/01/01: 1703s # Vector 30: +:2:2020/01/01:: 1703s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1703s # Vector 32: +:2:2020/01/01:+* 1703s # Vector 33: +:2:2020/01/01:+*: 1703s # Vector 34: +:2:2020/01/01:+*:: 1703s # Vector 35: +:2:2020/01/01:+*:令和 1703s # Vector 36: +:2:2020/01/01:+*:令和: 1703s # Vector 37: +:2:2020/01/01:+*:令和:; 1703s ok 58 /GDateTime/eras/parsing 1703s # End of eras tests 1703s # End of GDateTime tests 1703s # Start of GTimeZone tests 1703s ok 59 /GTimeZone/find-interval 1703s ok 60 /GTimeZone/adjust-time 1703s ok 61 /GTimeZone/no-header 1703s ok 62 /GTimeZone/no-header-identifier 1703s ok 63 /GTimeZone/posix-parse 1703s # Bug Reference: http://bugzilla.gnome.org/697715 1703s ok 64 /GTimeZone/floating-point 1703s # System time zone identifier: Etc/UTC 1703s ok 65 /GTimeZone/identifier 1703s # Vector 0: -158400 1703s # Vector 1: -10000 1703s # Vector 2: -3600 1703s # Vector 3: -61 1703s # Vector 4: -60 1703s # Vector 5: -59 1703s # Vector 6: 0 1703s # Vector 7: 59 1703s # Vector 8: 60 1703s # Vector 9: 61 1703s # Vector 10: 3600 1703s # Vector 11: 10000 1703s # Vector 12: 158400 1703s ok 66 /GTimeZone/new-offset 1703s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1703s ok 67 /GTimeZone/parse-rfc8536 1703s # /GTimeZone/caching summary: GTimeZone instances are cached 1703s ok 68 /GTimeZone/caching 1703s # End of GTimeZone tests 1703s ok - glib/gdatetime.test 1703s # Running test: glib/signals-refcount1.test 1703s TAP version 14 1703s # random seed: R02S040e6826567e1de836baa11156026976 1703s 1..1 1703s # Start of gobject tests 1703s # Start of refcount tests 1703s # init 0xf4c8a58 1703s # 1703s # init 0xf4c8bb0 1703s # 1707s # Executing: glib/signals-refcount1.test 1708s # dispose 0xf4c8a58! 1708s # 1708s # dispose 0xf4c8bb0! 1708s # 1708s ok 1 /gobject/refcount/signals 1708s # slow test /gobject/refcount/signals executed in 5.00 secs 1708s # End of refcount tests 1708s # End of gobject tests 1708s ok - glib/signals-refcount1.test 1708s # Running test: glib/keyfile.test 1708s TAP version 14 1708s # random seed: R02Saab123c24b1f09ea04280e605bdd3a3b 1708s 1..36 1708s # Start of keyfile tests 1708s ok 1 /keyfile/line-ends 1708s ok 2 /keyfile/whitespace 1708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1708s ok 3 /keyfile/comments 1708s ok 4 /keyfile/listing 1708s ok 5 /keyfile/string 1708s ok 6 /keyfile/boolean 1708s ok 7 /keyfile/number 1708s ok 8 /keyfile/locale-string 1708s ok 9 /keyfile/lists 1708s ok 10 /keyfile/lists-set-get 1708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1708s ok 11 /keyfile/group-remove 1708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1708s ok 12 /keyfile/key-remove 1708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1708s ok 13 /keyfile/groups 1708s ok 14 /keyfile/duplicate-keys 1708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1708s ok 15 /keyfile/duplicate-groups 1708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1708s ok 16 /keyfile/duplicate-groups2 1708s ok 17 /keyfile/group-names 1708s ok 18 /keyfile/key-names 1708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1708s ok 19 /keyfile/reload 1708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1708s ok 20 /keyfile/int64 1708s ok 21 /keyfile/load 1708s ok 22 /keyfile/save 1708s ok 23 /keyfile/load-fail 1708s ok 24 /keyfile/non-utf8 1708s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1708s ok 25 /keyfile/page-boundary 1708s ok 26 /keyfile/ref 1708s ok 27 /keyfile/replace-value 1708s ok 28 /keyfile/list-separator 1708s ok 29 /keyfile/empty-string 1708s ok 30 /keyfile/limbo 1708s # Testing invalid encoding ?non-UTF-8? 1708s # Testing invalid encoding ?UTF? 1708s # Testing invalid encoding ?UTF-9? 1708s ok 31 /keyfile/utf8 1708s ok 32 /keyfile/roundtrip 1708s ok 33 /keyfile/bytes 1708s ok 34 /keyfile/get-locale 1708s ok 35 /keyfile/free-when-not-last-ref 1708s # Start of locale-string tests 1708s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1708s ok 36 /keyfile/locale-string/multiple-loads 1708s # End of locale-string tests 1708s # End of keyfile tests 1708s ok - glib/keyfile.test 1708s # Running test: glib/srvtarget.test 1708s TAP version 14 1708s # random seed: R02S670c686be075c5e1d102664cf9d2d5d6 1708s 1..1 1708s # Start of srvtarget tests 1708s ok 1 /srvtarget/srv-target-ordering 1708s # slow test /srvtarget/srv-target-ordering executed in 0.64 secs 1708s # End of srvtarget tests 1708s ok - glib/srvtarget.test 1708s # Running test: glib/string.test 1708s TAP version 14 1708s # random seed: R02S849d9033b819ba405b344c7c543483a9 1708s 1..23 1708s # Start of string tests 1708s ok 1 /string/test-string-chunks 1708s ok 2 /string/test-string-chunk-insert 1708s ok 3 /string/test-string-new 1708s ok 4 /string/test-string-printf 1708s ok 5 /string/test-string-assign 1708s ok 6 /string/test-string-append-c 1708s ok 7 /string/test-string-append 1708s ok 8 /string/test-string-append-vprintf 1708s ok 9 /string/test-string-prepend-c 1708s ok 10 /string/test-string-prepend 1708s ok 11 /string/test-string-insert 1708s ok 12 /string/test-string-insert-unichar 1708s ok 13 /string/test-string-equal 1708s ok 14 /string/test-string-truncate 1708s ok 15 /string/test-string-overwrite 1708s ok 16 /string/test-string-nul-handling 1708s ok 17 /string/test-string-up-down 1708s ok 18 /string/test-string-set-size 1708s ok 19 /string/test-string-to-bytes 1708s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1708s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1708s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1708s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1708s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1708s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1708s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1708s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1708s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1708s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1708s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1708s # -> 4 replacements, "fd fr fals" 1708s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1708s # -> 3 replacements, "aaaaaaaaa" 1708s # 7: Replacing "a" with "" (limit 0) in "aaa" 1708s # -> 3 replacements, "" 1708s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1708s # -> 1 replacements, "bba" 1708s # 9: Replacing "" with "bar" (limit 0) in "foo" 1708s # -> 4 replacements, "barfbarobarobar" 1708s # 10: Replacing "" with "x" (limit 0) in "" 1708s # -> 1 replacements, "x" 1708s # 11: Replacing "" with "" (limit 0) in "" 1708s # -> 1 replacements, "" 1708s ok 20 /string/test-string-replace 1708s ok 21 /string/test-string-steal 1708s ok 22 /string/test-string-new-take 1708s # Start of test-string-new-take tests 1708s ok 23 /string/test-string-new-take/null 1708s # End of test-string-new-take tests 1708s # End of string tests 1709s ok - glib/string.test 1709s # Running test: glib/properties.test 1709s TAP version 14 1709s # random seed: R02S17218d0175042f2bddd4f44206769ec7 1709s 1..13 1709s # Start of properties tests 1709s ok 1 /properties/install 1709s ok 2 /properties/install-many 1709s ok 3 /properties/notify 1709s ok 4 /properties/notify-queue 1709s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1709s ok 5 /properties/construct 1709s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1709s # Test g_object_get_property with an initialized value 1709s # Test g_object_get_property with an uninitialized value 1709s # Test g_object_get_property with a transformable value 1709s ok 6 /properties/get-property 1709s ok 7 /properties/testv_with_no_properties 1709s ok 8 /properties/testv_with_valid_properties 1709s ok 9 /properties/testv_with_invalid_property_type 1709s ok 10 /properties/testv_with_invalid_property_names 1709s ok 11 /properties/testv_getv 1709s ok 12 /properties/testv_notify_queue 1709s # Start of set-property tests 1709s # Start of variant tests 1709s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1709s ok 13 /properties/set-property/variant/floating 1709s # End of variant tests 1709s # End of set-property tests 1709s # End of properties tests 1709s ok - glib/properties.test 1709s # Running test: glib/mainloop.test 1709s TAP version 14 1709s # random seed: R02Sdc99e4992b7b2aaf90c6d390bb87ed33 1709s 1..45 1709s # Start of maincontext tests 1709s ok 1 /maincontext/basic 1709s # Add same-priority sources: 29 1709s # Find each source: 3 1709s # Remove in random order: 45 1709s ok 2 /maincontext/nsources_same_priority 1709s # Add different-priority sources: 36 1709s # Find each source: 3 1709s # Remove in random order: 50 1709s ok 3 /maincontext/nsources_different_priority 1709s # Add sources from threads: 175 1709s # Remove sources from threads: 217 1709s ok 4 /maincontext/nsources_threadpool 1709s ok 5 /maincontext/source_finalization 1709s # /maincontext/idle-once summary: Test g_idle_add_once() works 1709s ok 6 /maincontext/idle-once 1709s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1709s ok 7 /maincontext/timeout-once 1709s # Start of source_finalization_from_source tests 1709s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1709s ok 8 /maincontext/source_finalization_from_source/0 1709s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1709s ok 9 /maincontext/source_finalization_from_source/1 1709s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1709s ok 10 /maincontext/source_finalization_from_source/2 1709s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1709s ok 11 /maincontext/source_finalization_from_source/3 1709s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1709s ok 12 /maincontext/source_finalization_from_source/4 1709s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1709s ok 13 /maincontext/source_finalization_from_source/5 1709s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1709s ok 14 /maincontext/source_finalization_from_source/6 1709s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1709s ok 15 /maincontext/source_finalization_from_source/7 1709s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1709s ok 16 /maincontext/source_finalization_from_source/8 1709s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1709s ok 17 /maincontext/source_finalization_from_source/9 1709s # End of source_finalization_from_source tests 1709s # Start of source_finalization_from_dispatch tests 1709s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1709s ok 18 /maincontext/source_finalization_from_dispatch/0 1709s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1709s ok 19 /maincontext/source_finalization_from_dispatch/1 1709s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1709s ok 20 /maincontext/source_finalization_from_dispatch/2 1709s # End of source_finalization_from_dispatch tests 1709s # End of maincontext tests 1709s # Start of mainloop tests 1709s ok 21 /mainloop/basic 1709s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1709s ok 23 /mainloop/priorities 1710s ok 24 /mainloop/invoke 1710s # slow test /mainloop/invoke executed in 0.50 secs 1710s ok 25 /mainloop/child_sources # SKIP Not reliable on older ARM hardware 1710s ok 26 /mainloop/recursive_child_sources # SKIP Not reliable on older ARM hardware 1710s ok 27 /mainloop/recursive_loop_child_sources 1710s ok 28 /mainloop/swapping_child_sources 1710s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1710s ok 29 /mainloop/blocked_child_sources 1711s ok 30 /mainloop/source_time 1711s # slow test /mainloop/source_time executed in 1.00 secs 1711s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1711s ok 31 /mainloop/overflow 1711s ok 32 /mainloop/ready-time 1711s # slow test /mainloop/ready-time executed in 0.50 secs 1711s ok 33 /mainloop/wakeup 1711s ok 34 /mainloop/remove-invalid 1711s ok 35 /mainloop/unref-while-pending 1712s # Executing: glib/mainloop.test 1712s ok 36 /mainloop/unix-fd 1712s # slow test /mainloop/unix-fd executed in 0.93 secs 1712s ok 37 /mainloop/unix-fd-source 1712s ok 38 /mainloop/source-unix-fd-api 1713s ok 39 /mainloop/wait 1713s ok 40 /mainloop/unix-file-poll 1713s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1713s ok 41 /mainloop/unix-fd-priority 1713s ok 42 /mainloop/nfds 1713s ok 43 /mainloop/steal-fd 1713s # Start of ownerless-polling tests 1713s ok 44 /mainloop/ownerless-polling/attach-first 1713s ok 45 /mainloop/ownerless-polling/pop-first 1713s # End of ownerless-polling tests 1713s # End of mainloop tests 1713s ok - glib/mainloop.test 1713s # Running test: glib/mkenums.py.test 1713s TAP version 13 1713s ok 1 __main__.TestMkenums.test_available_in 1713s # tmpdir: /tmp/tmpfrqe952e 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # /tmp/tmpfrqe952e/tmpy_jck_rq.h: 1713s # typedef enum { 1713s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1713s # } GDBusServerFlags; 1713s # 1713s # /tmp/tmpfrqe952e/tmpvu8xbw1g.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfrqe952e/tmpvu8xbw1g.template', '/tmp/tmpfrqe952e/tmpy_jck_rq.h'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # Output: comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmpfrqe952e/tmpy_jck_rq.h 1713s # basename: tmpy_jck_rq.h 1713s # enumeration-production 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-header 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-production 1713s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1713s # valuenick: user 1713s # valuenum: 4 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-tail 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1713s # tmpdir: /tmp/tmp6abqra8v 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # /tmp/tmp6abqra8v/tmprmulhhpx.h: 1713s # typedef enum { 1713s # ENUM_VALUE_WITH_COMMA = ',', 1713s # } TestCommaEnum; 1713s # 1713s # /tmp/tmp6abqra8v/tmpck_payj8.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6abqra8v/tmpck_payj8.template', '/tmp/tmp6abqra8v/tmprmulhhpx.h'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # Output: comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmp6abqra8v/tmprmulhhpx.h 1713s # basename: tmprmulhhpx.h 1713s # enumeration-production 1713s # EnumName: TestCommaEnum 1713s # enum_name: test_comma_enum 1713s # ENUMNAME: TEST_COMMA_ENUM 1713s # ENUMSHORT: COMMA_ENUM 1713s # ENUMPREFIX: TEST 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-header 1713s # EnumName: TestCommaEnum 1713s # enum_name: test_comma_enum 1713s # ENUMNAME: TEST_COMMA_ENUM 1713s # ENUMSHORT: COMMA_ENUM 1713s # ENUMPREFIX: TEST 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-production 1713s # VALUENAME: ENUM_VALUE_WITH_COMMA 1713s # valuenick: comma 1713s # valuenum: 44 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-tail 1713s # EnumName: TestCommaEnum 1713s # enum_name: test_comma_enum 1713s # ENUMNAME: TEST_COMMA_ENUM 1713s # ENUMSHORT: COMMA_ENUM 1713s # ENUMPREFIX: TEST 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s ok 3 __main__.TestMkenums.test_deprecated_in 1713s # tmpdir: /tmp/tmp1g8xgny6 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # /tmp/tmp1g8xgny6/tmp1yifxek5.h: 1713s # typedef enum { 1713s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1713s # } GDBusServerFlags; 1713s # 1713s # /tmp/tmp1g8xgny6/tmpc53i7iau.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1g8xgny6/tmpc53i7iau.template', '/tmp/tmp1g8xgny6/tmp1yifxek5.h'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # Output: comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmp1g8xgny6/tmp1yifxek5.h 1713s # basename: tmp1yifxek5.h 1713s # enumeration-production 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-header 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-production 1713s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1713s # valuenick: user 1713s # valuenum: 4 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-tail 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s ok 4 __main__.TestMkenums.test_deprecated_in_for 1713s # tmpdir: /tmp/tmp4waciy9s 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # /tmp/tmp4waciy9s/tmpg88p1qag.h: 1713s # typedef enum { 1713s # 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) 1713s # } GDBusServerFlags; 1713s # 1713s # /tmp/tmp4waciy9s/tmp248cqofw.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4waciy9s/tmp248cqofw.template', '/tmp/tmp4waciy9s/tmpg88p1qag.h'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # Output: comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmp4waciy9s/tmpg88p1qag.h 1713s # basename: tmpg88p1qag.h 1713s # enumeration-production 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-header 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-production 1713s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1713s # valuenick: user 1713s # valuenum: 4 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # value-tail 1713s # EnumName: GDBusServerFlags 1713s # enum_name: g_dbus_server_flags 1713s # ENUMNAME: G_DBUS_SERVER_FLAGS 1713s # ENUMSHORT: DBUS_SERVER_FLAGS 1713s # ENUMPREFIX: G 1713s # enumsince: 1713s # type: flags 1713s # Type: Flags 1713s # TYPE: FLAGS 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s ok 5 __main__.TestMkenums.test_empty_header 1713s # tmpdir: /tmp/tmp82gfq28q 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # /tmp/tmp82gfq28q/tmpbl47qm2l.h: 1713s # /tmp/tmp82gfq28q/tmpf8i5ksc9.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp82gfq28q/tmpf8i5ksc9.template', '/tmp/tmp82gfq28q/tmpbl47qm2l.h'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # Output: comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s ok 6 __main__.TestMkenums.test_empty_template 1713s # tmpdir: /tmp/tmpgoz4fxu7 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # /tmp/tmpgoz4fxu7/tmpc8wdud4a.template: 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgoz4fxu7/tmpc8wdud4a.template'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # 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. */ 1713s # 1713s # 1713s # /* Generated data ends here */ 1713s ok 7 __main__.TestMkenums.test_enum_name 1713s # tmpdir: /tmp/tmpkgait0a7 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # /tmp/tmpkgait0a7/tmpw7r4c2gn.h: 1713s # typedef enum _SomeEnumIdentifier { 1713s # ENUM_VALUE 1713s # } SomeEnumIdentifier; 1713s # 1713s # /tmp/tmpkgait0a7/tmpd_md6n93.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkgait0a7/tmpd_md6n93.template', '/tmp/tmpkgait0a7/tmpw7r4c2gn.h'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # Output: comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmpkgait0a7/tmpw7r4c2gn.h 1713s # basename: tmpw7r4c2gn.h 1713s # enumeration-production 1713s # EnumName: SomeEnumIdentifier 1713s # enum_name: some_enum_identifier 1713s # ENUMNAME: SOME_ENUM_IDENTIFIER 1713s # ENUMSHORT: ENUM_IDENTIFIER 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-header 1713s # EnumName: SomeEnumIdentifier 1713s # enum_name: some_enum_identifier 1713s # ENUMNAME: SOME_ENUM_IDENTIFIER 1713s # ENUMSHORT: ENUM_IDENTIFIER 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-production 1713s # VALUENAME: ENUM_VALUE 1713s # valuenick: value 1713s # valuenum: 0 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-tail 1713s # EnumName: SomeEnumIdentifier 1713s # enum_name: some_enum_identifier 1713s # ENUMNAME: SOME_ENUM_IDENTIFIER 1713s # ENUMSHORT: ENUM_IDENTIFIER 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s ok 8 __main__.TestMkenums.test_enum_private_public 1713s # tmpdir: /tmp/tmpyw8ak2oj 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # /tmp/tmpyw8ak2oj/tmptkqrhpr3.h: 1713s # typedef enum { 1713s # ENUM_VALUE_PUBLIC1, 1713s # /*< private >*/ 1713s # ENUM_VALUE_PRIVATE, 1713s # } SomeEnumA 1713s # 1713s # /tmp/tmpyw8ak2oj/tmpoynq5gdp.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyw8ak2oj/tmpoynq5gdp.template', '/tmp/tmpyw8ak2oj/tmptkqrhpr3.h'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # Output: comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmpyw8ak2oj/tmptkqrhpr3.h 1713s # basename: tmptkqrhpr3.h 1713s # enumeration-production 1713s # EnumName: SomeEnumA 1713s # enum_name: some_enum_a 1713s # ENUMNAME: SOME_ENUM_A 1713s # ENUMSHORT: ENUM_A 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-header 1713s # EnumName: SomeEnumA 1713s # enum_name: some_enum_a 1713s # ENUMNAME: SOME_ENUM_A 1713s # ENUMSHORT: ENUM_A 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-production 1713s # VALUENAME: ENUM_VALUE_PUBLIC1 1713s # valuenick: public1 1713s # valuenum: 0 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-tail 1713s # EnumName: SomeEnumA 1713s # enum_name: some_enum_a 1713s # ENUMNAME: SOME_ENUM_A 1713s # ENUMSHORT: ENUM_A 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s # /tmp/tmpyw8ak2oj/tmp_67wt94f.h: 1713s # typedef enum { 1713s # /*< private >*/ 1713s # ENUM_VALUE_PRIVATE, 1713s # /*< public >*/ 1713s # ENUM_VALUE_PUBLIC2, 1713s # } SomeEnumB; 1713s # 1713s # /tmp/tmpyw8ak2oj/tmpa2foiwc2.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyw8ak2oj/tmpa2foiwc2.template', '/tmp/tmpyw8ak2oj/tmp_67wt94f.h'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # Output: comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmpyw8ak2oj/tmp_67wt94f.h 1713s # basename: tmp_67wt94f.h 1713s # enumeration-production 1713s # EnumName: SomeEnumB 1713s # enum_name: some_enum_b 1713s # ENUMNAME: SOME_ENUM_B 1713s # ENUMSHORT: ENUM_B 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-header 1713s # EnumName: SomeEnumB 1713s # enum_name: some_enum_b 1713s # ENUMNAME: SOME_ENUM_B 1713s # ENUMSHORT: ENUM_B 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-production 1713s # VALUENAME: ENUM_VALUE_PUBLIC2 1713s # valuenick: public2 1713s # valuenum: 1 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-tail 1713s # EnumName: SomeEnumB 1713s # enum_name: some_enum_b 1713s # ENUMNAME: SOME_ENUM_B 1713s # ENUMSHORT: ENUM_B 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1713s # tmpdir: /tmp/tmpedg7f1hy 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # /tmp/tmpedg7f1hy/tmpedy7pnmz.h: 1713s # typedef enum { 1713s # /*< private >*/ 1713s # ENUM_VALUE_PRIVATE = 5, 1713s # /*< public >*/ 1713s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1713s # } TestSymbolicEnum; 1713s # 1713s # /tmp/tmpedg7f1hy/tmpbe56blhg.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpedg7f1hy/tmpbe56blhg.template', '/tmp/tmpedg7f1hy/tmpedy7pnmz.h'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # Output: comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmpedg7f1hy/tmpedy7pnmz.h 1713s # basename: tmpedy7pnmz.h 1713s # enumeration-production 1713s # EnumName: TestSymbolicEnum 1713s # enum_name: test_symbolic_enum 1713s # ENUMNAME: TEST_SYMBOLIC_ENUM 1713s # ENUMSHORT: SYMBOLIC_ENUM 1713s # ENUMPREFIX: TEST 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-header 1713s # EnumName: TestSymbolicEnum 1713s # enum_name: test_symbolic_enum 1713s # ENUMNAME: TEST_SYMBOLIC_ENUM 1713s # ENUMSHORT: SYMBOLIC_ENUM 1713s # ENUMPREFIX: TEST 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-production 1713s # VALUENAME: ENUM_VALUE_PUBLIC 1713s # valuenick: public 1713s # valuenum: 7 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-tail 1713s # EnumName: TestSymbolicEnum 1713s # enum_name: test_symbolic_enum 1713s # ENUMNAME: TEST_SYMBOLIC_ENUM 1713s # ENUMSHORT: SYMBOLIC_ENUM 1713s # ENUMPREFIX: TEST 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1713s # tmpdir: /tmp/tmpsetk8ira 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # /tmp/tmpsetk8ira/tmp_ktul6yn.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-tail ***/ 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpsetk8ira/tmp_ktul6yn.template'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # Output: comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # file-tail 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s ok 11 __main__.TestMkenums.test_help 1713s # tmpdir: /tmp/tmpatj4p6fd 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # Running: ['/usr/bin/glib-mkenums', '--help'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1713s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1713s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1713s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1713s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1713s # [--output OUTPUT] [--version] 1713s # [args ...] 1713s # 1713s # positional arguments: 1713s # args One or more input files, or a single argument 1713s # @rspfile_path pointing to a file that contains the 1713s # actual arguments 1713s # 1713s # options: 1713s # -h, --help show this help message and exit 1713s # --identifier-prefix IDPREFIX 1713s # Identifier prefix 1713s # --symbol-prefix SYMPREFIX 1713s # Symbol prefix 1713s # --fhead FHEAD Output file header 1713s # --ftail FTAIL Output file footer 1713s # --fprod FPROD Put out TEXT every time a new input file is being 1713s # processed. 1713s # --eprod EPROD Per enum text, produced prior to value iterations 1713s # --vhead VHEAD Value header, produced before iterating over enum 1713s # values 1713s # --vprod VPROD Value text, produced for each enum value. 1713s # --vtail VTAIL Value tail, produced after iterating over enum values 1713s # --comments COMMENT_TMPL 1713s # Comment structure 1713s # --template TEMPLATE Template file 1713s # --output OUTPUT 1713s # --version, -v Print version information 1713s # 1713s # Production text substitutions: 1713s # @EnumName@ PrefixTheXEnum 1713s # @enum_name@ prefix_the_xenum 1713s # @ENUMNAME@ PREFIX_THE_XENUM 1713s # @ENUMSHORT@ THE_XENUM 1713s # @ENUMPREFIX@ PREFIX 1713s # @enumsince@ the user-provided since value given 1713s # @VALUENAME@ PREFIX_THE_XVALUE 1713s # @valuenick@ the-xvalue 1713s # @valuenum@ the integer value (limited support, Since: 2.26) 1713s # @type@ either enum or flags 1713s # @Type@ either Enum or Flags 1713s # @TYPE@ either ENUM or FLAGS 1713s # @filename@ name of current input file 1713s # @basename@ base name of the current input file (Since: 2.22) 1713s ok 12 __main__.TestMkenums.test_no_args 1713s # tmpdir: /tmp/tmpuwv32h2t 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # Running: ['/usr/bin/glib-mkenums'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # 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. */ 1713s # 1713s # 1713s # /* Generated data ends here */ 1713s ok 13 __main__.TestMkenums.test_no_headers 1713s # tmpdir: /tmp/tmpe6pcekgj 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # /tmp/tmpe6pcekgj/tmpemwgih9a.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpe6pcekgj/tmpemwgih9a.template'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # Output: comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s ok 14 __main__.TestMkenums.test_no_nick 1713s # tmpdir: /tmp/tmpgqjsmfc6 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # /tmp/tmpgqjsmfc6/tmpcedegtoa.h: 1713s # typedef enum { 1713s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1713s # } GeglSamplerType; 1713s # 1713s # /tmp/tmpgqjsmfc6/tmp9zq0q07k.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgqjsmfc6/tmp9zq0q07k.template', '/tmp/tmpgqjsmfc6/tmpcedegtoa.h'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # Output: comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmpgqjsmfc6/tmpcedegtoa.h 1713s # basename: tmpcedegtoa.h 1713s # enumeration-production 1713s # EnumName: GeglSamplerType 1713s # enum_name: gegl_sampler_type 1713s # ENUMNAME: GEGL_SAMPLER_TYPE 1713s # ENUMSHORT: SAMPLER_TYPE 1713s # ENUMPREFIX: GEGL 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-header 1713s # EnumName: GeglSamplerType 1713s # enum_name: gegl_sampler_type 1713s # ENUMNAME: GEGL_SAMPLER_TYPE 1713s # ENUMSHORT: SAMPLER_TYPE 1713s # ENUMPREFIX: GEGL 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-production 1713s # VALUENAME: GEGL_SAMPLER_NEAREST 1713s # valuenick: nearest 1713s # valuenum: 0 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-tail 1713s # EnumName: GeglSamplerType 1713s # enum_name: gegl_sampler_type 1713s # ENUMNAME: GEGL_SAMPLER_TYPE 1713s # ENUMSHORT: SAMPLER_TYPE 1713s # ENUMPREFIX: GEGL 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1713s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1713s # tmpdir: /tmp/tmp2goe_v1h 1713s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1713s # /tmp/tmp2goe_v1h/tmpqv9at4wn.h: 1713s # /* Copyright © La Peña */ 1713s # typedef enum { 1713s # ENUM_VALUE 1713s # } SomeEnumIdentifier; 1713s # 1713s # /tmp/tmp2goe_v1h/tmpx0v4csq2.template: 1713s # /*** BEGIN file-header ***/ 1713s # file-header 1713s # /*** END file-header ***/ 1713s # 1713s # /*** BEGIN file-production ***/ 1713s # file-production 1713s # filename: @filename@ 1713s # basename: @basename@ 1713s # /*** END file-production ***/ 1713s # 1713s # /*** BEGIN enumeration-production ***/ 1713s # enumeration-production 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END enumeration-production ***/ 1713s # 1713s # /*** BEGIN value-header ***/ 1713s # value-header 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-header ***/ 1713s # 1713s # /*** BEGIN value-production ***/ 1713s # value-production 1713s # VALUENAME: @VALUENAME@ 1713s # valuenick: @valuenick@ 1713s # valuenum: @valuenum@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-production ***/ 1713s # 1713s # /*** BEGIN value-tail ***/ 1713s # value-tail 1713s # EnumName: @EnumName@ 1713s # enum_name: @enum_name@ 1713s # ENUMNAME: @ENUMNAME@ 1713s # ENUMSHORT: @ENUMSHORT@ 1713s # ENUMPREFIX: @ENUMPREFIX@ 1713s # enumsince: @enumsince@ 1713s # type: @type@ 1713s # Type: @Type@ 1713s # TYPE: @TYPE@ 1713s # /*** END value-tail ***/ 1713s # 1713s # /*** BEGIN comment ***/ 1713s # comment 1713s # comment: @comment@ 1713s # /*** END comment ***/ 1713s # 1713s # /*** BEGIN file-tail ***/ 1713s # file-tail 1713s # /*** END file-tail ***/ 1713s # 1713s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2goe_v1h/tmpx0v4csq2.template', '/tmp/tmp2goe_v1h/tmpqv9at4wn.h'] 1713s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1713s # Output: comment 1713s # 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. 1713s # 1713s # 1713s # file-header 1713s # file-production 1713s # filename: /tmp/tmp2goe_v1h/tmpqv9at4wn.h 1713s # basename: tmpqv9at4wn.h 1713s # enumeration-production 1713s # EnumName: SomeEnumIdentifier 1713s # enum_name: some_enum_identifier 1713s # ENUMNAME: SOME_ENUM_IDENTIFIER 1713s # ENUMSHORT: ENUM_IDENTIFIER 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-header 1713s # EnumName: SomeEnumIdentifier 1713s # enum_name: some_enum_identifier 1713s # ENUMNAME: SOME_ENUM_IDENTIFIER 1713s # ENUMSHORT: ENUM_IDENTIFIER 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-production 1713s # VALUENAME: ENUM_VALUE 1713s # valuenick: value 1713s # valuenum: 0 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # value-tail 1713s # EnumName: SomeEnumIdentifier 1713s # enum_name: some_enum_identifier 1713s # ENUMNAME: SOME_ENUM_IDENTIFIER 1713s # ENUMSHORT: ENUM_IDENTIFIER 1713s # ENUMPREFIX: SOME 1713s # enumsince: 1713s # type: enum 1713s # Type: Enum 1713s # TYPE: ENUM 1713s # file-tail 1713s # 1713s # comment 1713s # comment: Generated data ends here 1714s ok 16 __main__.TestMkenums.test_reproducible 1714s # tmpdir: /tmp/tmpuxvujfc5 1714s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1714s # /tmp/tmpuxvujfc5/tmplwbilwdk.template: template 1714s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpuxvujfc5/tmplwbilwdk.template', '/tmp/tmpuxvujfc5/tmpg0stl1201.h', '/tmp/tmpuxvujfc5/tmpgt4d2r4e2.h'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # 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. */ 1714s # 1714s # 1714s # /* Generated data ends here */ 1714s # /tmp/tmpuxvujfc5/tmpsujh78ci.template: template 1714s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpuxvujfc5/tmpsujh78ci.template', '/tmp/tmpuxvujfc5/tmpgt4d2r4e2.h', '/tmp/tmpuxvujfc5/tmpg0stl1201.h'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # 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. */ 1714s # 1714s # 1714s # /* Generated data ends here */ 1714s ok 17 __main__.TestMkenums.test_since 1714s # tmpdir: /tmp/tmpb40uhpw_ 1714s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1714s # /tmp/tmpb40uhpw_/tmpgzb0es7a.h: 1714s # typedef enum { /*< since=1.0 >*/ 1714s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1714s # } QmiWmsMessageProtocol; 1714s # 1714s # /tmp/tmpb40uhpw_/tmpmw7d4ics.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpb40uhpw_/tmpmw7d4ics.template', '/tmp/tmpb40uhpw_/tmpgzb0es7a.h'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpb40uhpw_/tmpgzb0es7a.h 1714s # basename: tmpgzb0es7a.h 1714s # enumeration-production 1714s # EnumName: QmiWmsMessageProtocol 1714s # enum_name: qmi_wms_message_protocol 1714s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1714s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1714s # ENUMPREFIX: QMI 1714s # enumsince: 1.0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: QmiWmsMessageProtocol 1714s # enum_name: qmi_wms_message_protocol 1714s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1714s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1714s # ENUMPREFIX: QMI 1714s # enumsince: 1.0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1714s # valuenick: cdma 1714s # valuenum: 0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: QmiWmsMessageProtocol 1714s # enum_name: qmi_wms_message_protocol 1714s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1714s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1714s # ENUMPREFIX: QMI 1714s # enumsince: 1.0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s ok 18 __main__.TestMkenums.test_with_double_quotes 1714s # tmpdir: /tmp/tmpdvy8kdz2 1714s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1714s # /tmp/tmpdvy8kdz2/tmpnxt0pszv.h: 1714s # typedef enum { 1714s # FOO_VALUE /*< nick="eek, a comma" >*/ 1714s # } Foo; 1714s # 1714s # /tmp/tmpdvy8kdz2/tmpsc_w5esz.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdvy8kdz2/tmpsc_w5esz.template', '/tmp/tmpdvy8kdz2/tmpnxt0pszv.h'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpdvy8kdz2/tmpnxt0pszv.h 1714s # basename: tmpnxt0pszv.h 1714s # enumeration-production 1714s # EnumName: Foo 1714s # enum_name: foo_ 1714s # ENUMNAME: FOO_ 1714s # ENUMSHORT: 1714s # ENUMPREFIX: FOO 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: Foo 1714s # enum_name: foo_ 1714s # ENUMNAME: FOO_ 1714s # ENUMSHORT: 1714s # ENUMPREFIX: FOO 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: FOO_VALUE 1714s # valuenick: eek, a comma 1714s # valuenum: 0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: Foo 1714s # enum_name: foo_ 1714s # ENUMNAME: FOO_ 1714s # ENUMSHORT: 1714s # ENUMPREFIX: FOO 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s ok 19 __main__.TestRspMkenums.test_available_in 1714s # tmpdir: /tmp/tmp_hoymfks 1714s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1714s # /tmp/tmp_hoymfks/tmpb5ey1nom.h: 1714s # typedef enum { 1714s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1714s # } GDBusServerFlags; 1714s # 1714s # /tmp/tmp_hoymfks/tmpk9d5_uvf.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmp_hoymfks/tmpk9d5_uvf.template /tmp/tmp_hoymfks/tmpb5ey1nom.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_hoymfks/tmpe3t51gen'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmp_hoymfks/tmpb5ey1nom.h 1714s # basename: tmpb5ey1nom.h 1714s # enumeration-production 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-header 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-production 1714s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1714s # valuenick: user 1714s # valuenum: 4 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-tail 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1714s # tmpdir: /tmp/tmppzs9izts 1714s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1714s # /tmp/tmppzs9izts/tmpkhmwedsr.h: 1714s # typedef enum { 1714s # ENUM_VALUE_WITH_COMMA = ',', 1714s # } TestCommaEnum; 1714s # 1714s # /tmp/tmppzs9izts/tmpg_ahh6i1.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmppzs9izts/tmpg_ahh6i1.template /tmp/tmppzs9izts/tmpkhmwedsr.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppzs9izts/tmpee41hlew'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmppzs9izts/tmpkhmwedsr.h 1714s # basename: tmpkhmwedsr.h 1714s # enumeration-production 1714s # EnumName: TestCommaEnum 1714s # enum_name: test_comma_enum 1714s # ENUMNAME: TEST_COMMA_ENUM 1714s # ENUMSHORT: COMMA_ENUM 1714s # ENUMPREFIX: TEST 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: TestCommaEnum 1714s # enum_name: test_comma_enum 1714s # ENUMNAME: TEST_COMMA_ENUM 1714s # ENUMSHORT: COMMA_ENUM 1714s # ENUMPREFIX: TEST 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: ENUM_VALUE_WITH_COMMA 1714s # valuenick: comma 1714s # valuenum: 44 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: TestCommaEnum 1714s # enum_name: test_comma_enum 1714s # ENUMNAME: TEST_COMMA_ENUM 1714s # ENUMSHORT: COMMA_ENUM 1714s # ENUMPREFIX: TEST 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s ok 21 __main__.TestRspMkenums.test_deprecated_in 1714s # tmpdir: /tmp/tmpipsnhtjb 1714s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1714s # /tmp/tmpipsnhtjb/tmpufn3oo4w.h: 1714s # typedef enum { 1714s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1714s # } GDBusServerFlags; 1714s # 1714s # /tmp/tmpipsnhtjb/tmp0g6ily0f.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpipsnhtjb/tmp0g6ily0f.template /tmp/tmpipsnhtjb/tmpufn3oo4w.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpipsnhtjb/tmp5sgvktiz'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpipsnhtjb/tmpufn3oo4w.h 1714s # basename: tmpufn3oo4w.h 1714s # enumeration-production 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-header 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-production 1714s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1714s # valuenick: user 1714s # valuenum: 4 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-tail 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1714s # tmpdir: /tmp/tmpcdiihjgr 1714s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1714s # /tmp/tmpcdiihjgr/tmp38g13_fh.h: 1714s # typedef enum { 1714s # 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) 1714s # } GDBusServerFlags; 1714s # 1714s # /tmp/tmpcdiihjgr/tmpotd5yfcs.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpcdiihjgr/tmpotd5yfcs.template /tmp/tmpcdiihjgr/tmp38g13_fh.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcdiihjgr/tmp1k2lpi6u'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpcdiihjgr/tmp38g13_fh.h 1714s # basename: tmp38g13_fh.h 1714s # enumeration-production 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-header 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-production 1714s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1714s # valuenick: user 1714s # valuenum: 4 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # value-tail 1714s # EnumName: GDBusServerFlags 1714s # enum_name: g_dbus_server_flags 1714s # ENUMNAME: G_DBUS_SERVER_FLAGS 1714s # ENUMSHORT: DBUS_SERVER_FLAGS 1714s # ENUMPREFIX: G 1714s # enumsince: 1714s # type: flags 1714s # Type: Flags 1714s # TYPE: FLAGS 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s ok 23 __main__.TestRspMkenums.test_empty_header 1714s # tmpdir: /tmp/tmpupiezjjs 1714s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1714s # /tmp/tmpupiezjjs/tmpic4wi89y.h: 1714s # /tmp/tmpupiezjjs/tmprzv5ftsc.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpupiezjjs/tmprzv5ftsc.template /tmp/tmpupiezjjs/tmpic4wi89y.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpupiezjjs/tmpq6c9mtb_'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s ok 24 __main__.TestRspMkenums.test_empty_template 1714s # tmpdir: /tmp/tmpho4s47z0 1714s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1714s # /tmp/tmpho4s47z0/tmpvj0vpdna.template: 1714s # Response file contains: --template /tmp/tmpho4s47z0/tmpvj0vpdna.template 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpho4s47z0/tmpfu3h5ffh'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # 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. */ 1714s # 1714s # 1714s # /* Generated data ends here */ 1714s ok 25 __main__.TestRspMkenums.test_enum_name 1714s # tmpdir: /tmp/tmpbm1mppjs 1714s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1714s # /tmp/tmpbm1mppjs/tmpu0oymol9.h: 1714s # typedef enum _SomeEnumIdentifier { 1714s # ENUM_VALUE 1714s # } SomeEnumIdentifier; 1714s # 1714s # /tmp/tmpbm1mppjs/tmp0f8nm_vf.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpbm1mppjs/tmp0f8nm_vf.template /tmp/tmpbm1mppjs/tmpu0oymol9.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbm1mppjs/tmpph6354e7'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpbm1mppjs/tmpu0oymol9.h 1714s # basename: tmpu0oymol9.h 1714s # enumeration-production 1714s # EnumName: SomeEnumIdentifier 1714s # enum_name: some_enum_identifier 1714s # ENUMNAME: SOME_ENUM_IDENTIFIER 1714s # ENUMSHORT: ENUM_IDENTIFIER 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: SomeEnumIdentifier 1714s # enum_name: some_enum_identifier 1714s # ENUMNAME: SOME_ENUM_IDENTIFIER 1714s # ENUMSHORT: ENUM_IDENTIFIER 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: ENUM_VALUE 1714s # valuenick: value 1714s # valuenum: 0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: SomeEnumIdentifier 1714s # enum_name: some_enum_identifier 1714s # ENUMNAME: SOME_ENUM_IDENTIFIER 1714s # ENUMSHORT: ENUM_IDENTIFIER 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s ok 26 __main__.TestRspMkenums.test_enum_private_public 1714s # tmpdir: /tmp/tmpkb5dg0ew 1714s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1714s # /tmp/tmpkb5dg0ew/tmpzf1vw8ce.h: 1714s # typedef enum { 1714s # ENUM_VALUE_PUBLIC1, 1714s # /*< private >*/ 1714s # ENUM_VALUE_PRIVATE, 1714s # } SomeEnumA 1714s # 1714s # /tmp/tmpkb5dg0ew/tmp9v8jp3rt.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpkb5dg0ew/tmp9v8jp3rt.template /tmp/tmpkb5dg0ew/tmpzf1vw8ce.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkb5dg0ew/tmprjcwvdzm'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpkb5dg0ew/tmpzf1vw8ce.h 1714s # basename: tmpzf1vw8ce.h 1714s # enumeration-production 1714s # EnumName: SomeEnumA 1714s # enum_name: some_enum_a 1714s # ENUMNAME: SOME_ENUM_A 1714s # ENUMSHORT: ENUM_A 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: SomeEnumA 1714s # enum_name: some_enum_a 1714s # ENUMNAME: SOME_ENUM_A 1714s # ENUMSHORT: ENUM_A 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: ENUM_VALUE_PUBLIC1 1714s # valuenick: public1 1714s # valuenum: 0 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: SomeEnumA 1714s # enum_name: some_enum_a 1714s # ENUMNAME: SOME_ENUM_A 1714s # ENUMSHORT: ENUM_A 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s # /tmp/tmpkb5dg0ew/tmpw50qy4fl.h: 1714s # typedef enum { 1714s # /*< private >*/ 1714s # ENUM_VALUE_PRIVATE, 1714s # /*< public >*/ 1714s # ENUM_VALUE_PUBLIC2, 1714s # } SomeEnumB; 1714s # 1714s # /tmp/tmpkb5dg0ew/tmps8x9_zbo.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmpkb5dg0ew/tmps8x9_zbo.template /tmp/tmpkb5dg0ew/tmpw50qy4fl.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkb5dg0ew/tmpsgnh4559'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmpkb5dg0ew/tmpw50qy4fl.h 1714s # basename: tmpw50qy4fl.h 1714s # enumeration-production 1714s # EnumName: SomeEnumB 1714s # enum_name: some_enum_b 1714s # ENUMNAME: SOME_ENUM_B 1714s # ENUMSHORT: ENUM_B 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: SomeEnumB 1714s # enum_name: some_enum_b 1714s # ENUMNAME: SOME_ENUM_B 1714s # ENUMSHORT: ENUM_B 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: ENUM_VALUE_PUBLIC2 1714s # valuenick: public2 1714s # valuenum: 1 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: SomeEnumB 1714s # enum_name: some_enum_b 1714s # ENUMNAME: SOME_ENUM_B 1714s # ENUMSHORT: ENUM_B 1714s # ENUMPREFIX: SOME 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1714s # tmpdir: /tmp/tmp_cg5g6a7 1714s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1714s # /tmp/tmp_cg5g6a7/tmphgfaohqj.h: 1714s # typedef enum { 1714s # /*< private >*/ 1714s # ENUM_VALUE_PRIVATE = 5, 1714s # /*< public >*/ 1714s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1714s # } TestSymbolicEnum; 1714s # 1714s # /tmp/tmp_cg5g6a7/tmpcrdpcmn2.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN file-production ***/ 1714s # file-production 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-production ***/ 1714s # 1714s # /*** BEGIN enumeration-production ***/ 1714s # enumeration-production 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END enumeration-production ***/ 1714s # 1714s # /*** BEGIN value-header ***/ 1714s # value-header 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-header ***/ 1714s # 1714s # /*** BEGIN value-production ***/ 1714s # value-production 1714s # VALUENAME: @VALUENAME@ 1714s # valuenick: @valuenick@ 1714s # valuenum: @valuenum@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-production ***/ 1714s # 1714s # /*** BEGIN value-tail ***/ 1714s # value-tail 1714s # EnumName: @EnumName@ 1714s # enum_name: @enum_name@ 1714s # ENUMNAME: @ENUMNAME@ 1714s # ENUMSHORT: @ENUMSHORT@ 1714s # ENUMPREFIX: @ENUMPREFIX@ 1714s # enumsince: @enumsince@ 1714s # type: @type@ 1714s # Type: @Type@ 1714s # TYPE: @TYPE@ 1714s # /*** END value-tail ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # /*** END file-tail ***/ 1714s # 1714s # Response file contains: --template /tmp/tmp_cg5g6a7/tmpcrdpcmn2.template /tmp/tmp_cg5g6a7/tmphgfaohqj.h 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_cg5g6a7/tmpesk2vbnu'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # file-production 1714s # filename: /tmp/tmp_cg5g6a7/tmphgfaohqj.h 1714s # basename: tmphgfaohqj.h 1714s # enumeration-production 1714s # EnumName: TestSymbolicEnum 1714s # enum_name: test_symbolic_enum 1714s # ENUMNAME: TEST_SYMBOLIC_ENUM 1714s # ENUMSHORT: SYMBOLIC_ENUM 1714s # ENUMPREFIX: TEST 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-header 1714s # EnumName: TestSymbolicEnum 1714s # enum_name: test_symbolic_enum 1714s # ENUMNAME: TEST_SYMBOLIC_ENUM 1714s # ENUMSHORT: SYMBOLIC_ENUM 1714s # ENUMPREFIX: TEST 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-production 1714s # VALUENAME: ENUM_VALUE_PUBLIC 1714s # valuenick: public 1714s # valuenum: 7 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # value-tail 1714s # EnumName: TestSymbolicEnum 1714s # enum_name: test_symbolic_enum 1714s # ENUMNAME: TEST_SYMBOLIC_ENUM 1714s # ENUMSHORT: SYMBOLIC_ENUM 1714s # ENUMPREFIX: TEST 1714s # enumsince: 1714s # type: enum 1714s # Type: Enum 1714s # TYPE: ENUM 1714s # file-tail 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1714s # tmpdir: /tmp/tmpbayijomy 1714s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1714s # /tmp/tmpbayijomy/tmpow2kiwi8.template: 1714s # /*** BEGIN file-header ***/ 1714s # file-header 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-header ***/ 1714s # 1714s # /*** BEGIN comment ***/ 1714s # comment 1714s # comment: @comment@ 1714s # /*** END comment ***/ 1714s # 1714s # /*** BEGIN file-tail ***/ 1714s # file-tail 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # /*** END file-tail ***/ 1714s # Response file contains: --template /tmp/tmpbayijomy/tmpow2kiwi8.template 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbayijomy/tmphns4rdq2'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: comment 1714s # 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. 1714s # 1714s # 1714s # file-header 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # file-tail 1714s # filename: @filename@ 1714s # basename: @basename@ 1714s # 1714s # comment 1714s # comment: Generated data ends here 1714s ok 29 __main__.TestRspMkenums.test_help 1714s # tmpdir: /tmp/tmprmpnxso8 1714s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1714s # Response file contains: --help 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprmpnxso8/tmpf8h7onhp'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1714s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1714s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1714s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1714s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1714s # [--output OUTPUT] [--version] 1714s # [args ...] 1714s # 1714s # positional arguments: 1714s # args One or more input files, or a single argument 1714s # @rspfile_path pointing to a file that contains the 1714s # actual arguments 1714s # 1714s # options: 1714s # -h, --help show this help message and exit 1714s # --identifier-prefix IDPREFIX 1714s # Identifier prefix 1714s # --symbol-prefix SYMPREFIX 1714s # Symbol prefix 1714s # --fhead FHEAD Output file header 1714s # --ftail FTAIL Output file footer 1714s # --fprod FPROD Put out TEXT every time a new input file is being 1714s # processed. 1714s # --eprod EPROD Per enum text, produced prior to value iterations 1714s # --vhead VHEAD Value header, produced before iterating over enum 1714s # values 1714s # --vprod VPROD Value text, produced for each enum value. 1714s # --vtail VTAIL Value tail, produced after iterating over enum values 1714s # --comments COMMENT_TMPL 1714s # Comment structure 1714s # --template TEMPLATE Template file 1714s # --output OUTPUT 1714s # --version, -v Print version information 1714s # 1714s # Production text substitutions: 1714s # @EnumName@ PrefixTheXEnum 1714s # @enum_name@ prefix_the_xenum 1714s # @ENUMNAME@ PREFIX_THE_XENUM 1714s # @ENUMSHORT@ THE_XENUM 1714s # @ENUMPREFIX@ PREFIX 1714s # @enumsince@ the user-provided since value given 1714s # @VALUENAME@ PREFIX_THE_XVALUE 1714s # @valuenick@ the-xvalue 1714s # @valuenum@ the integer value (limited support, Since: 2.26) 1714s # @type@ either enum or flags 1714s # @Type@ either Enum or Flags 1714s # @TYPE@ either ENUM or FLAGS 1714s # @filename@ name of current input file 1714s # @basename@ base name of the current input file (Since: 2.22) 1714s ok 30 __main__.TestRspMkenums.test_no_args 1714s # tmpdir: /tmp/tmprt331fgu 1714s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1714s # Response file contains: 1714s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprt331fgu/tmpkfdi5sz9'] 1714s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1714s # 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. */ 1714s # 1714s # 1714s # /* Generated data ends here */ 1715s ok 31 __main__.TestRspMkenums.test_no_headers 1715s # tmpdir: /tmp/tmph3fbzc5_ 1715s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1715s # /tmp/tmph3fbzc5_/tmp6wehfzxa.template: 1715s # /*** BEGIN file-header ***/ 1715s # file-header 1715s # /*** END file-header ***/ 1715s # 1715s # /*** BEGIN file-production ***/ 1715s # file-production 1715s # filename: @filename@ 1715s # basename: @basename@ 1715s # /*** END file-production ***/ 1715s # 1715s # /*** BEGIN enumeration-production ***/ 1715s # enumeration-production 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END enumeration-production ***/ 1715s # 1715s # /*** BEGIN value-header ***/ 1715s # value-header 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-header ***/ 1715s # 1715s # /*** BEGIN value-production ***/ 1715s # value-production 1715s # VALUENAME: @VALUENAME@ 1715s # valuenick: @valuenick@ 1715s # valuenum: @valuenum@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-production ***/ 1715s # 1715s # /*** BEGIN value-tail ***/ 1715s # value-tail 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-tail ***/ 1715s # 1715s # /*** BEGIN comment ***/ 1715s # comment 1715s # comment: @comment@ 1715s # /*** END comment ***/ 1715s # 1715s # /*** BEGIN file-tail ***/ 1715s # file-tail 1715s # /*** END file-tail ***/ 1715s # 1715s # Response file contains: --template /tmp/tmph3fbzc5_/tmp6wehfzxa.template 1715s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmph3fbzc5_/tmp7js6t2v0'] 1715s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # Output: comment 1715s # 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. 1715s # 1715s # 1715s # file-header 1715s # file-tail 1715s # 1715s # comment 1715s # comment: Generated data ends here 1715s ok 32 __main__.TestRspMkenums.test_no_nick 1715s # tmpdir: /tmp/tmprp4phwi_ 1715s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1715s # /tmp/tmprp4phwi_/tmpq_4hrh_j.h: 1715s # typedef enum { 1715s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1715s # } GeglSamplerType; 1715s # 1715s # /tmp/tmprp4phwi_/tmpypo63pud.template: 1715s # /*** BEGIN file-header ***/ 1715s # file-header 1715s # /*** END file-header ***/ 1715s # 1715s # /*** BEGIN file-production ***/ 1715s # file-production 1715s # filename: @filename@ 1715s # basename: @basename@ 1715s # /*** END file-production ***/ 1715s # 1715s # /*** BEGIN enumeration-production ***/ 1715s # enumeration-production 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END enumeration-production ***/ 1715s # 1715s # /*** BEGIN value-header ***/ 1715s # value-header 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-header ***/ 1715s # 1715s # /*** BEGIN value-production ***/ 1715s # value-production 1715s # VALUENAME: @VALUENAME@ 1715s # valuenick: @valuenick@ 1715s # valuenum: @valuenum@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-production ***/ 1715s # 1715s # /*** BEGIN value-tail ***/ 1715s # value-tail 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-tail ***/ 1715s # 1715s # /*** BEGIN comment ***/ 1715s # comment 1715s # comment: @comment@ 1715s # /*** END comment ***/ 1715s # 1715s # /*** BEGIN file-tail ***/ 1715s # file-tail 1715s # /*** END file-tail ***/ 1715s # 1715s # Response file contains: --template /tmp/tmprp4phwi_/tmpypo63pud.template /tmp/tmprp4phwi_/tmpq_4hrh_j.h 1715s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprp4phwi_/tmpaagcrkjk'] 1715s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # Output: comment 1715s # 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. 1715s # 1715s # 1715s # file-header 1715s # file-production 1715s # filename: /tmp/tmprp4phwi_/tmpq_4hrh_j.h 1715s # basename: tmpq_4hrh_j.h 1715s # enumeration-production 1715s # EnumName: GeglSamplerType 1715s # enum_name: gegl_sampler_type 1715s # ENUMNAME: GEGL_SAMPLER_TYPE 1715s # ENUMSHORT: SAMPLER_TYPE 1715s # ENUMPREFIX: GEGL 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-header 1715s # EnumName: GeglSamplerType 1715s # enum_name: gegl_sampler_type 1715s # ENUMNAME: GEGL_SAMPLER_TYPE 1715s # ENUMSHORT: SAMPLER_TYPE 1715s # ENUMPREFIX: GEGL 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-production 1715s # VALUENAME: GEGL_SAMPLER_NEAREST 1715s # valuenick: nearest 1715s # valuenum: 0 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-tail 1715s # EnumName: GeglSamplerType 1715s # enum_name: gegl_sampler_type 1715s # ENUMNAME: GEGL_SAMPLER_TYPE 1715s # ENUMSHORT: SAMPLER_TYPE 1715s # ENUMPREFIX: GEGL 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # file-tail 1715s # 1715s # comment 1715s # comment: Generated data ends here 1715s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1715s # tmpdir: /tmp/tmp1pidfcv7 1715s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1715s # /tmp/tmp1pidfcv7/tmp8hgpfd85.h: 1715s # /* Copyright © La Peña */ 1715s # typedef enum { 1715s # ENUM_VALUE 1715s # } SomeEnumIdentifier; 1715s # 1715s # /tmp/tmp1pidfcv7/tmpjtgmvdkb.template: 1715s # /*** BEGIN file-header ***/ 1715s # file-header 1715s # /*** END file-header ***/ 1715s # 1715s # /*** BEGIN file-production ***/ 1715s # file-production 1715s # filename: @filename@ 1715s # basename: @basename@ 1715s # /*** END file-production ***/ 1715s # 1715s # /*** BEGIN enumeration-production ***/ 1715s # enumeration-production 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END enumeration-production ***/ 1715s # 1715s # /*** BEGIN value-header ***/ 1715s # value-header 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-header ***/ 1715s # 1715s # /*** BEGIN value-production ***/ 1715s # value-production 1715s # VALUENAME: @VALUENAME@ 1715s # valuenick: @valuenick@ 1715s # valuenum: @valuenum@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-production ***/ 1715s # 1715s # /*** BEGIN value-tail ***/ 1715s # value-tail 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-tail ***/ 1715s # 1715s # /*** BEGIN comment ***/ 1715s # comment 1715s # comment: @comment@ 1715s # /*** END comment ***/ 1715s # 1715s # /*** BEGIN file-tail ***/ 1715s # file-tail 1715s # /*** END file-tail ***/ 1715s # 1715s # Response file contains: --template /tmp/tmp1pidfcv7/tmpjtgmvdkb.template /tmp/tmp1pidfcv7/tmp8hgpfd85.h 1715s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1pidfcv7/tmp2k6c8m8x'] 1715s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # Output: comment 1715s # 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. 1715s # 1715s # 1715s # file-header 1715s # file-production 1715s # filename: /tmp/tmp1pidfcv7/tmp8hgpfd85.h 1715s # basename: tmp8hgpfd85.h 1715s # enumeration-production 1715s # EnumName: SomeEnumIdentifier 1715s # enum_name: some_enum_identifier 1715s # ENUMNAME: SOME_ENUM_IDENTIFIER 1715s # ENUMSHORT: ENUM_IDENTIFIER 1715s # ENUMPREFIX: SOME 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-header 1715s # EnumName: SomeEnumIdentifier 1715s # enum_name: some_enum_identifier 1715s # ENUMNAME: SOME_ENUM_IDENTIFIER 1715s # ENUMSHORT: ENUM_IDENTIFIER 1715s # ENUMPREFIX: SOME 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-production 1715s # VALUENAME: ENUM_VALUE 1715s # valuenick: value 1715s # valuenum: 0 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-tail 1715s # EnumName: SomeEnumIdentifier 1715s # enum_name: some_enum_identifier 1715s # ENUMNAME: SOME_ENUM_IDENTIFIER 1715s # ENUMSHORT: ENUM_IDENTIFIER 1715s # ENUMPREFIX: SOME 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # file-tail 1715s # 1715s # comment 1715s # comment: Generated data ends here 1715s ok 34 __main__.TestRspMkenums.test_reproducible 1715s # tmpdir: /tmp/tmp7emnqil7 1715s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1715s # /tmp/tmp7emnqil7/tmpf258ivt9.template: template 1715s # Response file contains: --template /tmp/tmp7emnqil7/tmpf258ivt9.template /tmp/tmp7emnqil7/tmp4gvacm991.h /tmp/tmp7emnqil7/tmp9raijui82.h 1715s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7emnqil7/tmp33tlw10s'] 1715s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # 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. */ 1715s # 1715s # 1715s # /* Generated data ends here */ 1715s # /tmp/tmp7emnqil7/tmpqdetlduq.template: template 1715s # Response file contains: --template /tmp/tmp7emnqil7/tmpqdetlduq.template /tmp/tmp7emnqil7/tmp9raijui82.h /tmp/tmp7emnqil7/tmp4gvacm991.h 1715s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7emnqil7/tmpj6e_smt0'] 1715s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # 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. */ 1715s # 1715s # 1715s # /* Generated data ends here */ 1715s ok 35 __main__.TestRspMkenums.test_since 1715s # tmpdir: /tmp/tmpldkzdlbi 1715s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1715s # /tmp/tmpldkzdlbi/tmp9o5asrcf.h: 1715s # typedef enum { /*< since=1.0 >*/ 1715s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1715s # } QmiWmsMessageProtocol; 1715s # 1715s # /tmp/tmpldkzdlbi/tmp_mzyl57d.template: 1715s # /*** BEGIN file-header ***/ 1715s # file-header 1715s # /*** END file-header ***/ 1715s # 1715s # /*** BEGIN file-production ***/ 1715s # file-production 1715s # filename: @filename@ 1715s # basename: @basename@ 1715s # /*** END file-production ***/ 1715s # 1715s # /*** BEGIN enumeration-production ***/ 1715s # enumeration-production 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END enumeration-production ***/ 1715s # 1715s # /*** BEGIN value-header ***/ 1715s # value-header 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-header ***/ 1715s # 1715s # /*** BEGIN value-production ***/ 1715s # value-production 1715s # VALUENAME: @VALUENAME@ 1715s # valuenick: @valuenick@ 1715s # valuenum: @valuenum@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-production ***/ 1715s # 1715s # /*** BEGIN value-tail ***/ 1715s # value-tail 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-tail ***/ 1715s # 1715s # /*** BEGIN comment ***/ 1715s # comment 1715s # comment: @comment@ 1715s # /*** END comment ***/ 1715s # 1715s # /*** BEGIN file-tail ***/ 1715s # file-tail 1715s # /*** END file-tail ***/ 1715s # 1715s # Response file contains: --template /tmp/tmpldkzdlbi/tmp_mzyl57d.template /tmp/tmpldkzdlbi/tmp9o5asrcf.h 1715s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpldkzdlbi/tmp_5sm05v4'] 1715s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # Output: comment 1715s # 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. 1715s # 1715s # 1715s # file-header 1715s # file-production 1715s # filename: /tmp/tmpldkzdlbi/tmp9o5asrcf.h 1715s # basename: tmp9o5asrcf.h 1715s # enumeration-production 1715s # EnumName: QmiWmsMessageProtocol 1715s # enum_name: qmi_wms_message_protocol 1715s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1715s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1715s # ENUMPREFIX: QMI 1715s # enumsince: 1.0 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-header 1715s # EnumName: QmiWmsMessageProtocol 1715s # enum_name: qmi_wms_message_protocol 1715s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1715s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1715s # ENUMPREFIX: QMI 1715s # enumsince: 1.0 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-production 1715s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1715s # valuenick: cdma 1715s # valuenum: 0 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-tail 1715s # EnumName: QmiWmsMessageProtocol 1715s # enum_name: qmi_wms_message_protocol 1715s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1715s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1715s # ENUMPREFIX: QMI 1715s # enumsince: 1.0 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # file-tail 1715s # 1715s # comment 1715s # comment: Generated data ends here 1715s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1715s # tmpdir: /tmp/tmprfz1piim 1715s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1715s # /tmp/tmprfz1piim/tmp67io1n23.h: 1715s # typedef enum { 1715s # FOO_VALUE /*< nick="eek, a comma" >*/ 1715s # } Foo; 1715s # 1715s # /tmp/tmprfz1piim/tmp4ihxhvyj.template: 1715s # /*** BEGIN file-header ***/ 1715s # file-header 1715s # /*** END file-header ***/ 1715s # 1715s # /*** BEGIN file-production ***/ 1715s # file-production 1715s # filename: @filename@ 1715s # basename: @basename@ 1715s # /*** END file-production ***/ 1715s # 1715s # /*** BEGIN enumeration-production ***/ 1715s # enumeration-production 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END enumeration-production ***/ 1715s # 1715s # /*** BEGIN value-header ***/ 1715s # value-header 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-header ***/ 1715s # 1715s # /*** BEGIN value-production ***/ 1715s # value-production 1715s # VALUENAME: @VALUENAME@ 1715s # valuenick: @valuenick@ 1715s # valuenum: @valuenum@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-production ***/ 1715s # 1715s # /*** BEGIN value-tail ***/ 1715s # value-tail 1715s # EnumName: @EnumName@ 1715s # enum_name: @enum_name@ 1715s # ENUMNAME: @ENUMNAME@ 1715s # ENUMSHORT: @ENUMSHORT@ 1715s # ENUMPREFIX: @ENUMPREFIX@ 1715s # enumsince: @enumsince@ 1715s # type: @type@ 1715s # Type: @Type@ 1715s # TYPE: @TYPE@ 1715s # /*** END value-tail ***/ 1715s # 1715s # /*** BEGIN comment ***/ 1715s # comment 1715s # comment: @comment@ 1715s # /*** END comment ***/ 1715s # 1715s # /*** BEGIN file-tail ***/ 1715s # file-tail 1715s # /*** END file-tail ***/ 1715s # 1715s # Response file contains: --template /tmp/tmprfz1piim/tmp4ihxhvyj.template /tmp/tmprfz1piim/tmp67io1n23.h 1715s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprfz1piim/tmp5hkm2h7y'] 1715s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # Output: comment 1715s # 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. 1715s # 1715s # 1715s # file-header 1715s # file-production 1715s # filename: /tmp/tmprfz1piim/tmp67io1n23.h 1715s # basename: tmp67io1n23.h 1715s # enumeration-production 1715s # EnumName: Foo 1715s # enum_name: foo_ 1715s # ENUMNAME: FOO_ 1715s # ENUMSHORT: 1715s # ENUMPREFIX: FOO 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-header 1715s # EnumName: Foo 1715s # enum_name: foo_ 1715s # ENUMNAME: FOO_ 1715s # ENUMSHORT: 1715s # ENUMPREFIX: FOO 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-production 1715s # VALUENAME: FOO_VALUE 1715s # valuenick: eek, a comma 1715s # valuenum: 0 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # value-tail 1715s # EnumName: Foo 1715s # enum_name: foo_ 1715s # ENUMNAME: FOO_ 1715s # ENUMSHORT: 1715s # ENUMPREFIX: FOO 1715s # enumsince: 1715s # type: enum 1715s # Type: Enum 1715s # TYPE: ENUM 1715s # file-tail 1715s # 1715s # comment 1715s # comment: Generated data ends here 1715s 1..36 1715s ok - glib/mkenums.py.test 1715s # Running test: glib/overflow.test 1715s TAP version 14 1715s # random seed: R02S3b9c0cacd1453c4eb84eee1205f66985 1715s 1..6 1715s # Start of glib tests 1715s # Start of checked-math tests 1715s ok 1 /glib/checked-math/guint-add 1715s ok 2 /glib/checked-math/guint-mul 1715s ok 3 /glib/checked-math/guint64-add 1715s ok 4 /glib/checked-math/guint64-mul 1715s ok 5 /glib/checked-math/gsize-add 1715s ok 6 /glib/checked-math/gsize-mul 1715s # End of checked-math tests 1715s # End of glib tests 1715s ok - glib/overflow.test 1715s # Running test: glib/genmarshal.py.test 1715s TAP version 13 1715s ok 1 __main__.TestGenmarshal.test_empty_list 1715s # tmpdir: /tmp/tmppe0eh_uu 1715s # genmarshal: /usr/bin/glib-genmarshal 1715s # /tmp/tmppe0eh_uu/tmp592gocvp.list: 1715s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmppe0eh_uu/tmp592gocvp.list', '--header', '--quiet'] 1715s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # 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. */ 1715s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1715s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1715s # 1715s # #include 1715s # 1715s # G_BEGIN_DECLS 1715s # 1715s # 1715s # G_END_DECLS 1715s # 1715s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1715s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmppe0eh_uu/tmp592gocvp.list', '--body', '--quiet'] 1715s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # 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. */ 1715s # #include 1715s # 1715s # #ifdef G_ENABLE_DEBUG 1715s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1715s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1715s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1715s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1715s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1715s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1715s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1715s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1715s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1715s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1715s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1715s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1715s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1715s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1715s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1715s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1715s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1715s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1715s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1715s # #else /* !G_ENABLE_DEBUG */ 1715s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1715s # * Do not access GValues directly in your code. Instead, use the 1715s # * g_value_get_*() functions 1715s # */ 1715s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1715s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1715s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1715s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1715s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1715s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1715s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1715s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1715s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1715s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1715s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1715s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1715s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1715s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1715s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1715s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1715s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1715s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1715s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1715s # #endif /* !G_ENABLE_DEBUG */ 1715s ok 2 __main__.TestGenmarshal.test_help 1715s # tmpdir: /tmp/tmpaiawwe9s 1715s # genmarshal: /usr/bin/glib-genmarshal 1715s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1715s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1715s # [--internal] [--valist-marshallers] [-v] 1715s # [--g-fatal-warnings] [--include-header [HEADER]] 1715s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1715s # [--prototypes] [--header] [--body] [--stdinc | 1715s # --nostdinc] [--quiet | --verbose] 1715s # [FILE ...] 1715s # 1715s # Generate signal marshallers for GObject 1715s # 1715s # positional arguments: 1715s # FILE Files with lists of marshallers to generate, or "-" 1715s # for standard input 1715s # 1715s # options: 1715s # -h, --help show this help message and exit 1715s # --prefix STRING Specify marshaller prefix 1715s # --output FILE Write output into the specified file 1715s # --skip-source Skip source location comments 1715s # --internal Mark generated functions as internal 1715s # --valist-marshallers Generate va_list marshallers 1715s # -v, --version Print version information, and exit 1715s # --g-fatal-warnings Make warnings fatal 1715s # --include-header [HEADER] 1715s # Include the specified header in the body 1715s # --pragma-once Use "pragma once" as the inclusion guard 1715s # -D CPP_DEFINES Pre-processor define 1715s # -U CPP_UNDEFINES Pre-processor undefine 1715s # --prototypes Generate the marshallers prototype in the C code 1715s # --header Generate C headers 1715s # --body Generate C code 1715s # --stdinc Include standard marshallers 1715s # --nostdinc Use standard marshallers 1715s # --quiet Only print warnings and errors 1715s # --verbose Be verbose, and include debugging information 1715s ok 3 __main__.TestGenmarshal.test_no_args 1715s # tmpdir: /tmp/tmp1nzolkbt 1715s # genmarshal: /usr/bin/glib-genmarshal 1715s # Running: ['/usr/bin/glib-genmarshal'] 1715s # 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1715s # Output: 1716s ok 4 __main__.TestGenmarshal.test_void_boolean 1716s # tmpdir: /tmp/tmpm0jvtb1_ 1716s # genmarshal: /usr/bin/glib-genmarshal 1716s # /tmp/tmpm0jvtb1_/tmpjlt2bwbv.list: VOID:BOOLEAN 1716s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpm0jvtb1_/tmpjlt2bwbv.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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/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/tmpm0jvtb1_/tmpjlt2bwbv.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/tmpm0jvtb1_/tmpjlt2bwbv.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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/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 5 __main__.TestGenmarshal.test_void_boolean_int64 1716s # tmpdir: /tmp/tmpzxrawhxa 1716s # genmarshal: /usr/bin/glib-genmarshal 1716s # /tmp/tmpzxrawhxa/tmpqzeq3use.list: VOID:BOOLEAN,INT64 1716s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzxrawhxa/tmpqzeq3use.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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/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,INT64 (/tmp/tmpzxrawhxa/tmpqzeq3use.list:1) */ 1716s # extern 1716s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1716s # GValue *return_value, 1716s # guint n_param_values, 1716s # const GValue *param_values, 1716s # gpointer invocation_hint, 1716s # gpointer marshal_data); 1716s # 1716s # 1716s # G_END_DECLS 1716s # 1716s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1716s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzxrawhxa/tmpqzeq3use.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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/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 # 1716s # /* VOID:BOOLEAN,INT64 (/tmp/tmpzxrawhxa/tmpqzeq3use.list:1) */ 1716s # void 1716s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1716s # GValue *return_value G_GNUC_UNUSED, 1716s # guint n_param_values, 1716s # const GValue *param_values, 1716s # gpointer invocation_hint G_GNUC_UNUSED, 1716s # gpointer marshal_data) 1716s # { 1716s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1716s # gboolean arg1, 1716s # gint64 arg2, 1716s # gpointer data2); 1716s # GCClosure *cc = (GCClosure *) closure; 1716s # gpointer data1, data2; 1716s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1716s # 1716s # g_return_if_fail (n_param_values == 3); 1716s # 1716s # if (G_CCLOSURE_SWAP_DATA (closure)) 1716s # { 1716s # data1 = closure->data; 1716s # data2 = g_value_peek_pointer (param_values + 0); 1716s # } 1716s # else 1716s # { 1716s # data1 = g_value_peek_pointer (param_values + 0); 1716s # data2 = closure->data; 1716s # } 1716s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1716s # 1716s # callback (data1, 1716s # g_marshal_value_peek_boolean (param_values + 1), 1716s # g_marshal_value_peek_int64 (param_values + 2), 1716s # data2); 1716s # } 1716s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1716s # tmpdir: /tmp/tmp_5jelqvd 1716s # genmarshal: /usr/bin/glib-genmarshal 1716s # /tmp/tmp_5jelqvd/tmprm3pxw2a.list: VOID:PARAM 1716s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_5jelqvd/tmprm3pxw2a.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/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 # G_BEGIN_DECLS 1716s # 1716s # /* VOID:PARAM (/tmp/tmp_5jelqvd/tmprm3pxw2a.list:1) */ 1716s # extern 1716s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1716s # GValue *return_value, 1716s # guint n_param_values, 1716s # const GValue *param_values, 1716s # gpointer invocation_hint, 1716s # gpointer marshal_data); 1716s # extern 1716s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1716s # GValue *return_value, 1716s # gpointer instance, 1716s # va_list args, 1716s # gpointer marshal_data, 1716s # int n_params, 1716s # GType *param_types); 1716s # 1716s # 1716s # G_END_DECLS 1716s # 1716s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1716s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_5jelqvd/tmprm3pxw2a.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/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 # #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 # 1716s # /* VOID:PARAM (/tmp/tmp_5jelqvd/tmprm3pxw2a.list:1) */ 1716s # void 1716s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1716s # GValue *return_value G_GNUC_UNUSED, 1716s # guint n_param_values, 1716s # const GValue *param_values, 1716s # gpointer invocation_hint G_GNUC_UNUSED, 1716s # gpointer marshal_data) 1716s # { 1716s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1716s # gpointer arg1, 1716s # gpointer data2); 1716s # GCClosure *cc = (GCClosure *) closure; 1716s # gpointer data1, data2; 1716s # GMarshalFunc_VOID__PARAM callback; 1716s # 1716s # g_return_if_fail (n_param_values == 2); 1716s # 1716s # if (G_CCLOSURE_SWAP_DATA (closure)) 1716s # { 1716s # data1 = closure->data; 1716s # data2 = g_value_peek_pointer (param_values + 0); 1716s # } 1716s # else 1716s # { 1716s # data1 = g_value_peek_pointer (param_values + 0); 1716s # data2 = closure->data; 1716s # } 1716s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1716s # 1716s # callback (data1, 1716s # g_marshal_value_peek_param (param_values + 1), 1716s # data2); 1716s # } 1716s # 1716s # void 1716s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1716s # GValue *return_value G_GNUC_UNUSED, 1716s # gpointer instance, 1716s # va_list args, 1716s # gpointer marshal_data, 1716s # int n_params, 1716s # GType *param_types) 1716s # { 1716s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1716s # gpointer arg1, 1716s # gpointer data2); 1716s # GCClosure *cc = (GCClosure *) closure; 1716s # gpointer data1, data2; 1716s # GMarshalFunc_VOID__PARAM callback; 1716s # gpointer arg0; 1716s # va_list args_copy; 1716s # 1716s # va_copy (args_copy, args); 1716s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1716s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1716s # arg0 = g_param_spec_ref (arg0); 1716s # va_end (args_copy); 1716s # 1716s # 1716s # if (G_CCLOSURE_SWAP_DATA (closure)) 1716s # { 1716s # data1 = closure->data; 1716s # data2 = instance; 1716s # } 1716s # else 1716s # { 1716s # data1 = instance; 1716s # data2 = closure->data; 1716s # } 1716s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1716s # 1716s # callback (data1, 1716s # arg0, 1716s # data2); 1716s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1716s # g_param_spec_unref (arg0); 1716s # } 1716s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1716s # tmpdir: /tmp/tmpha3n400l 1716s # genmarshal: /usr/bin/glib-genmarshal 1716s # /tmp/tmpha3n400l/tmprown_v5t.list: VOID:STRING 1716s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpha3n400l/tmprown_v5t.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/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 # G_BEGIN_DECLS 1716s # 1716s # /* VOID:STRING (/tmp/tmpha3n400l/tmprown_v5t.list:1) */ 1716s # extern 1716s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1716s # GValue *return_value, 1716s # guint n_param_values, 1716s # const GValue *param_values, 1716s # gpointer invocation_hint, 1716s # gpointer marshal_data); 1716s # extern 1716s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1716s # GValue *return_value, 1716s # gpointer instance, 1716s # va_list args, 1716s # gpointer marshal_data, 1716s # int n_params, 1716s # GType *param_types); 1716s # 1716s # 1716s # G_END_DECLS 1716s # 1716s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1716s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpha3n400l/tmprown_v5t.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/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 # #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 # 1716s # /* VOID:STRING (/tmp/tmpha3n400l/tmprown_v5t.list:1) */ 1716s # void 1716s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1716s # GValue *return_value G_GNUC_UNUSED, 1716s # guint n_param_values, 1716s # const GValue *param_values, 1716s # gpointer invocation_hint G_GNUC_UNUSED, 1716s # gpointer marshal_data) 1716s # { 1716s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1716s # gpointer arg1, 1716s # gpointer data2); 1716s # GCClosure *cc = (GCClosure *) closure; 1716s # gpointer data1, data2; 1716s # GMarshalFunc_VOID__STRING callback; 1716s # 1716s # g_return_if_fail (n_param_values == 2); 1716s # 1716s # if (G_CCLOSURE_SWAP_DATA (closure)) 1716s # { 1716s # data1 = closure->data; 1716s # data2 = g_value_peek_pointer (param_values + 0); 1716s # } 1716s # else 1716s # { 1716s # data1 = g_value_peek_pointer (param_values + 0); 1716s # data2 = closure->data; 1716s # } 1716s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1716s # 1716s # callback (data1, 1716s # g_marshal_value_peek_string (param_values + 1), 1716s # data2); 1716s # } 1716s # 1716s # void 1716s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1716s # GValue *return_value G_GNUC_UNUSED, 1716s # gpointer instance, 1716s # va_list args, 1716s # gpointer marshal_data, 1716s # int n_params, 1716s # GType *param_types) 1716s # { 1716s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1716s # gpointer arg1, 1716s # gpointer data2); 1716s # GCClosure *cc = (GCClosure *) closure; 1716s # gpointer data1, data2; 1716s # GMarshalFunc_VOID__STRING callback; 1716s # gpointer arg0; 1716s # va_list args_copy; 1716s # 1716s # va_copy (args_copy, args); 1716s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1716s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1716s # arg0 = g_strdup (arg0); 1716s # va_end (args_copy); 1716s # 1716s # 1716s # if (G_CCLOSURE_SWAP_DATA (closure)) 1716s # { 1716s # data1 = closure->data; 1716s # data2 = instance; 1716s # } 1716s # else 1716s # { 1716s # data1 = instance; 1716s # data2 = closure->data; 1716s # } 1716s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1716s # 1716s # callback (data1, 1716s # arg0, 1716s # data2); 1716s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1716s # g_free (arg0); 1716s # } 1716s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1716s # tmpdir: /tmp/tmpzpwhk8zh 1716s # genmarshal: /usr/bin/glib-genmarshal 1716s # /tmp/tmpzpwhk8zh/tmp48tjbak6.list: VOID:VARIANT 1716s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzpwhk8zh/tmp48tjbak6.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/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 # G_BEGIN_DECLS 1716s # 1716s # /* VOID:VARIANT (/tmp/tmpzpwhk8zh/tmp48tjbak6.list:1) */ 1716s # extern 1716s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1716s # GValue *return_value, 1716s # guint n_param_values, 1716s # const GValue *param_values, 1716s # gpointer invocation_hint, 1716s # gpointer marshal_data); 1716s # extern 1716s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1716s # GValue *return_value, 1716s # gpointer instance, 1716s # va_list args, 1716s # gpointer marshal_data, 1716s # int n_params, 1716s # GType *param_types); 1716s # 1716s # 1716s # G_END_DECLS 1716s # 1716s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1716s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzpwhk8zh/tmp48tjbak6.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 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': 'python3-defaults/3.13.1-1~exp2', 'XDG_SESSION_TYPE': 'unspecified', 'AUTOPKGTEST_TEST_ARCH': 'armhf', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yE460e54Rz,guid=5b2192cc38dd5cd1ade8c64f677800e3', 'AUTOPKGTEST_TESTBED_ARCH': 'armhf', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.zVLjS5/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.zVLjS5/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.zVLjS5/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Sf6SjRb9Yj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.P4ri5A/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.zVLjS5/build.dX0/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.zVLjS5/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 # #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 # 1716s # /* VOID:VARIANT (/tmp/tmpzpwhk8zh/tmp48tjbak6.list:1) */ 1716s # void 1716s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1716s # GValue *return_value G_GNUC_UNUSED, 1716s # guint n_param_values, 1716s # const GValue *param_values, 1716s # gpointer invocation_hint G_GNUC_UNUSED, 1716s # gpointer marshal_data) 1716s # { 1716s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1716s # gpointer arg1, 1716s # gpointer data2); 1716s # GCClosure *cc = (GCClosure *) closure; 1716s # gpointer data1, data2; 1716s # GMarshalFunc_VOID__VARIANT callback; 1716s # 1716s # g_return_if_fail (n_param_values == 2); 1716s # 1716s # if (G_CCLOSURE_SWAP_DATA (closure)) 1716s # { 1716s # data1 = closure->data; 1716s # data2 = g_value_peek_pointer (param_values + 0); 1716s # } 1716s # else 1716s # { 1716s # data1 = g_value_peek_pointer (param_values + 0); 1716s # data2 = closure->data; 1716s # } 1716s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1716s # 1716s # callback (data1, 1716s # g_marshal_value_peek_variant (param_values + 1), 1716s # data2); 1716s # } 1716s # 1716s # void 1716s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1716s # GValue *return_value G_GNUC_UNUSED, 1716s # gpointer instance, 1716s # va_list args, 1716s # gpointer marshal_data, 1716s # int n_params, 1716s # GType *param_types) 1716s # { 1716s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1716s # gpointer arg1, 1716s # gpointer data2); 1716s # GCClosure *cc = (GCClosure *) closure; 1716s # gpointer data1, data2; 1716s # GMarshalFunc_VOID__VARIANT callback; 1716s # gpointer arg0; 1716s # va_list args_copy; 1716s # 1716s # va_copy (args_copy, args); 1716s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1716s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1716s # arg0 = g_variant_ref_sink (arg0); 1716s # va_end (args_copy); 1716s # 1716s # 1716s # if (G_CCLOSURE_SWAP_DATA (closure)) 1716s # { 1716s # data1 = closure->data; 1716s # data2 = instance; 1716s # } 1716s # else 1716s # { 1716s # data1 = instance; 1716s # data2 = closure->data; 1716s # } 1716s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1716s # 1716s # callback (data1, 1716s # arg0, 1716s # data2); 1716s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1716s # g_variant_unref (arg0); 1716s # } 1716s 1..8 1716s ok - glib/genmarshal.py.test 1716s # Running test: glib/tree.test 1716s TAP version 14 1716s # random seed: R02S48447e052f063be0f27a649f0bc75126 1716s 1..7 1716s # Start of tree tests 1716s ok 1 /tree/search 1716s ok 2 /tree/remove 1716s ok 3 /tree/destroy 1716s ok 4 /tree/traverse 1716s ok 5 /tree/insert 1716s ok 6 /tree/bounds 1716s ok 7 /tree/remove-all 1716s # End of tree tests 1716s ok - glib/tree.test 1716s # Running test: glib/rec-mutex.test 1716s TAP version 14 1716s # random seed: R02S3b47679f73759e6b57f6c559118d6bc2 1716s 1..29 1716s # Start of thread tests 1716s ok 1 /thread/rec-mutex1 1716s ok 2 /thread/rec-mutex2 1716s ok 3 /thread/rec-mutex3 1716s ok 4 /thread/rec-mutex4 1716s # Start of rec-mutex tests 1716s # Start of perf tests 1716s # Start of uncontended tests 1716s # max perf: 1.000000 mips 1716s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1716s # max perf: inf mips 1716s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1716s # max perf: 1.000000 mips 1716s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1716s # max perf: inf mips 1716s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1716s # max perf: 1.000000 mips 1716s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1716s # End of uncontended tests 1716s # Start of contended1 tests 1716s # max perf: inf mips 1716s ok 10 /thread/rec-mutex/perf/contended1/depth1 1716s # max perf: 2.000000 mips 1716s ok 11 /thread/rec-mutex/perf/contended1/depth2 1716s # max perf: inf mips 1716s ok 12 /thread/rec-mutex/perf/contended1/depth3 1716s # max perf: 2.000000 mips 1716s ok 13 /thread/rec-mutex/perf/contended1/depth4 1716s # max perf: 2.000000 mips 1716s ok 14 /thread/rec-mutex/perf/contended1/depth5 1716s # End of contended1 tests 1716s # Start of contended2 tests 1716s # max perf: inf mips 1716s ok 15 /thread/rec-mutex/perf/contended2/depth1 1716s # max perf: 3.000000 mips 1716s ok 16 /thread/rec-mutex/perf/contended2/depth2 1716s # max perf: 3.000000 mips 1716s ok 17 /thread/rec-mutex/perf/contended2/depth3 1716s # max perf: inf mips 1716s ok 18 /thread/rec-mutex/perf/contended2/depth4 1716s # max perf: inf mips 1716s ok 19 /thread/rec-mutex/perf/contended2/depth5 1716s # End of contended2 tests 1716s # Start of contended3 tests 1716s # max perf: inf mips 1716s ok 20 /thread/rec-mutex/perf/contended3/depth1 1716s # max perf: 2.000000 mips 1716s ok 21 /thread/rec-mutex/perf/contended3/depth2 1716s # max perf: 2.000000 mips 1716s ok 22 /thread/rec-mutex/perf/contended3/depth3 1716s # max perf: 1.333333 mips 1716s ok 23 /thread/rec-mutex/perf/contended3/depth4 1716s # max perf: 1.333333 mips 1716s ok 24 /thread/rec-mutex/perf/contended3/depth5 1716s # End of contended3 tests 1716s # Start of contended4 tests 1716s # max perf: 2.500000 mips 1716s ok 25 /thread/rec-mutex/perf/contended4/depth1 1716s # max perf: 1.666667 mips 1716s ok 26 /thread/rec-mutex/perf/contended4/depth2 1716s # max perf: 1.666667 mips 1716s ok 27 /thread/rec-mutex/perf/contended4/depth3 1716s # max perf: 1.666667 mips 1716s ok 28 /thread/rec-mutex/perf/contended4/depth4 1716s # max perf: 1.666667 mips 1716s ok 29 /thread/rec-mutex/perf/contended4/depth5 1716s # End of contended4 tests 1716s # End of perf tests 1716s # End of rec-mutex tests 1716s # End of thread tests 1716s ok - glib/rec-mutex.test 1716s # Running test: glib/utils-c-99.test 1716s TAP version 14 1716s # random seed: R02S88e78b75c8c285d156e174dd38ed082d 1716s 1..40 1716s # Start of utils tests 1716s ok 1 /utils/language-names 1716s ok 2 /utils/locale-variants 1716s ok 3 /utils/version 1716s ok 4 /utils/appname 1716s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1716s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1716s ok 5 /utils/prgname-thread-safety 1716s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1716s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1716s ok 6 /utils/tmpdir 1716s ok 7 /utils/basic_bits 1716s ok 8 /utils/bits 1716s ok 9 /utils/swap 1716s ok 10 /utils/find-program 1716s ok 11 /utils/find-program-for-path 1716s ok 12 /utils/debug 1716s ok 13 /utils/codeset 1716s ok 14 /utils/codeset2 1716s ok 15 /utils/console-charset 1716s ok 16 /utils/gettext 1716s ok 17 /utils/username 1716s ok 18 /utils/realname 1716s ok 19 /utils/hostname 1716s ok 20 /utils/xdgdirs 1716s ok 21 /utils/specialdir 1716s # NAME: Ubuntu 1716s ok 22 /utils/os-info 1716s ok 23 /utils/clear-pointer 1716s ok 24 /utils/clear-pointer-cast 1716s ok 25 /utils/take-pointer 1716s ok 26 /utils/clear-source 1716s ok 27 /utils/misc-mem 1716s # /utils/aligned-mem summary: Aligned memory allocator 1716s # Alignment must not be zero 1716s # Alignment must be a power of two 1716s # Alignment must be a multiple of sizeof(void*) 1716s ok 28 /utils/aligned-mem 1716s # /utils/free-sized summary: Check that g_free_sized() works 1716s ok 29 /utils/free-sized 1716s ok 30 /utils/nullify 1716s ok 31 /utils/atexit 1716s ok 32 /utils/check-setuid 1716s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1716s ok 33 /utils/int-limits 1716s ok 34 /utils/clear-list 1716s ok 35 /utils/clear-slist 1716s # Start of specialdir tests 1716s ok 36 /utils/specialdir/desktop 1716s # End of specialdir tests 1716s # Start of clear-pointer tests 1716s ok 37 /utils/clear-pointer/side-effects 1716s # End of clear-pointer tests 1716s # Start of aligned-mem tests 1716s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1716s ok 38 /utils/aligned-mem/alignment 1716s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1716s ok 39 /utils/aligned-mem/zeroed 1716s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1716s ok 40 /utils/aligned-mem/free-sized 1716s # Start of subprocess tests 1716s # End of subprocess tests 1716s # End of aligned-mem tests 1716s # End of utils tests 1716s ok - glib/utils-c-99.test 1716s # Running test: glib/autoptr-gio.test 1716s TAP version 14 1716s # random seed: R02Sf20c8a0337313247f1ff8fc6cc286008 1716s 1..1 1716s # Start of autoptr tests 1716s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1716s ok 1 /autoptr/autoptr 1716s # End of autoptr tests 1716s ok - glib/autoptr-gio.test 1716s # Running test: glib/memory-monitor-portal.test 1717s # Executing: glib/memory-monitor-portal.test 1717s TAP version 13 1717s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1717s 1..1 1717s ok - glib/memory-monitor-portal.test 1717s # Running test: glib/base64.test 1717s TAP version 14 1717s # random seed: R02S6f791b850963849b0498f43d5990e01e 1717s 1..28 1717s # Start of base64 tests 1717s ok 1 /base64/encode 1717s ok 2 /base64/decode 1717s ok 3 /base64/decode-inplace 1717s ok 4 /base64/encode-decode 1717s # Start of full tests 1717s ok 5 /base64/full/1 1717s ok 6 /base64/full/2 1717s ok 7 /base64/full/3 1717s ok 8 /base64/full/4 1717s # End of full tests 1717s # Start of encode tests 1717s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1717s ok 9 /base64/encode/empty 1717s # Start of incremental tests 1717s # Start of small-block tests 1717s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1717s ok 10 /base64/encode/incremental/small-block/1 1717s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1717s ok 11 /base64/encode/incremental/small-block/2 1717s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1717s ok 12 /base64/encode/incremental/small-block/3 1717s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1717s ok 13 /base64/encode/incremental/small-block/4 1717s # End of small-block tests 1717s # End of incremental tests 1717s # End of encode tests 1717s # Start of incremental tests 1717s # Start of nobreak tests 1717s ok 14 /base64/incremental/nobreak/1 1717s ok 15 /base64/incremental/nobreak/2 1717s ok 16 /base64/incremental/nobreak/3 1717s ok 17 /base64/incremental/nobreak/4-a 1717s ok 18 /base64/incremental/nobreak/4-b 1717s ok 19 /base64/incremental/nobreak/4-c 1717s # End of nobreak tests 1717s # Start of break tests 1717s ok 20 /base64/incremental/break/1 1717s ok 21 /base64/incremental/break/2 1717s ok 22 /base64/incremental/break/3 1717s # End of break tests 1717s # Start of smallblock tests 1717s ok 23 /base64/incremental/smallblock/1 1717s ok 24 /base64/incremental/smallblock/2 1717s ok 25 /base64/incremental/smallblock/3 1717s ok 26 /base64/incremental/smallblock/4 1717s # End of smallblock tests 1717s # End of incremental tests 1717s # Start of decode tests 1717s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1717s ok 27 /base64/decode/empty 1717s # End of decode tests 1717s # Start of encode-decode tests 1717s # Vector 0: 1717s # Vector 1: f 1717s # Vector 2: fo 1717s # Vector 3: foo 1717s # Vector 4: foob 1717s # Vector 5: fooba 1717s # Vector 6: foobar 1717s ok 28 /base64/encode-decode/rfc4648 1717s # End of encode-decode tests 1717s # End of base64 tests 1717s ok - glib/base64.test 1717s # Running test: glib/spawn-test.test 1717s TAP version 14 1717s # random seed: R02Se51607845e80f9b16bf12023d90742cb 1717s 1..2 1717s # Start of spawn tests 1717s ok 1 /spawn/basics 1717s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1717s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1717s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1717s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1717s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1717s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1717s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1717s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1717s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1717s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1717s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1717s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1717s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1717s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1717s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1717s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1717s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1717s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1717s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1717s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1717s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1717s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1717s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1717s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1717s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1717s # Fetching GSpawn result with stdin open, stdout open, stderr open 1717s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1717s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1717s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1717s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1717s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1717s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1717s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1717s ok 2 /spawn/stdio-overwrite 1717s # End of spawn tests 1717s ok - glib/spawn-test.test 1717s # Running test: glib/utf8-performance.test 1717s TAP version 14 1717s # random seed: R02S509f13a3be4e88d7f3b76edb76f6f5c7 1717s 1..36 1717s # Start of utf8 tests 1717s # Start of perf tests 1717s # Start of get_char tests 1717s # max perf: 8.6 MB/s 1717s ok 1 /utf8/perf/get_char/ascii 1717s # max perf: 67.0 MB/s 1717s ok 2 /utf8/perf/get_char/latin1 1717s # max perf: 160.0 MB/s 1717s ok 3 /utf8/perf/get_char/cyrillic 1717s # max perf: inf MB/s 1717s ok 4 /utf8/perf/get_char/han 1717s # End of get_char tests 1717s # Start of get_char-backwards tests 1717s # max perf: inf MB/s 1717s ok 5 /utf8/perf/get_char-backwards/ascii 1717s # max perf: 67.0 MB/s 1717s ok 6 /utf8/perf/get_char-backwards/latin1 1717s # max perf: 160.0 MB/s 1717s ok 7 /utf8/perf/get_char-backwards/cyrillic 1717s # max perf: 156.0 MB/s 1717s ok 8 /utf8/perf/get_char-backwards/han 1717s # End of get_char-backwards tests 1717s # Start of get_char_validated tests 1717s # max perf: 43.0 MB/s 1717s ok 9 /utf8/perf/get_char_validated/ascii 1717s # max perf: inf MB/s 1717s ok 10 /utf8/perf/get_char_validated/latin1 1717s # max perf: 160.0 MB/s 1717s ok 11 /utf8/perf/get_char_validated/cyrillic 1717s # max perf: 156.0 MB/s 1717s ok 12 /utf8/perf/get_char_validated/han 1717s # End of get_char_validated tests 1717s # Start of utf8_to_ucs4 tests 1717s # max perf: 43.0 MB/s 1717s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1717s # max perf: 67.0 MB/s 1717s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1717s # max perf: 160.0 MB/s 1717s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1717s # max perf: 156.0 MB/s 1717s ok 16 /utf8/perf/utf8_to_ucs4/han 1717s # End of utf8_to_ucs4 tests 1717s # Start of utf8_to_ucs4-sized tests 1717s # max perf: inf MB/s 1717s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1717s # max perf: 67.0 MB/s 1717s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1717s # max perf: 160.0 MB/s 1717s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1717s # max perf: 156.0 MB/s 1717s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1717s # End of utf8_to_ucs4-sized tests 1717s # Start of utf8_to_ucs4_fast tests 1717s # max perf: inf MB/s 1717s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1717s # max perf: 67.0 MB/s 1717s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1717s # max perf: 160.0 MB/s 1717s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1717s # max perf: 156.0 MB/s 1717s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1717s # End of utf8_to_ucs4_fast tests 1717s # Start of utf8_to_ucs4_fast-sized tests 1717s # max perf: 43.0 MB/s 1717s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1717s # max perf: 67.0 MB/s 1717s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1717s # max perf: 160.0 MB/s 1717s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1717s # max perf: 156.0 MB/s 1717s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1717s # End of utf8_to_ucs4_fast-sized tests 1717s # Start of utf8_validate tests 1717s # max perf: 43.0 MB/s 1717s ok 29 /utf8/perf/utf8_validate/ascii 1717s # max perf: inf MB/s 1717s ok 30 /utf8/perf/utf8_validate/latin1 1717s # max perf: 160.0 MB/s 1717s ok 31 /utf8/perf/utf8_validate/cyrillic 1717s # max perf: 156.0 MB/s 1717s ok 32 /utf8/perf/utf8_validate/han 1717s # End of utf8_validate tests 1717s # Start of utf8_validate-sized tests 1717s # max perf: inf MB/s 1717s ok 33 /utf8/perf/utf8_validate-sized/ascii 1717s # max perf: inf MB/s 1717s ok 34 /utf8/perf/utf8_validate-sized/latin1 1717s # max perf: 160.0 MB/s 1717s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1717s # max perf: inf MB/s 1717s ok 36 /utf8/perf/utf8_validate-sized/han 1717s # End of utf8_validate-sized tests 1717s # End of perf tests 1717s # End of utf8 tests 1717s ok - glib/utf8-performance.test 1717s # Running test: glib/properties-refcount1.test 1717s TAP version 14 1717s # random seed: R02Sdfc314e532aceb1137c8f77603891ea3 1717s 1..1 1717s # Start of gobject tests 1717s # Start of refcount tests 1717s # .b 1717s # .c 1717s # .f 1717s # .e 1717s # .d 1717s # .c 1717s # .d 1717s # .b 1717s # .f 1717s # .e 1717s # .d 1717s # .f 1717s # .c 1717s # .b 1717s # .e 1717s # .d 1717s # .f 1717s # .c 1717s # .b 1718s # .d 1718s # .e 1718s # .f 1718s # .c 1718s # .b 1718s # .d 1718s # .f 1718s # .e 1718s # .c 1718s # .b 1718s # .d 1718s # .f 1718s # .e 1718s # .c 1718s # .b 1718s # .d 1718s # .f 1718s # .e 1718s # .c 1718s # .b 1718s # .d 1718s # .f 1718s # .e 1718s # .c 1718s # .b 1718s # .d 1718s # .f 1718s # .c 1718s # .e 1718s # .d 1718s # .b 1718s # .f 1718s # .c 1718s # .e 1718s # .d 1718s # .b 1718s # .f 1718s # .c 1718s # .e 1718s # .d 1719s # .b 1719s # .f 1719s # .d 1719s # .c 1719s # .e 1719s # .b 1719s # .f 1719s # .c 1719s # .d 1719s # .e 1719s # .b 1719s # .f 1719s # .c 1719s # .e 1719s # .d 1719s # .b 1719s # .f 1719s # .c 1719s # .e 1719s # .b 1719s # .d 1719s # .f 1719s # .c 1719s # .e 1719s # .b 1719s # .f 1719s # .c 1719s # .d 1720s # .e 1720s # .b 1720s # .f 1720s # .c 1720s # .e 1720s # .b 1720s # .d 1720s # .f 1720s # .c 1720s ok 1 /gobject/refcount/properties-1 1720s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1720s # End of refcount tests 1720s # End of gobject tests 1720s ok - glib/properties-refcount1.test 1720s # Running test: glib/custom-dispatch.test 1720s TAP version 14 1720s # random seed: R02Sda6b142c892d9d77489f9b6d1a1951bb 1720s 1..2 1720s # Start of properties tests 1720s # Start of custom-dispatch tests 1720s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1720s ok 1 /properties/custom-dispatch/init 1720s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1720s ok 2 /properties/custom-dispatch/set 1720s # End of custom-dispatch tests 1720s # End of properties tests 1720s ok - glib/custom-dispatch.test 1720s # Running test: glib/pattern.test 1720s TAP version 14 1720s # random seed: R02Sa9dd71e0b9efd441de596d9c478ffaed 1720s 1..90 1720s # Start of pattern tests 1720s # Start of compile tests 1720s ok 1 /pattern/compile/0 1720s ok 2 /pattern/compile/1 1720s ok 3 /pattern/compile/2 1720s ok 4 /pattern/compile/3 1720s ok 5 /pattern/compile/4 1720s ok 6 /pattern/compile/5 1720s ok 7 /pattern/compile/6 1720s ok 8 /pattern/compile/7 1720s ok 9 /pattern/compile/8 1720s ok 10 /pattern/compile/9 1720s ok 11 /pattern/compile/10 1720s ok 12 /pattern/compile/11 1720s ok 13 /pattern/compile/12 1720s ok 14 /pattern/compile/13 1720s # End of compile tests 1720s # Start of copy tests 1720s ok 15 /pattern/copy/0 1720s ok 16 /pattern/copy/1 1720s ok 17 /pattern/copy/2 1720s ok 18 /pattern/copy/3 1720s ok 19 /pattern/copy/4 1720s ok 20 /pattern/copy/5 1720s ok 21 /pattern/copy/6 1720s ok 22 /pattern/copy/7 1720s ok 23 /pattern/copy/8 1720s ok 24 /pattern/copy/9 1720s ok 25 /pattern/copy/10 1720s ok 26 /pattern/copy/11 1720s ok 27 /pattern/copy/12 1720s ok 28 /pattern/copy/13 1720s # End of copy tests 1720s # Start of match tests 1720s ok 29 /pattern/match/0 1720s ok 30 /pattern/match/1 1720s ok 31 /pattern/match/2 1720s ok 32 /pattern/match/3 1720s ok 33 /pattern/match/4 1720s ok 34 /pattern/match/5 1720s ok 35 /pattern/match/6 1720s ok 36 /pattern/match/7 1720s ok 37 /pattern/match/8 1720s ok 38 /pattern/match/9 1720s ok 39 /pattern/match/10 1720s ok 40 /pattern/match/11 1720s ok 41 /pattern/match/12 1720s ok 42 /pattern/match/13 1720s ok 43 /pattern/match/14 1720s ok 44 /pattern/match/15 1720s ok 45 /pattern/match/16 1720s ok 46 /pattern/match/17 1720s ok 47 /pattern/match/18 1720s ok 48 /pattern/match/19 1720s ok 49 /pattern/match/20 1720s ok 50 /pattern/match/21 1720s ok 51 /pattern/match/22 1720s ok 52 /pattern/match/23 1720s ok 53 /pattern/match/24 1720s ok 54 /pattern/match/25 1720s ok 55 /pattern/match/26 1720s ok 56 /pattern/match/27 1720s ok 57 /pattern/match/28 1720s ok 58 /pattern/match/29 1720s ok 59 /pattern/match/30 1720s ok 60 /pattern/match/31 1720s ok 61 /pattern/match/32 1720s ok 62 /pattern/match/33 1720s ok 63 /pattern/match/34 1720s ok 64 /pattern/match/35 1720s ok 65 /pattern/match/36 1720s ok 66 /pattern/match/37 1720s ok 67 /pattern/match/38 1720s ok 68 /pattern/match/39 1720s ok 69 /pattern/match/40 1720s ok 70 /pattern/match/41 1720s ok 71 /pattern/match/42 1720s ok 72 /pattern/match/43 1720s ok 73 /pattern/match/44 1720s ok 74 /pattern/match/45 1720s ok 75 /pattern/match/46 1720s ok 76 /pattern/match/47 1720s ok 77 /pattern/match/48 1720s ok 78 /pattern/match/49 1720s ok 79 /pattern/match/50 1720s # End of match tests 1720s # Start of equal tests 1720s ok 80 /pattern/equal/0 1720s ok 81 /pattern/equal/1 1720s ok 82 /pattern/equal/2 1720s ok 83 /pattern/equal/3 1720s ok 84 /pattern/equal/4 1720s ok 85 /pattern/equal/5 1720s ok 86 /pattern/equal/6 1720s ok 87 /pattern/equal/7 1720s ok 88 /pattern/equal/8 1720s ok 89 /pattern/equal/9 1720s ok 90 /pattern/equal/10 1720s # End of equal tests 1720s # End of pattern tests 1720s ok - glib/pattern.test 1720s # Running test: glib/portal-support-snap-classic.test 1720s TAP version 14 1720s # random seed: R02Sfb922fbe620b44defbe2f33aa35b0b6d 1720s 1..3 1720s # Start of portal-support tests 1720s # Start of snap-classic tests 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/no-snapctl/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/no-snapctl/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/no-snapctl/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/no-snapctl/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/no-snapctl/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1720s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/no-snapctl: No such file or directory 1720s ok 1 /portal-support/snap-classic/no-snapctl 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/none/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/none/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/none/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/none/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/none/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/none/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/none/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/none/.dirs/runtime 1720s # Created snap.yaml in /tmp/test_portal-support-snap-classic_QYT0Z2/meta/snap.yaml 1720s # Created snapctl in /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1720s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/none: No such file or directory 1720s ok 2 /portal-support/snap-classic/none 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/all/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/all/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/all/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/all/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/all/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/all/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/all/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/all/.dirs/runtime 1720s # Created snap.yaml in /tmp/test_portal-support-snap-classic_QYT0Z2/meta/snap.yaml 1720s # Created snapctl in /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1720s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_QYT0Z2/portal-support/snap-classic/all: No such file or directory 1720s ok 3 /portal-support/snap-classic/all 1720s # End of snap-classic tests 1720s # End of portal-support tests 1720s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_QYT0Z2: No such file or directory 1720s ok - glib/portal-support-snap-classic.test 1720s # Running test: glib/utils-isolated.test 1720s TAP version 14 1720s # random seed: R02S6164d7ab2d3501153dacfef8cb061d9f 1720s 1..11 1720s # Start of utils-isolated tests 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/tmp-dir/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/tmp-dir/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/tmp-dir/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/tmp-dir/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/tmp-dir/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/tmp-dir/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/tmp-dir/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/tmp-dir/.dirs/runtime 1720s ok 1 /utils-isolated/tmp-dir 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/home-dir/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/home-dir/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/home-dir/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/home-dir/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/home-dir/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/home-dir/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/home-dir/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/home-dir/.dirs/runtime 1720s ok 2 /utils-isolated/home-dir 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-cache-dir/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-cache-dir/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-cache-dir/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-cache-dir/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-cache-dir/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-cache-dir/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-cache-dir/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-cache-dir/.dirs/runtime 1720s ok 3 /utils-isolated/user-cache-dir 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-config-dirs/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-config-dirs/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-config-dirs/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-config-dirs/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-config-dirs/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-config-dirs/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-config-dirs/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-config-dirs/.dirs/runtime 1720s ok 4 /utils-isolated/system-config-dirs 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-config-dir/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-config-dir/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-config-dir/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-config-dir/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-config-dir/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-config-dir/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-config-dir/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-config-dir/.dirs/runtime 1720s ok 5 /utils-isolated/user-config-dir 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-data-dirs/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-data-dirs/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-data-dirs/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-data-dirs/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-data-dirs/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-data-dirs/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-data-dirs/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/system-data-dirs/.dirs/runtime 1720s ok 6 /utils-isolated/system-data-dirs 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-data-dir/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-data-dir/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-data-dir/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-data-dir/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-data-dir/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-data-dir/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-data-dir/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-data-dir/.dirs/runtime 1720s ok 7 /utils-isolated/user-data-dir 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-state-dir/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-state-dir/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-state-dir/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-state-dir/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-state-dir/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-state-dir/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-state-dir/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-state-dir/.dirs/runtime 1720s ok 8 /utils-isolated/user-state-dir 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-runtime-dir/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-runtime-dir/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-runtime-dir/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-runtime-dir/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-runtime-dir/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-runtime-dir/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-runtime-dir/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/user-runtime-dir/.dirs/runtime 1720s ok 9 /utils-isolated/user-runtime-dir 1720s # Start of cleanup tests 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/handles-errors/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/handles-errors/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/handles-errors/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/handles-errors/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/handles-errors/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/handles-errors/.dirs/runtime 1720s Unable to clean up temporary directory /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1720s Unable to clean up temporary directory /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1720s Unable to clean up temporary directory /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/handles-errors: Directory not empty 1720s ok 10 /utils-isolated/cleanup/handles-errors 1720s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1720s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1720s Unable to clean up temporary directory /tmp/test_utils-isolated_ZPZ0Z2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1720s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1720s # End of cleanup tests 1720s # End of utils-isolated tests 1720s ok - glib/utils-isolated.test 1720s # Running test: glib/gnotification.test 1720s TAP version 14 1720s # random seed: R02S12b1a9819aaa41c2ff14e9f44def670b 1720s 1..2 1720s # Start of gnotification tests 1720s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1720s ok 1 /gnotification/basic 1720s ok 2 /gnotification/properties 1720s # End of gnotification tests 1720s ok - glib/gnotification.test 1720s # Running test: glib/dataset.test 1720s TAP version 14 1720s # random seed: R02Scf0079eccffa40e3f5c25630228753e7 1720s 1..14 1720s # Start of quark tests 1720s ok 1 /quark/basic 1720s ok 2 /quark/string 1720s # End of quark tests 1720s # Start of dataset tests 1720s ok 3 /dataset/basic 1720s ok 4 /dataset/id 1720s ok 5 /dataset/full 1720s ok 6 /dataset/foreach 1720s ok 7 /dataset/destroy 1720s # End of dataset tests 1720s # Start of datalist tests 1720s ok 8 /datalist/basic 1720s ok 9 /datalist/id 1720s ok 10 /datalist/recursive-clear 1720s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1720s ok 11 /datalist/id-remove-multiple 1720s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1720s ok 12 /datalist/id-remove-multiple-destroy-order 1720s ok 13 /datalist/update-atomic 1720s # Start of id-remove-multiple tests 1720s ok 14 /datalist/id-remove-multiple/resize 1720s # End of id-remove-multiple tests 1720s # End of datalist tests 1720s ok - glib/dataset.test 1720s # Running test: glib/io-channel.test 1720s TAP version 14 1720s # random seed: R02S978b7237a9b7e2e9315bf46dd40313e8 1720s 1..2 1720s # Start of io-channel tests 1720s # Line one 1720s # 1720s # Line two 1720s # 1720s # Line three 1720s # 1720s # /* Hello */ 1720s # 1720s # \x1234\x567890\x6666 1720s # 1720s # read 62 bytes, wrote 62 bytes 1720s ok 1 /io-channel/read-write 1720s # Start of read-line tests 1720s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1720s ok 2 /io-channel/read-line/embedded-nuls 1720s # End of read-line tests 1720s # End of io-channel tests 1720s ok - glib/io-channel.test 1720s # Running test: glib/gmenumodel.test 1720s TAP version 14 1720s # random seed: R02S1421520d47cf8ced1a9ea1c0bad52c7e 1720s 1..15 1720s # Start of gmenu tests 1721s ok 1 /gmenu/equality 1721s # slow test /gmenu/equality executed in 0.93 secs 1722s # Executing: glib/gmenumodel.test 1722s ok 2 /gmenu/random 1722s # slow test /gmenu/random executed in 1.27 secs 1722s ok 3 /gmenu/attributes 1722s ok 4 /gmenu/links 1722s ok 5 /gmenu/mutable 1722s ok 6 /gmenu/convenience 1722s ok 7 /gmenu/menuitem 1722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1722s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1722s ok 8 /gmenu/input-validation 1722s # Start of dbus tests 1722s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1723s ok 9 /gmenu/dbus/roundtrip 1723s # slow test /gmenu/dbus/roundtrip executed in 1.02 secs 1724s ok 10 /gmenu/dbus/subscriptions 1725s ok 11 /gmenu/dbus/threaded 1725s # slow test /gmenu/dbus/threaded executed in 1.08 secs 1725s # Start of peer tests 1726s ok 12 /gmenu/dbus/peer/roundtrip 1726s # slow test /gmenu/dbus/peer/roundtrip executed in 1.02 secs 1726s ok 13 /gmenu/dbus/peer/subscriptions 1726s # End of peer tests 1726s # Start of export tests 1726s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1726s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1726s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1726s ok 14 /gmenu/dbus/export/error-handling 1726s # End of export tests 1726s # End of dbus tests 1726s # Start of attributes tests 1726s ok 15 /gmenu/attributes/iterate 1726s # End of attributes tests 1726s # End of gmenu tests 1726s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1726s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1726s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1726s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1726s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1726s ok - glib/gmenumodel.test 1726s # Running test: glib/testfilemonitor.test 1726s TAP version 14 1726s # random seed: R02S37a758186cf8653c6253aa69e54f5026 1726s 1..8 1726s # Start of monitor tests 1726s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1726s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1726s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1726s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1726s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1726s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1726s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1726s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1726s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1726s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1726s # Start of file tests 1726s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1726s # End of file tests 1726s # End of monitor tests 1726s ok - glib/testfilemonitor.test 1726s # Running test: glib/mem-overflow.test 1726s TAP version 14 1726s # random seed: R02Sc55802d05aea4461f0757a32ac955a65 1726s 1..2 1726s # Start of mem tests 1726s ok 1 /mem/overflow 1726s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1726s ok 2 /mem/empty-alloc 1726s # Start of overflow tests 1726s # Start of subprocess tests 1726s # End of subprocess tests 1726s # End of overflow tests 1726s # Start of empty-alloc tests 1726s # End of empty-alloc tests 1726s # End of mem tests 1726s ok - glib/mem-overflow.test 1726s # Running test: glib/refcount-macro.test 1726s TAP version 14 1726s # random seed: R02S7f91999040e98db57913d31e9f3bc63d 1726s 1..4 1726s # Start of refcount tests 1726s ok 1 /refcount/grefcount 1726s ok 2 /refcount/gatomicrefcount 1726s # Start of grefcount tests 1726s ok 3 /refcount/grefcount/saturation 1726s # End of grefcount tests 1726s # Start of gatomicrefcount tests 1726s ok 4 /refcount/gatomicrefcount/saturation 1726s # End of gatomicrefcount tests 1726s # End of refcount tests 1726s ok - glib/refcount-macro.test 1726s # Running test: glib/spawn-singlethread.test 1726s TAP version 14 1726s # random seed: R02S23ad41759b8f512efde9a2549a3eab8f 1726s 1..9 1726s # Start of gthread tests 1726s ok 1 /gthread/spawn-single-sync 1726s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1726s ok 2 /gthread/spawn-stderr-socket 1726s ok 3 /gthread/spawn-single-async 1726s # thread 1 1726s # thread 1 1726s ok 4 /gthread/spawn-single-async-with-fds 1726s ok 5 /gthread/spawn-async-with-invalid-fds 1726s ok 6 /gthread/spawn-script 1726s ok 7 /gthread/spawn-posix-spawn 1726s # Start of spawn tests 1726s ok 8 /gthread/spawn/nonexistent 1726s # FD map: 1726s # • 5 → 15 1726s # • 6 → 16 1726s # • 7 → 17 1726s # • 8 → 18 1726s # • 9 → 19 1726s # • 10 → 20 1726s # • 11 → 21 1726s # • 12 → 22 1726s # • 13 → 23 1726s # • 3 → 13 1726s ok 9 /gthread/spawn/fd-assignment-clash 1726s # End of spawn tests 1726s # End of gthread tests 1726s ok - glib/spawn-singlethread.test 1726s # Running test: glib/gdbus-exit-on-close.test 1726s TAP version 14 1726s # random seed: R02Sce68fd95160fbfe4ff36cdf1b3044c5b 1726s 1..4 1726s # Start of gdbus tests 1726s # Start of exit-on-close tests 1726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/default/.dirs/home 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/default/.dirs/cache 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/default/.dirs/system-config2 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/default/.dirs/config 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/default/.dirs/system-data2 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/default/.dirs/data 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/default/.dirs/state 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/default/.dirs/runtime 1726s ok 1 /gdbus/exit-on-close/default 1726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/true/.dirs/home 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/true/.dirs/cache 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/true/.dirs/system-config2 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/true/.dirs/config 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/true/.dirs/system-data2 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/true/.dirs/data 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/true/.dirs/state 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/true/.dirs/runtime 1726s ok 2 /gdbus/exit-on-close/true 1726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/false/.dirs/home 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/false/.dirs/cache 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/false/.dirs/system-config2 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/false/.dirs/config 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/false/.dirs/system-data2 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/false/.dirs/data 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/false/.dirs/state 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/false/.dirs/runtime 1727s ok 3 /gdbus/exit-on-close/false 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/we-close/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/we-close/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/we-close/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/we-close/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/we-close/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/we-close/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/we-close/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_ILYNZ2/gdbus/exit-on-close/we-close/.dirs/runtime 1727s # Executing: glib/gdbus-exit-on-close.test 1727s ok 4 /gdbus/exit-on-close/we-close 1727s # Start of default tests 1727s # End of default tests 1727s # Start of true tests 1727s # End of true tests 1727s # Start of false tests 1727s # End of false tests 1727s # Start of we-close tests 1727s # End of we-close tests 1727s # End of exit-on-close tests 1727s # End of gdbus tests 1727s ok - glib/gdbus-exit-on-close.test 1727s # Running test: glib/strvbuilder.test 1727s TAP version 14 1727s # random seed: R02Sd5e98c0427010b5995ad7eb12b7cf7e3 1727s 1..7 1727s # Start of strvbuilder tests 1727s ok 1 /strvbuilder/empty 1727s ok 2 /strvbuilder/add 1727s ok 3 /strvbuilder/addv 1727s ok 4 /strvbuilder/add_many 1727s ok 5 /strvbuilder/take 1727s ok 6 /strvbuilder/ref 1727s ok 7 /strvbuilder/unref_to_strv 1727s # End of strvbuilder tests 1727s ok - glib/strvbuilder.test 1727s # Running test: glib/dynamictests.test 1727s TAP version 14 1727s # random seed: R02S84b07aedabed327f8c71a0d031eea877 1727s 1..2 1727s # Start of GObject tests 1727s ok 1 /GObject/threaded-dynamic-ref-unref-init 1727s ok 2 /GObject/dynamic-interface-properties 1727s # End of GObject tests 1727s ok - glib/dynamictests.test 1727s # Running test: glib/param.test 1727s TAP version 14 1727s # random seed: R02S3ffebb244faac74405f2efb7a89e227e 1727s 1..32 1727s # Start of param tests 1727s ok 1 /param/value 1727s ok 2 /param/strings 1727s ok 3 /param/qdata 1727s ok 4 /param/validate 1727s ok 5 /param/convert 1727s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1727s ok 7 /param/default 1727s ok 8 /param/is-valid-name 1727s # Start of invalid-name tests 1727s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1727s ok 9 /param/invalid-name/colon 1727s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1727s ok 10 /param/invalid-name/first-char 1727s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1727s ok 11 /param/invalid-name/empty 1727s # End of invalid-name tests 1727s # Start of implement tests 1727s # Start of subprocess tests 1727s # End of subprocess tests 1727s # End of implement tests 1727s # End of param tests 1727s # Start of value tests 1727s ok 12 /value/transform 1727s # End of value tests 1727s # Start of paramspec tests 1727s ok 13 /paramspec/char 1727s ok 14 /paramspec/uchar 1727s ok 15 /paramspec/int 1727s ok 16 /paramspec/uint 1727s ok 17 /paramspec/long 1727s ok 18 /paramspec/ulong 1727s ok 19 /paramspec/int64 1727s ok 20 /paramspec/uint64 1727s ok 21 /paramspec/float 1727s ok 22 /paramspec/double 1727s ok 23 /paramspec/unichar 1727s ok 24 /paramspec/param 1727s ok 25 /paramspec/null-param 1727s ok 26 /paramspec/string 1727s ok 27 /paramspec/override 1727s ok 28 /paramspec/gtype 1727s ok 29 /paramspec/variant 1727s ok 30 /paramspec/custom 1727s ok 31 /paramspec/pool 1727s # Start of variant tests 1727s ok 32 /paramspec/variant/cmp 1727s # End of variant tests 1727s # End of paramspec tests 1727s ok - glib/param.test 1727s # Running test: glib/bookmarkfile.test 1727s TAP version 14 1727s # random seed: R02S8320d1855e4efb7ee88cc9e1456a925d 1727s 1..96 1727s # Start of bookmarks tests 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/load-from-data-dirs/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/load-from-data-dirs/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/load-from-data-dirs/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/load-from-data-dirs/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/load-from-data-dirs/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/load-from-data-dirs/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/load-from-data-dirs/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/load-from-data-dirs/.dirs/runtime 1727s ok 1 /bookmarks/load-from-data-dirs 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/to-file/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/to-file/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/to-file/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/to-file/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/to-file/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/to-file/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/to-file/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/to-file/.dirs/runtime 1727s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_QYQKZ2/bookmarkfile-test-N0QKZ2.xbel 1727s # Roundtrip from a valid bookmark file 1727s ok 2 /bookmarks/to-file 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/move-item/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/move-item/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/move-item/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/move-item/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/move-item/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/move-item/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/move-item/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/move-item/.dirs/runtime 1727s ok 3 /bookmarks/move-item 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/corner-cases/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/corner-cases/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/corner-cases/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/corner-cases/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/corner-cases/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/corner-cases/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/corner-cases/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/corner-cases/.dirs/runtime 1727s ok 4 /bookmarks/corner-cases 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/misc/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/misc/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/misc/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/misc/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/misc/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/misc/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/misc/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/misc/.dirs/runtime 1727s ok 5 /bookmarks/misc 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/deprecated/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/deprecated/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/deprecated/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/deprecated/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/deprecated/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/deprecated/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/deprecated/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/deprecated/.dirs/runtime 1727s ok 6 /bookmarks/deprecated 1727s # Start of parse tests 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-01.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-01.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-01.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-01.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-01.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-01.xbel/.dirs/runtime 1727s ok 7 /bookmarks/parse/fail-01.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-02.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-02.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-02.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-02.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-02.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-02.xbel/.dirs/runtime 1727s ok 8 /bookmarks/parse/fail-02.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-03.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-03.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-03.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-03.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-03.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-03.xbel/.dirs/runtime 1727s ok 9 /bookmarks/parse/fail-03.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-04.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-04.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-04.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-04.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-04.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-04.xbel/.dirs/runtime 1727s ok 10 /bookmarks/parse/fail-04.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-05.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-05.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-05.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-05.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-05.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-05.xbel/.dirs/runtime 1727s ok 11 /bookmarks/parse/fail-05.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-06.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-06.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-06.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-06.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-06.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-06.xbel/.dirs/runtime 1727s ok 12 /bookmarks/parse/fail-06.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-07.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-07.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-07.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-07.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-07.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-07.xbel/.dirs/runtime 1727s ok 13 /bookmarks/parse/fail-07.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-08.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-08.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-08.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-08.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-08.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-08.xbel/.dirs/runtime 1727s ok 14 /bookmarks/parse/fail-08.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-09.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-09.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-09.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-09.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-09.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-09.xbel/.dirs/runtime 1727s ok 15 /bookmarks/parse/fail-09.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-10.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-10.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-10.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-10.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-10.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-10.xbel/.dirs/runtime 1727s ok 16 /bookmarks/parse/fail-10.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-11.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-11.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-11.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-11.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-11.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-11.xbel/.dirs/runtime 1727s ok 17 /bookmarks/parse/fail-11.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-12.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-12.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-12.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-12.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-12.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-12.xbel/.dirs/runtime 1727s ok 18 /bookmarks/parse/fail-12.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-13.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-13.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-13.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-13.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-13.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-13.xbel/.dirs/runtime 1727s ok 19 /bookmarks/parse/fail-13.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-14.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-14.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-14.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-14.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-14.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-14.xbel/.dirs/runtime 1727s ok 20 /bookmarks/parse/fail-14.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-15.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-15.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-15.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-15.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-15.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-15.xbel/.dirs/runtime 1727s ok 21 /bookmarks/parse/fail-15.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-16.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-16.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-16.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-16.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-16.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-16.xbel/.dirs/runtime 1727s ok 22 /bookmarks/parse/fail-16.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-17.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-17.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-17.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-17.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-17.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-17.xbel/.dirs/runtime 1727s ok 23 /bookmarks/parse/fail-17.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-18.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-18.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-18.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-18.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-18.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-18.xbel/.dirs/runtime 1727s ok 24 /bookmarks/parse/fail-18.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-19.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-19.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-19.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-19.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-19.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-19.xbel/.dirs/runtime 1727s ok 25 /bookmarks/parse/fail-19.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-20.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-20.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-20.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-20.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-20.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-20.xbel/.dirs/runtime 1727s ok 26 /bookmarks/parse/fail-20.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-21.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-21.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-21.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-21.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-21.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-21.xbel/.dirs/runtime 1727s ok 27 /bookmarks/parse/fail-21.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-22.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-22.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-22.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-22.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-22.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-22.xbel/.dirs/runtime 1727s ok 28 /bookmarks/parse/fail-22.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-23.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-23.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-23.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-23.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-23.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-23.xbel/.dirs/runtime 1727s ok 29 /bookmarks/parse/fail-23.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-24.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-24.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-24.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-24.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-24.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-24.xbel/.dirs/runtime 1727s ok 30 /bookmarks/parse/fail-24.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-25.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-25.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-25.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-25.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-25.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-25.xbel/.dirs/runtime 1727s ok 31 /bookmarks/parse/fail-25.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-26.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-26.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-26.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-26.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-26.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-26.xbel/.dirs/runtime 1727s ok 32 /bookmarks/parse/fail-26.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-27.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-27.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-27.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-27.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-27.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-27.xbel/.dirs/runtime 1727s ok 33 /bookmarks/parse/fail-27.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-28.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-28.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-28.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-28.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-28.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-28.xbel/.dirs/runtime 1727s ok 34 /bookmarks/parse/fail-28.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-29.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-29.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-29.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-29.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-29.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-29.xbel/.dirs/runtime 1727s ok 35 /bookmarks/parse/fail-29.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-30.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-30.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-30.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-30.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-30.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-30.xbel/.dirs/runtime 1727s ok 36 /bookmarks/parse/fail-30.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-31.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-31.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-31.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-31.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-31.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-31.xbel/.dirs/runtime 1727s ok 37 /bookmarks/parse/fail-31.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-32.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-32.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-32.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-32.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-32.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-32.xbel/.dirs/runtime 1727s ok 38 /bookmarks/parse/fail-32.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-33.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-33.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-33.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-33.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-33.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-33.xbel/.dirs/runtime 1727s ok 39 /bookmarks/parse/fail-33.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-34.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-34.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-34.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-34.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-34.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-34.xbel/.dirs/runtime 1727s ok 40 /bookmarks/parse/fail-34.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-35.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-35.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-35.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-35.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-35.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-35.xbel/.dirs/runtime 1727s ok 41 /bookmarks/parse/fail-35.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-36.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-36.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-36.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-36.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-36.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-36.xbel/.dirs/runtime 1727s ok 42 /bookmarks/parse/fail-36.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-37.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-37.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-37.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-37.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-37.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-37.xbel/.dirs/runtime 1727s ok 43 /bookmarks/parse/fail-37.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-38.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-38.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-38.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-38.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-38.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-38.xbel/.dirs/runtime 1727s ok 44 /bookmarks/parse/fail-38.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-39.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-39.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-39.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-39.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-39.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-39.xbel/.dirs/runtime 1727s ok 45 /bookmarks/parse/fail-39.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-40.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-40.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-40.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-40.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-40.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-40.xbel/.dirs/runtime 1727s ok 46 /bookmarks/parse/fail-40.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-41.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-41.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-41.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-41.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-41.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-41.xbel/.dirs/runtime 1727s ok 47 /bookmarks/parse/fail-41.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-42.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-42.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-42.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-42.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-42.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/fail-42.xbel/.dirs/runtime 1727s ok 48 /bookmarks/parse/fail-42.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-01.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-01.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-01.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-01.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-01.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-01.xbel/.dirs/runtime 1727s ok 49 /bookmarks/parse/valid-01.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-02.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-02.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-02.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-02.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-02.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-02.xbel/.dirs/runtime 1727s ok 50 /bookmarks/parse/valid-02.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-03.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-03.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-03.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-03.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-03.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/parse/valid-03.xbel/.dirs/runtime 1727s ok 51 /bookmarks/parse/valid-03.xbel 1727s # End of parse tests 1727s # Start of copy tests 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-01.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-01.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-01.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-01.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-01.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-01.xbel/.dirs/runtime 1727s ok 52 /bookmarks/copy/fail-01.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-02.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-02.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-02.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-02.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-02.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-02.xbel/.dirs/runtime 1727s ok 53 /bookmarks/copy/fail-02.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-03.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-03.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-03.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-03.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-03.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-03.xbel/.dirs/runtime 1727s ok 54 /bookmarks/copy/fail-03.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-04.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-04.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-04.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-04.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-04.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-04.xbel/.dirs/runtime 1727s ok 55 /bookmarks/copy/fail-04.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-05.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-05.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-05.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-05.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-05.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-05.xbel/.dirs/runtime 1727s ok 56 /bookmarks/copy/fail-05.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-06.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-06.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-06.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-06.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-06.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-06.xbel/.dirs/runtime 1727s ok 57 /bookmarks/copy/fail-06.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-07.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-07.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-07.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-07.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-07.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-07.xbel/.dirs/runtime 1727s ok 58 /bookmarks/copy/fail-07.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-08.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-08.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-08.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-08.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-08.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-08.xbel/.dirs/runtime 1727s ok 59 /bookmarks/copy/fail-08.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-09.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-09.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-09.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-09.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-09.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-09.xbel/.dirs/runtime 1727s ok 60 /bookmarks/copy/fail-09.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-10.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-10.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-10.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-10.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-10.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-10.xbel/.dirs/runtime 1727s ok 61 /bookmarks/copy/fail-10.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-11.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-11.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-11.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-11.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-11.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-11.xbel/.dirs/runtime 1727s ok 62 /bookmarks/copy/fail-11.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-12.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-12.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-12.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-12.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-12.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-12.xbel/.dirs/runtime 1727s ok 63 /bookmarks/copy/fail-12.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-13.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-13.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-13.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-13.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-13.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-13.xbel/.dirs/runtime 1727s ok 64 /bookmarks/copy/fail-13.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-14.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-14.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-14.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-14.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-14.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-14.xbel/.dirs/runtime 1727s ok 65 /bookmarks/copy/fail-14.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-15.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-15.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-15.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-15.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-15.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-15.xbel/.dirs/runtime 1727s ok 66 /bookmarks/copy/fail-15.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-16.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-16.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-16.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-16.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-16.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-16.xbel/.dirs/runtime 1727s ok 67 /bookmarks/copy/fail-16.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-17.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-17.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-17.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-17.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-17.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-17.xbel/.dirs/runtime 1727s ok 68 /bookmarks/copy/fail-17.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-18.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-18.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-18.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-18.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-18.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-18.xbel/.dirs/runtime 1727s ok 69 /bookmarks/copy/fail-18.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-19.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-19.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-19.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-19.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-19.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-19.xbel/.dirs/runtime 1727s ok 70 /bookmarks/copy/fail-19.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-20.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-20.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-20.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-20.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-20.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-20.xbel/.dirs/runtime 1727s ok 71 /bookmarks/copy/fail-20.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-21.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-21.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-21.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-21.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-21.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-21.xbel/.dirs/runtime 1727s ok 72 /bookmarks/copy/fail-21.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-22.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-22.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-22.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-22.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-22.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-22.xbel/.dirs/runtime 1727s ok 73 /bookmarks/copy/fail-22.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-23.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-23.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-23.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-23.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-23.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-23.xbel/.dirs/runtime 1727s ok 74 /bookmarks/copy/fail-23.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-24.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-24.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-24.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-24.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-24.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-24.xbel/.dirs/runtime 1727s ok 75 /bookmarks/copy/fail-24.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-25.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-25.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-25.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-25.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-25.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-25.xbel/.dirs/runtime 1727s ok 76 /bookmarks/copy/fail-25.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-26.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-26.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-26.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-26.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-26.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-26.xbel/.dirs/runtime 1727s ok 77 /bookmarks/copy/fail-26.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-27.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-27.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-27.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-27.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-27.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-27.xbel/.dirs/runtime 1727s ok 78 /bookmarks/copy/fail-27.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-28.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-28.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-28.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-28.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-28.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-28.xbel/.dirs/runtime 1727s ok 79 /bookmarks/copy/fail-28.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-29.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-29.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-29.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-29.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-29.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-29.xbel/.dirs/runtime 1727s ok 80 /bookmarks/copy/fail-29.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-30.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-30.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-30.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-30.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-30.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-30.xbel/.dirs/runtime 1727s ok 81 /bookmarks/copy/fail-30.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-31.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-31.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-31.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-31.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-31.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-31.xbel/.dirs/runtime 1727s ok 82 /bookmarks/copy/fail-31.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-32.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-32.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-32.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-32.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-32.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-32.xbel/.dirs/runtime 1727s ok 83 /bookmarks/copy/fail-32.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-33.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-33.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-33.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-33.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-33.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-33.xbel/.dirs/runtime 1727s ok 84 /bookmarks/copy/fail-33.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-34.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-34.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-34.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-34.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-34.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-34.xbel/.dirs/runtime 1727s ok 85 /bookmarks/copy/fail-34.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-35.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-35.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-35.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-35.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-35.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-35.xbel/.dirs/runtime 1727s ok 86 /bookmarks/copy/fail-35.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-36.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-36.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-36.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-36.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-36.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-36.xbel/.dirs/runtime 1727s ok 87 /bookmarks/copy/fail-36.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-37.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-37.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-37.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-37.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-37.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-37.xbel/.dirs/runtime 1727s ok 88 /bookmarks/copy/fail-37.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-38.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-38.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-38.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-38.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-38.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-38.xbel/.dirs/runtime 1727s ok 89 /bookmarks/copy/fail-38.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-39.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-39.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-39.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-39.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-39.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-39.xbel/.dirs/runtime 1727s ok 90 /bookmarks/copy/fail-39.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-40.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-40.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-40.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-40.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-40.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-40.xbel/.dirs/runtime 1727s ok 91 /bookmarks/copy/fail-40.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-41.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-41.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-41.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-41.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-41.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-41.xbel/.dirs/runtime 1727s ok 92 /bookmarks/copy/fail-41.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-42.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-42.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-42.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-42.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-42.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/fail-42.xbel/.dirs/runtime 1727s ok 93 /bookmarks/copy/fail-42.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-01.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-01.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-01.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-01.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-01.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-01.xbel/.dirs/runtime 1727s ok 94 /bookmarks/copy/valid-01.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-02.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-02.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-02.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-02.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-02.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-02.xbel/.dirs/runtime 1727s ok 95 /bookmarks/copy/valid-02.xbel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-03.xbel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-03.xbel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-03.xbel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-03.xbel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-03.xbel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QYQKZ2/bookmarks/copy/valid-03.xbel/.dirs/runtime 1727s ok 96 /bookmarks/copy/valid-03.xbel 1727s # End of copy tests 1727s # End of bookmarks tests 1727s ok - glib/bookmarkfile.test 1727s # Running test: glib/error.test 1727s TAP version 14 1727s # random seed: R02S41ee834c177c214fac6aec5b298b7b07 1727s 1..3 1727s # Start of error tests 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_66NLZ2/error/from-errno/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_66NLZ2/error/from-errno/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_66NLZ2/error/from-errno/.dirs/system-config1:/tmp/test_error_66NLZ2/error/from-errno/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_66NLZ2/error/from-errno/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_66NLZ2/error/from-errno/.dirs/system-data1:/tmp/test_error_66NLZ2/error/from-errno/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_66NLZ2/error/from-errno/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_66NLZ2/error/from-errno/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_66NLZ2/error/from-errno/.dirs/runtime 1727s ok 1 /error/from-errno 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_66NLZ2/error/from-file-error/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_66NLZ2/error/from-file-error/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_66NLZ2/error/from-file-error/.dirs/system-config1:/tmp/test_error_66NLZ2/error/from-file-error/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_66NLZ2/error/from-file-error/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_66NLZ2/error/from-file-error/.dirs/system-data1:/tmp/test_error_66NLZ2/error/from-file-error/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_66NLZ2/error/from-file-error/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_66NLZ2/error/from-file-error/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_66NLZ2/error/from-file-error/.dirs/runtime 1727s ok 2 /error/from-file-error 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_66NLZ2/error/from-win32-error/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_66NLZ2/error/from-win32-error/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_66NLZ2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_66NLZ2/error/from-win32-error/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_66NLZ2/error/from-win32-error/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_66NLZ2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_66NLZ2/error/from-win32-error/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_66NLZ2/error/from-win32-error/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_66NLZ2/error/from-win32-error/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_66NLZ2/error/from-win32-error/.dirs/runtime 1727s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1727s # End of error tests 1727s ok - glib/error.test 1727s # Running test: glib/fdo-notification-backend.test 1727s TAP version 14 1727s # random seed: R02Sb906e383efcbc578fd17d3f7eed76229 1727s 1..2 1727s # Start of fdo-notification-backend tests 1727s # Test constructing a GFdoNotificationBackend 1727s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s ok 1 /fdo-notification-backend/construction 1727s # Start of dbus tests 1727s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1727s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1727s ok 2 /fdo-notification-backend/dbus/activate-action 1727s # End of dbus tests 1727s # End of fdo-notification-backend tests 1727s ok - glib/fdo-notification-backend.test 1727s # Running test: glib/cxx.test 1727s TAP version 14 1727s # random seed: R02S60b4c86e7204c3481ce0360f67c344e9 1727s 1..2 1727s # Start of gtask tests 1727s # 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. 1727s ok 1 /gtask/name 1727s # Start of name tests 1727s # 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. 1727s ok 2 /gtask/name/macro-wrapper 1727s # End of name tests 1727s # End of gtask tests 1727s ok - glib/cxx.test 1727s # Running test: glib/utf8-validate.test 1727s TAP version 14 1727s # random seed: R02S3eb81ecbee711065fe37a5e39b1ef81d 1727s 1..216 1727s # Start of utf8 tests 1727s # Vector 0 1727s # Vector 1 1727s # Vector 2 1727s # Vector 3 1727s # Vector 4 1727s # Vector 5 1727s # Vector 6 1727s # Vector 7 1727s # Vector 8 1727s # Vector 9 1727s # Vector 10 1727s # Vector 11 1727s # Vector 12 1727s # Vector 13 1727s # Vector 14 1727s # Vector 15 1727s # Vector 16 1727s # Vector 17 1727s # Vector 18 1727s # Vector 19 1727s # Vector 20 1727s # Vector 21 1727s # Vector 22 1727s # Vector 23 1727s # Vector 24 1727s # Vector 25 1727s # Vector 26 1727s # Vector 27 1727s ok 1 /utf8/get-char-validated 1727s # Start of validate tests 1727s ok 2 /utf8/validate/0 1727s ok 3 /utf8/validate/1 1727s ok 4 /utf8/validate/2 1727s ok 5 /utf8/validate/3 1727s ok 6 /utf8/validate/4 1727s ok 7 /utf8/validate/5 1727s ok 8 /utf8/validate/6 1727s ok 9 /utf8/validate/7 1727s ok 10 /utf8/validate/8 1727s ok 11 /utf8/validate/9 1727s ok 12 /utf8/validate/10 1727s ok 13 /utf8/validate/11 1727s ok 14 /utf8/validate/12 1727s ok 15 /utf8/validate/13 1727s ok 16 /utf8/validate/14 1727s ok 17 /utf8/validate/15 1727s ok 18 /utf8/validate/16 1727s ok 19 /utf8/validate/17 1727s ok 20 /utf8/validate/18 1727s ok 21 /utf8/validate/19 1727s ok 22 /utf8/validate/20 1727s ok 23 /utf8/validate/21 1727s ok 24 /utf8/validate/22 1727s ok 25 /utf8/validate/23 1727s ok 26 /utf8/validate/24 1727s ok 27 /utf8/validate/25 1727s ok 28 /utf8/validate/26 1727s ok 29 /utf8/validate/27 1727s ok 30 /utf8/validate/28 1727s ok 31 /utf8/validate/29 1727s ok 32 /utf8/validate/30 1727s ok 33 /utf8/validate/31 1727s ok 34 /utf8/validate/32 1727s ok 35 /utf8/validate/33 1727s ok 36 /utf8/validate/34 1727s ok 37 /utf8/validate/35 1727s ok 38 /utf8/validate/36 1727s ok 39 /utf8/validate/37 1727s ok 40 /utf8/validate/38 1727s ok 41 /utf8/validate/39 1727s ok 42 /utf8/validate/40 1727s ok 43 /utf8/validate/41 1727s ok 44 /utf8/validate/42 1727s ok 45 /utf8/validate/43 1727s ok 46 /utf8/validate/44 1727s ok 47 /utf8/validate/45 1727s ok 48 /utf8/validate/46 1727s ok 49 /utf8/validate/47 1727s ok 50 /utf8/validate/48 1727s ok 51 /utf8/validate/49 1727s ok 52 /utf8/validate/50 1727s ok 53 /utf8/validate/51 1727s ok 54 /utf8/validate/52 1727s ok 55 /utf8/validate/53 1727s ok 56 /utf8/validate/54 1727s ok 57 /utf8/validate/55 1727s ok 58 /utf8/validate/56 1727s ok 59 /utf8/validate/57 1727s ok 60 /utf8/validate/58 1727s ok 61 /utf8/validate/59 1727s ok 62 /utf8/validate/60 1727s ok 63 /utf8/validate/61 1727s ok 64 /utf8/validate/62 1727s ok 65 /utf8/validate/63 1727s ok 66 /utf8/validate/64 1727s ok 67 /utf8/validate/65 1727s ok 68 /utf8/validate/66 1727s ok 69 /utf8/validate/67 1727s ok 70 /utf8/validate/68 1727s ok 71 /utf8/validate/69 1727s ok 72 /utf8/validate/70 1727s ok 73 /utf8/validate/71 1727s ok 74 /utf8/validate/72 1727s ok 75 /utf8/validate/73 1727s ok 76 /utf8/validate/74 1727s ok 77 /utf8/validate/75 1727s ok 78 /utf8/validate/76 1727s ok 79 /utf8/validate/77 1727s ok 80 /utf8/validate/78 1727s ok 81 /utf8/validate/79 1727s ok 82 /utf8/validate/80 1727s ok 83 /utf8/validate/81 1727s ok 84 /utf8/validate/82 1727s ok 85 /utf8/validate/83 1727s ok 86 /utf8/validate/84 1727s ok 87 /utf8/validate/85 1727s ok 88 /utf8/validate/86 1727s ok 89 /utf8/validate/87 1727s ok 90 /utf8/validate/88 1727s ok 91 /utf8/validate/89 1727s ok 92 /utf8/validate/90 1727s ok 93 /utf8/validate/91 1727s ok 94 /utf8/validate/92 1727s ok 95 /utf8/validate/93 1727s ok 96 /utf8/validate/94 1727s ok 97 /utf8/validate/95 1727s ok 98 /utf8/validate/96 1727s ok 99 /utf8/validate/97 1727s ok 100 /utf8/validate/98 1727s ok 101 /utf8/validate/99 1727s ok 102 /utf8/validate/100 1727s ok 103 /utf8/validate/101 1727s ok 104 /utf8/validate/102 1727s ok 105 /utf8/validate/103 1727s ok 106 /utf8/validate/104 1727s ok 107 /utf8/validate/105 1727s ok 108 /utf8/validate/106 1727s ok 109 /utf8/validate/107 1727s ok 110 /utf8/validate/108 1727s ok 111 /utf8/validate/109 1727s ok 112 /utf8/validate/110 1727s ok 113 /utf8/validate/111 1727s ok 114 /utf8/validate/112 1727s ok 115 /utf8/validate/113 1727s ok 116 /utf8/validate/114 1727s ok 117 /utf8/validate/115 1727s ok 118 /utf8/validate/116 1727s ok 119 /utf8/validate/117 1727s ok 120 /utf8/validate/118 1727s ok 121 /utf8/validate/119 1727s ok 122 /utf8/validate/120 1727s ok 123 /utf8/validate/121 1727s ok 124 /utf8/validate/122 1727s ok 125 /utf8/validate/123 1727s ok 126 /utf8/validate/124 1727s ok 127 /utf8/validate/125 1727s ok 128 /utf8/validate/126 1727s ok 129 /utf8/validate/127 1727s ok 130 /utf8/validate/128 1727s ok 131 /utf8/validate/129 1727s ok 132 /utf8/validate/130 1727s ok 133 /utf8/validate/131 1727s ok 134 /utf8/validate/132 1727s ok 135 /utf8/validate/133 1727s ok 136 /utf8/validate/134 1727s ok 137 /utf8/validate/135 1727s ok 138 /utf8/validate/136 1727s ok 139 /utf8/validate/137 1727s ok 140 /utf8/validate/138 1727s ok 141 /utf8/validate/139 1727s ok 142 /utf8/validate/140 1727s ok 143 /utf8/validate/141 1727s ok 144 /utf8/validate/142 1727s ok 145 /utf8/validate/143 1727s ok 146 /utf8/validate/144 1727s ok 147 /utf8/validate/145 1727s ok 148 /utf8/validate/146 1727s ok 149 /utf8/validate/147 1727s ok 150 /utf8/validate/148 1727s ok 151 /utf8/validate/149 1727s ok 152 /utf8/validate/150 1727s ok 153 /utf8/validate/151 1727s ok 154 /utf8/validate/152 1727s ok 155 /utf8/validate/153 1727s ok 156 /utf8/validate/154 1727s ok 157 /utf8/validate/155 1727s ok 158 /utf8/validate/156 1727s ok 159 /utf8/validate/157 1727s ok 160 /utf8/validate/158 1727s ok 161 /utf8/validate/159 1727s ok 162 /utf8/validate/160 1727s ok 163 /utf8/validate/161 1727s ok 164 /utf8/validate/162 1727s ok 165 /utf8/validate/163 1727s ok 166 /utf8/validate/164 1727s ok 167 /utf8/validate/165 1727s ok 168 /utf8/validate/166 1727s ok 169 /utf8/validate/167 1727s ok 170 /utf8/validate/168 1727s ok 171 /utf8/validate/169 1727s ok 172 /utf8/validate/170 1727s ok 173 /utf8/validate/171 1727s ok 174 /utf8/validate/172 1727s ok 175 /utf8/validate/173 1727s ok 176 /utf8/validate/174 1727s ok 177 /utf8/validate/175 1727s ok 178 /utf8/validate/176 1727s ok 179 /utf8/validate/177 1727s ok 180 /utf8/validate/178 1727s ok 181 /utf8/validate/179 1727s ok 182 /utf8/validate/180 1727s ok 183 /utf8/validate/181 1727s ok 184 /utf8/validate/182 1727s ok 185 /utf8/validate/183 1727s ok 186 /utf8/validate/184 1727s ok 187 /utf8/validate/185 1727s ok 188 /utf8/validate/186 1727s ok 189 /utf8/validate/187 1727s ok 190 /utf8/validate/188 1727s ok 191 /utf8/validate/189 1727s ok 192 /utf8/validate/190 1727s ok 193 /utf8/validate/191 1727s ok 194 /utf8/validate/192 1727s ok 195 /utf8/validate/193 1727s ok 196 /utf8/validate/194 1727s ok 197 /utf8/validate/195 1727s ok 198 /utf8/validate/196 1727s ok 199 /utf8/validate/197 1727s ok 200 /utf8/validate/198 1727s ok 201 /utf8/validate/199 1727s ok 202 /utf8/validate/200 1727s ok 203 /utf8/validate/201 1727s ok 204 /utf8/validate/202 1727s ok 205 /utf8/validate/203 1727s ok 206 /utf8/validate/204 1727s ok 207 /utf8/validate/205 1727s ok 208 /utf8/validate/206 1727s ok 209 /utf8/validate/207 1727s ok 210 /utf8/validate/208 1727s ok 211 /utf8/validate/209 1727s ok 212 /utf8/validate/210 1727s ok 213 /utf8/validate/211 1727s ok 214 /utf8/validate/212 1727s ok 215 /utf8/validate/213 1727s ok 216 /utf8/validate/214 1727s # End of validate tests 1727s # End of utf8 tests 1727s ok - glib/utf8-validate.test 1727s # Running test: glib/utils.test 1727s TAP version 14 1727s # random seed: R02Sa61258b84c89f83f7c4441ba09c857b9 1727s 1..40 1727s # Start of utils tests 1727s ok 1 /utils/language-names 1727s ok 2 /utils/locale-variants 1727s ok 3 /utils/version 1727s ok 4 /utils/appname 1727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1727s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1727s ok 5 /utils/prgname-thread-safety 1727s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1727s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1727s ok 6 /utils/tmpdir 1727s ok 7 /utils/basic_bits 1727s ok 8 /utils/bits 1727s ok 9 /utils/swap 1727s ok 10 /utils/find-program 1727s ok 11 /utils/find-program-for-path 1727s ok 12 /utils/debug 1727s ok 13 /utils/codeset 1727s ok 14 /utils/codeset2 1727s ok 15 /utils/console-charset 1727s ok 16 /utils/gettext 1727s ok 17 /utils/username 1727s ok 18 /utils/realname 1727s ok 19 /utils/hostname 1727s ok 20 /utils/xdgdirs 1727s ok 21 /utils/specialdir 1727s # NAME: Ubuntu 1727s ok 22 /utils/os-info 1727s ok 23 /utils/clear-pointer 1727s ok 24 /utils/clear-pointer-cast 1727s ok 25 /utils/take-pointer 1727s ok 26 /utils/clear-source 1727s ok 27 /utils/misc-mem 1727s # /utils/aligned-mem summary: Aligned memory allocator 1727s # Alignment must not be zero 1727s # Alignment must be a power of two 1727s # Alignment must be a multiple of sizeof(void*) 1727s ok 28 /utils/aligned-mem 1727s # /utils/free-sized summary: Check that g_free_sized() works 1727s ok 29 /utils/free-sized 1727s ok 30 /utils/nullify 1727s ok 31 /utils/atexit 1727s ok 32 /utils/check-setuid 1727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1727s ok 33 /utils/int-limits 1727s ok 34 /utils/clear-list 1727s ok 35 /utils/clear-slist 1727s # Start of specialdir tests 1727s ok 36 /utils/specialdir/desktop 1727s # End of specialdir tests 1727s # Start of clear-pointer tests 1727s ok 37 /utils/clear-pointer/side-effects 1727s # End of clear-pointer tests 1727s # Start of aligned-mem tests 1727s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1727s ok 38 /utils/aligned-mem/alignment 1727s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1727s ok 39 /utils/aligned-mem/zeroed 1727s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1727s ok 40 /utils/aligned-mem/free-sized 1727s # Start of subprocess tests 1727s # End of subprocess tests 1727s # End of aligned-mem tests 1727s # End of utils tests 1727s ok - glib/utils.test 1727s # Running test: glib/socket-service.test 1727s TAP version 14 1727s # random seed: R02S3d7be076dc09018fddfff7e8c6871a86 1727s 1..4 1727s # Start of socket-service tests 1727s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1727s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1036fdd0 and GSocketClientAsyncConnectData 0x1036b660 1727s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1727s ok 1 /socket-service/start-stop 1727s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x10371068 and GSocketClientAsyncConnectData 0x10370ee0 1727s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1727s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1727s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x10371438 for GSocketClientAsyncConnectData 0x1036b660 1727s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1727s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1727s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1727s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1727s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1727s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x10370458 for GSocketClientAsyncConnectData 0x10370ee0 1727s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1727s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1727s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1727s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1727s ok 2 /socket-service/read_write_async 1727s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x10370e78 and GSocketClientAsyncConnectData 0x10373410 1727s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1727s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1727s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x10371ed0 for GSocketClientAsyncConnectData 0x10373410 1727s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1727s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1727s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1727s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1727s ok 3 /socket-service/read_writev_async 1727s # Start of threaded tests 1727s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1727s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x10373bd8 and GSocketClientAsyncConnectData 0x1036fdc8 1727s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1727s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1727s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x10373b50 for GSocketClientAsyncConnectData 0x1036fdc8 1727s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1727s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1727s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1727s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1727s ok 4 /socket-service/threaded/712570 1727s # End of threaded tests 1727s # End of socket-service tests 1727s ok - glib/socket-service.test 1727s # Running test: glib/sandbox.test 1727s TAP version 14 1727s # random seed: R02S1ce3e5d0e9f8a34ed82d323829c152af 1727s 1..4 1727s # Start of sandbox tests 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VBEOZ2/sandbox/none/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/none/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VBEOZ2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_VBEOZ2/sandbox/none/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/none/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VBEOZ2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_VBEOZ2/sandbox/none/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/none/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/none/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VBEOZ2/sandbox/none/.dirs/runtime 1727s ok 1 /sandbox/none 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VBEOZ2/sandbox/snap/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/snap/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VBEOZ2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_VBEOZ2/sandbox/snap/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/snap/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VBEOZ2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_VBEOZ2/sandbox/snap/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/snap/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/snap/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VBEOZ2/sandbox/snap/.dirs/runtime 1727s # Created snap.yaml in /tmp/test_sandbox_VBEOZ2/snap/current/meta/snap.yaml 1727s ok 2 /sandbox/snap 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VBEOZ2/sandbox/classic-snap/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/classic-snap/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VBEOZ2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_VBEOZ2/sandbox/classic-snap/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/classic-snap/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VBEOZ2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_VBEOZ2/sandbox/classic-snap/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/classic-snap/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/classic-snap/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VBEOZ2/sandbox/classic-snap/.dirs/runtime 1727s # Created snap.yaml in /tmp/test_sandbox_VBEOZ2/snap/current/meta/snap.yaml 1727s ok 3 /sandbox/classic-snap 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VBEOZ2/sandbox/flatpak/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/flatpak/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VBEOZ2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_VBEOZ2/sandbox/flatpak/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/flatpak/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VBEOZ2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_VBEOZ2/sandbox/flatpak/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/flatpak/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VBEOZ2/sandbox/flatpak/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VBEOZ2/sandbox/flatpak/.dirs/runtime 1727s # Creating .flatpak-info in /tmp/test_sandbox_VBEOZ2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1727s ok 4 /sandbox/flatpak 1727s # End of sandbox tests 1727s ok - glib/sandbox.test 1727s # Running test: glib/value.test 1727s TAP version 14 1727s # random seed: R02S007f7f2c9f159ed1d91507e8236f9b97 1727s 1..9 1727s # Start of value tests 1727s ok 1 /value/basic 1727s ok 2 /value/collection 1727s ok 3 /value/copying 1727s ok 4 /value/enum-transformation 1727s ok 5 /value/gtype 1727s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1727s ok 6 /value/string 1727s # Next: GObject object in GValue of GObject to GValue of GObject 1727s # Next: GObject object in GValue of GObject to GValue of TestInterface 1727s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1727s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1727s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1727s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1727s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1727s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1727s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1727s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1727s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1727s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1727s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1727s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1727s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1727s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1727s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1727s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1727s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1727s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1727s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1727s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1727s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1727s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1727s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1727s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1727s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1727s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1727s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1727s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1727s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1727s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1727s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1727s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1727s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1727s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1727s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1727s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1727s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1727s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1727s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1727s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1727s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1727s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1727s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1727s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1727s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1727s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1727s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1727s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1727s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1727s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1727s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1727s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1727s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1727s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1727s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1727s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1727s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1727s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1727s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1727s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1727s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1727s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1727s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1727s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1727s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1727s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1727s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1727s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1727s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1727s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1727s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1727s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1727s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1727s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1727s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1727s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1727s ok 7 /value/transform-object 1727s # Start of array tests 1727s ok 8 /value/array/basic 1727s ok 9 /value/array/sort-with-data 1727s # End of array tests 1727s # End of value tests 1727s ok - glib/value.test 1727s # Running test: glib/glistmodel.test 1727s TAP version 14 1727s # random seed: R02S5cbedf89db929b368c80c15ceaf6bcc1 1727s 1..18 1727s # Start of glistmodel tests 1727s # Start of store tests 1727s ok 1 /glistmodel/store/properties 1727s ok 2 /glistmodel/store/non-gobjects 1727s ok 3 /glistmodel/store/boundaries 1727s ok 4 /glistmodel/store/refcounts 1727s ok 5 /glistmodel/store/sorted 1727s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1727s ok 6 /glistmodel/store/splice-replace-middle 1727s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1727s ok 7 /glistmodel/store/splice-replace-all 1727s ok 8 /glistmodel/store/splice-noop 1727s ok 9 /glistmodel/store/splice-remove-multiple 1727s ok 10 /glistmodel/store/splice-add-multiple 1727s ok 11 /glistmodel/store/splice-wrong-type 1727s ok 12 /glistmodel/store/item-type 1727s ok 13 /glistmodel/store/remove-all 1727s ok 14 /glistmodel/store/sort 1727s ok 15 /glistmodel/store/get-item-cache 1727s ok 16 /glistmodel/store/items-changed 1727s ok 17 /glistmodel/store/past-end 1727s ok 18 /glistmodel/store/find 1727s # End of store tests 1727s # End of glistmodel tests 1727s ok - glib/glistmodel.test 1727s # Running test: glib/gdbus-non-socket.test 1727s TAP version 14 1727s # random seed: R02S11cdb09d7596e2efd236e7e0fa39eb74 1727s 1..1 1727s # Start of gdbus tests 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_TFOPZ2/gdbus/non-socket/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_TFOPZ2/gdbus/non-socket/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_TFOPZ2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_TFOPZ2/gdbus/non-socket/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_TFOPZ2/gdbus/non-socket/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_TFOPZ2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_TFOPZ2/gdbus/non-socket/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_TFOPZ2/gdbus/non-socket/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_TFOPZ2/gdbus/non-socket/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_TFOPZ2/gdbus/non-socket/.dirs/runtime 1727s ok 1 /gdbus/non-socket 1727s # End of gdbus tests 1727s ok - glib/gdbus-non-socket.test 1727s # Running test: glib/tls-certificate.test 1727s TAP version 14 1727s # random seed: R02S24ab8cb343411e2f61d43ed7bfbccaef 1727s 1..19 1727s # Start of tls-certificate tests 1727s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1727s ok 1 /tls-certificate/pem-parser 1727s ok 2 /tls-certificate/pem-parser-handles-chain 1727s ok 3 /tls-certificate/from_file 1727s ok 4 /tls-certificate/from_files 1727s ok 5 /tls-certificate/from_files_crlf 1727s ok 6 /tls-certificate/from_files_pkcs8 1727s ok 7 /tls-certificate/from_files_pkcs8enc 1727s ok 8 /tls-certificate/list_from_file 1727s ok 9 /tls-certificate/pkcs11-uri 1727s ok 10 /tls-certificate/pkcs11-uri-unsupported 1727s ok 11 /tls-certificate/from_pkcs12 1727s ok 12 /tls-certificate/from_pkcs12_file 1727s ok 13 /tls-certificate/not-valid-before 1727s ok 14 /tls-certificate/not-valid-after 1727s ok 15 /tls-certificate/subject-name 1727s ok 16 /tls-certificate/issuer-name 1727s ok 17 /tls-certificate/dns-names 1727s ok 18 /tls-certificate/ip-addresses 1727s ok 19 /tls-certificate/pem-parser-no-sentinel 1727s # End of tls-certificate tests 1727s ok - glib/tls-certificate.test 1727s # Running test: glib/include.test 1727s TAP version 14 1727s # random seed: R02S17554e24fc51e165ae623a9d498b9cad 1727s 1..1 1727s # Start of include tests 1727s ok 1 /include/rwlock 1727s # End of include tests 1727s ok - glib/include.test 1727s # Running test: glib/basic-signals.test 1727s TAP version 14 1727s # random seed: R02S938fe70a97577e7edcfc4c22e8db23e5 1727s 1..1 1727s # Start of gobject tests 1727s ok 1 /gobject/basic-signals 1727s # End of gobject tests 1727s ok - glib/basic-signals.test 1727s # Running test: glib/unicode.test 1727s TAP version 14 1727s # random seed: R02Scbf28f88d012d8eb5acd51a8e4e04c3e 1727s 1..39 1727s # Start of unicode tests 1727s ok 1 /unicode/alnum 1727s ok 2 /unicode/alpha 1727s ok 3 /unicode/break-type 1727s ok 4 /unicode/canonical-decomposition 1727s ok 5 /unicode/casefold 1727s # Cannot set locale to lt_LT, skipping 1727s # Cannot set locale to lt_LT, skipping 1727s # Cannot set locale to lt_LT, skipping 1727s # Cannot set locale to lt_LT, skipping 1727s # Cannot set locale to lt_LT, skipping 1727s # Cannot set locale to lt_LT, skipping 1727s # Cannot set locale to lt_LT, skipping 1727s # Cannot set locale to lt_LT, skipping 1727s # Cannot set locale to lt_LT, skipping 1727s # Cannot set locale to lt_LT, skipping 1727s # Cannot set locale to lt_LT, skipping 1728s ok 6 /unicode/casemap_and_casefold 1728s ok 7 /unicode/cases 1728s ok 8 /unicode/character-type 1728s ok 9 /unicode/cntrl 1728s ok 10 /unicode/combining-class 1728s ok 11 /unicode/compose 1728s ok 12 /unicode/decompose 1728s ok 13 /unicode/decompose-tail 1728s ok 14 /unicode/defined 1728s ok 15 /unicode/digit 1728s ok 16 /unicode/digit-value 1728s ok 17 /unicode/fully-decompose-canonical 1728s ok 18 /unicode/fully-decompose-len 1728s ok 19 /unicode/normalization 1728s ok 20 /unicode/graph 1728s # Testing script Zyyy (code 1517910393) 1728s # Testing script Zinh (code 1516858984) 1728s # Testing script Zmth (code 1517122664) 1728s # Testing script Arab (code 1098015074) 1728s # Testing script Armn (code 1098018158) 1728s # Testing script Beng (code 1113943655) 1728s # Testing script Bopo (code 1114599535) 1728s # Testing script Cher (code 1130915186) 1728s # Testing script Copt (code 1131376756) 1728s # Testing script Cyrl (code 1132032620) 1728s # Testing script Dsrt (code 1148416628) 1728s # Testing script Deva (code 1147500129) 1728s # Testing script Ethi (code 1165256809) 1728s # Testing script Geor (code 1197830002) 1728s # Testing script Goth (code 1198486632) 1728s # Testing script Grek (code 1198679403) 1728s # Testing script Gujr (code 1198877298) 1728s # Testing script Guru (code 1198879349) 1728s # Testing script Hani (code 1214344809) 1728s # Testing script Hang (code 1214344807) 1728s # Testing script Hebr (code 1214603890) 1728s # Testing script Hira (code 1214870113) 1728s # Testing script Knda (code 1265525857) 1728s # Testing script Kana (code 1264676449) 1728s # Testing script Khmr (code 1265134962) 1728s # Testing script Laoo (code 1281453935) 1728s # Testing script Latn (code 1281455214) 1728s # Testing script Mlym (code 1298954605) 1728s # Testing script Mong (code 1299148391) 1728s # Testing script Mymr (code 1299803506) 1728s # Testing script Ogam (code 1332175213) 1728s # Testing script Ital (code 1232363884) 1728s # Testing script Orya (code 1332902241) 1728s # Testing script Runr (code 1383427698) 1728s # Testing script Sinh (code 1399418472) 1728s # Testing script Syrc (code 1400468067) 1728s # Testing script Taml (code 1415671148) 1728s # Testing script Telu (code 1415933045) 1728s # Testing script Thaa (code 1416126817) 1728s # Testing script Thai (code 1416126825) 1728s # Testing script Tibt (code 1416192628) 1728s # Testing script Cans (code 1130458739) 1728s # Testing script Yiii (code 1500080489) 1728s # Testing script Tglg (code 1416064103) 1728s # Testing script Hano (code 1214344815) 1728s # Testing script Buhd (code 1114990692) 1728s # Testing script Tagb (code 1415669602) 1728s # Testing script Brai (code 1114792297) 1728s # Testing script Cprt (code 1131442804) 1728s # Testing script Limb (code 1281977698) 1728s # Testing script Osma (code 1332964705) 1728s # Testing script Shaw (code 1399349623) 1728s # Testing script Linb (code 1281977954) 1728s # Testing script Tale (code 1415670885) 1728s # Testing script Ugar (code 1432838514) 1728s # Testing script Talu (code 1415670901) 1728s # Testing script Bugi (code 1114990441) 1728s # Testing script Glag (code 1198285159) 1728s # Testing script Tfng (code 1415999079) 1728s # Testing script Sylo (code 1400466543) 1728s # Testing script Xpeo (code 1483761007) 1728s # Testing script Khar (code 1265131890) 1728s # Testing script Zzzz (code 1517976186) 1728s # Testing script Bali (code 1113681001) 1728s # Testing script Xsux (code 1483961720) 1728s # Testing script Phnx (code 1349021304) 1728s # Testing script Phag (code 1349017959) 1728s # Testing script Nkoo (code 1315663727) 1728s # Testing script Kali (code 1264675945) 1728s # Testing script Lepc (code 1281716323) 1728s # Testing script Rjng (code 1382706791) 1728s # Testing script Sund (code 1400204900) 1728s # Testing script Saur (code 1398895986) 1728s # Testing script Cham (code 1130914157) 1728s # Testing script Olck (code 1332503403) 1728s # Testing script Vaii (code 1449224553) 1728s # Testing script Cari (code 1130459753) 1728s # Testing script Lyci (code 1283023721) 1728s # Testing script Lydi (code 1283023977) 1728s # Testing script Avst (code 1098281844) 1728s # Testing script Bamu (code 1113681269) 1728s # Testing script Egyp (code 1164409200) 1728s # Testing script Armi (code 1098018153) 1728s # Testing script Phli (code 1349020777) 1728s # Testing script Prti (code 1349678185) 1728s # Testing script Java (code 1247901281) 1728s # Testing script Kthi (code 1265920105) 1728s # Testing script Lisu (code 1281979253) 1728s # Testing script Mtei (code 1299473769) 1728s # Testing script Sarb (code 1398895202) 1728s # Testing script Orkh (code 1332898664) 1728s # Testing script Samr (code 1398893938) 1728s # Testing script Lana (code 1281453665) 1728s # Testing script Tavt (code 1415673460) 1728s # Testing script Batk (code 1113683051) 1728s # Testing script Brah (code 1114792296) 1728s # Testing script Mand (code 1298230884) 1728s # Testing script Cakm (code 1130457965) 1728s # Testing script Merc (code 1298494051) 1728s # Testing script Mero (code 1298494063) 1728s # Testing script Plrd (code 1349284452) 1728s # Testing script Shrd (code 1399353956) 1728s # Testing script Sora (code 1399812705) 1728s # Testing script Takr (code 1415670642) 1728s # Testing script Bass (code 1113682803) 1728s # Testing script Aghb (code 1097295970) 1728s # Testing script Dupl (code 1148547180) 1728s # Testing script Elba (code 1164730977) 1728s # Testing script Gran (code 1198678382) 1728s # Testing script Khoj (code 1265135466) 1728s # Testing script Sind (code 1399418468) 1728s # Testing script Lina (code 1281977953) 1728s # Testing script Mahj (code 1298229354) 1728s # Testing script Mani (code 1298230889) 1728s # Testing script Mend (code 1298493028) 1728s # Testing script Modi (code 1299145833) 1728s # Testing script Mroo (code 1299345263) 1728s # Testing script Nbat (code 1315070324) 1728s # Testing script Narb (code 1315009122) 1728s # Testing script Perm (code 1348825709) 1728s # Testing script Hmng (code 1215131239) 1728s # Testing script Palm (code 1348562029) 1728s # Testing script Pauc (code 1348564323) 1728s # Testing script Phlp (code 1349020784) 1728s # Testing script Sidd (code 1399415908) 1728s # Testing script Tirh (code 1416196712) 1728s # Testing script Wara (code 1466004065) 1728s # Testing script Ahom (code 1097363309) 1728s # Testing script Hluw (code 1215067511) 1728s # Testing script Hatr (code 1214346354) 1728s # Testing script Mult (code 1299541108) 1728s # Testing script Hung (code 1215655527) 1728s # Testing script Sgnw (code 1399287415) 1728s # Testing script Adlm (code 1097100397) 1728s # Testing script Bhks (code 1114139507) 1728s # Testing script Marc (code 1298231907) 1728s # Testing script Newa (code 1315272545) 1728s # Testing script Osge (code 1332963173) 1728s # Testing script Tang (code 1415671399) 1728s # Testing script Gonm (code 1198485101) 1728s # Testing script Nshu (code 1316186229) 1728s # Testing script Soyo (code 1399814511) 1728s # Testing script Zanb (code 1516334690) 1728s # Testing script Dogr (code 1148151666) 1728s # Testing script Gong (code 1198485095) 1728s # Testing script Rohg (code 1383032935) 1728s # Testing script Maka (code 1298230113) 1728s # Testing script Medf (code 1298490470) 1728s # Testing script Sogo (code 1399809903) 1728s # Testing script Sogd (code 1399809892) 1728s # Testing script Elym (code 1164736877) 1728s # Testing script Nand (code 1315008100) 1728s # Testing script Hmnp (code 1215131248) 1728s # Testing script Wcho (code 1466132591) 1728s # Testing script Chrs (code 1130918515) 1728s # Testing script Diak (code 1147756907) 1728s # Testing script Kits (code 1265202291) 1728s # Testing script Yezi (code 1499822697) 1728s # Testing script Cpmn (code 1131441518) 1728s # Testing script Ougr (code 1333094258) 1728s # Testing script Tnsa (code 1416524641) 1728s # Testing script Toto (code 1416590447) 1728s # Testing script Vith (code 1449751656) 1728s # Testing script Kawi (code 1264678761) 1728s # Testing script Nagm (code 1315006317) 1728s ok 21 /unicode/iso15924 1728s ok 22 /unicode/lower 1728s ok 23 /unicode/mark 1728s ok 24 /unicode/mirror 1728s ok 25 /unicode/print 1728s ok 26 /unicode/punctuation 1728s ok 27 /unicode/script 1728s ok 28 /unicode/space 1728s ok 29 /unicode/strdown 1728s ok 30 /unicode/strup 1728s ok 31 /unicode/turkish-strupdown 1728s ok 32 /unicode/title 1728s ok 33 /unicode/upper 1728s ok 34 /unicode/validate 1728s ok 35 /unicode/wide 1728s ok 36 /unicode/xdigit 1728s ok 37 /unicode/xdigit-value 1728s ok 38 /unicode/zero-width 1728s ok 39 /unicode/normalize 1728s # End of unicode tests 1728s ok - glib/unicode.test 1728s # Running test: glib/macros-c-99.test 1728s TAP version 14 1728s # random seed: R02S16fda892193fcdc6edcdec501e0f559f 1728s 1..4 1728s # Start of C tests 1728s ok 1 /C/standard-99 1728s # End of C tests 1728s # Start of alignof tests 1728s ok 2 /alignof/fallback 1728s # End of alignof tests 1728s # Start of assert tests 1728s ok 3 /assert/static 1728s # End of assert tests 1728s # Start of struct tests 1728s ok 4 /struct/sizeof_member 1728s # End of struct tests 1728s ok - glib/macros-c-99.test 1728s # Running test: glib/gsubprocess.test 1728s TAP version 14 1728s # random seed: R02S98766115bf7f5e6431c436b483038ebc 1728s 1..83 1728s # Start of gsubprocess tests 1728s ok 1 /gsubprocess/noop 1728s ok 2 /gsubprocess/noop-all-to-null 1728s ok 3 /gsubprocess/noop-no-wait 1728s ok 4 /gsubprocess/noop-stdin-inherit 1728s ok 5 /gsubprocess/search-path 1728s ok 6 /gsubprocess/search-path-from-envp 1731s ok 7 /gsubprocess/signal 1731s # slow test /gsubprocess/signal executed in 3.12 secs 1731s ok 8 /gsubprocess/exit1 1731s ok 9 /gsubprocess/echo1 1731s ok 10 /gsubprocess/echo-merged 1731s ok 11 /gsubprocess/cat-utf8 1732s # Executing: glib/gsubprocess.test 1732s ok 12 /gsubprocess/cat-eof 1732s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1735s ok 13 /gsubprocess/multi1 1735s # slow test /gsubprocess/multi1 executed in 3.01 secs 1735s ok 14 /gsubprocess/communicate 1737s # Executing: glib/gsubprocess.test 1738s ok 15 /gsubprocess/terminate 1738s # slow test /gsubprocess/terminate executed in 2.96 secs 1738s ok 16 /gsubprocess/env 1738s ok 17 /gsubprocess/cwd 1738s ok 18 /gsubprocess/launcher-close 1738s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1738s ok 19 /gsubprocess/stdout-file 1738s ok 20 /gsubprocess/stdout-fd 1738s ok 21 /gsubprocess/child-setup 1738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1738s ok 22 /gsubprocess/launcher-environment 1738s # Start of exit1 tests 1738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1738s ok 23 /gsubprocess/exit1/cancel 1738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1738s ok 24 /gsubprocess/exit1/cancel_in_cb 1738s # End of exit1 tests 1738s # Start of communicate tests 1738s ok 25 /gsubprocess/communicate/cancelled 1738s ok 26 /gsubprocess/communicate/async 1738s ok 27 /gsubprocess/communicate/utf8 1738s # hello world 1738s ok 28 /gsubprocess/communicate/no-pipes 1738s ok 29 /gsubprocess/communicate/separate-stderr 1738s ok 30 /gsubprocess/communicate/stdout-only 1738s # hello world 1738s ok 31 /gsubprocess/communicate/stderr-only 1738s ok 32 /gsubprocess/communicate/stdout-silence 1738s ok 33 /gsubprocess/communicate/nothing 1738s # Start of async tests 1738s ok 34 /gsubprocess/communicate/async/cancelled 1738s # hello world 1738s ok 35 /gsubprocess/communicate/async/no-pipes 1738s ok 36 /gsubprocess/communicate/async/separate-stderr 1738s ok 37 /gsubprocess/communicate/async/stdout-only 1738s # hello world 1738s ok 38 /gsubprocess/communicate/async/stderr-only 1738s ok 39 /gsubprocess/communicate/async/stdout-silence 1738s # Start of cancelled tests 1738s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1738s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1738s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1738s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1738s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1738s # End of cancelled tests 1738s # End of async tests 1738s # Start of utf8 tests 1738s ok 45 /gsubprocess/communicate/utf8/cancelled 1738s ok 46 /gsubprocess/communicate/utf8/async 1738s # hello world 1738s ok 47 /gsubprocess/communicate/utf8/no-pipes 1738s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1738s ok 49 /gsubprocess/communicate/utf8/stdout-only 1738s # hello world 1738s ok 50 /gsubprocess/communicate/utf8/stderr-only 1738s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1738s ok 52 /gsubprocess/communicate/utf8/invalid 1738s # Start of async tests 1738s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1738s # hello world 1738s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1738s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1738s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1738s # hello world 1738s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1738s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1738s ok 59 /gsubprocess/communicate/utf8/async/invalid 1738s # Start of cancelled tests 1738s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1738s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1738s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1738s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1738s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1738s # End of cancelled tests 1738s # End of async tests 1738s # Start of cancelled tests 1738s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1738s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1738s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1738s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1738s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1738s # End of cancelled tests 1738s # End of utf8 tests 1738s # Start of cancelled tests 1738s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1738s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1738s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1738s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1738s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1738s # End of cancelled tests 1738s # End of communicate tests 1738s # Start of env tests 1738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1738s ok 75 /gsubprocess/env/inherit 1738s # End of env tests 1738s # Start of pass-fd tests 1738s ok 76 /gsubprocess/pass-fd/basic 1738s ok 77 /gsubprocess/pass-fd/empty-child-setup 1738s ok 78 /gsubprocess/pass-fd/inherit-fds 1738s # End of pass-fd tests 1738s # Start of fd-conflation tests 1738s ok 79 /gsubprocess/fd-conflation/basic 1738s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1738s ok 81 /gsubprocess/fd-conflation/inherit-fds 1738s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1738s # End of fd-conflation tests 1738s # Start of exit-status tests 1738s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1738s ok 83 /gsubprocess/exit-status/trapped 1738s # End of exit-status tests 1738s # End of gsubprocess tests 1738s ok - glib/gsubprocess.test 1738s # Running test: glib/ifaceproperties.test 1738s TAP version 14 1738s # random seed: R02S1e2f3bdcee8a928e560682e55b185617 1738s 1..7 1738s # Start of interface tests 1738s # Start of properties tests 1738s ok 1 /interface/properties/set 1738s ok 2 /interface/properties/notify 1738s ok 3 /interface/properties/find-overridden 1738s ok 4 /interface/properties/list-overridden 1738s ok 5 /interface/properties/find-interface 1738s ok 6 /interface/properties/list-interface 1738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1738s ok 7 /interface/properties/not-overridden 1738s # End of properties tests 1738s # End of interface tests 1738s ok - glib/ifaceproperties.test 1738s # Running test: glib/data-input-stream.test 1738s TAP version 14 1738s # random seed: R02S9e5bf0a2a498ba7c0615de760d4bdcb6 1738s 1..10 1738s # Start of data-input-stream tests 1738s ok 1 /data-input-stream/basic 1738s ok 2 /data-input-stream/read-lines-LF 1738s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1738s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1738s ok 5 /data-input-stream/read-lines-CR 1738s ok 6 /data-input-stream/read-lines-CR-LF 1738s ok 7 /data-input-stream/read-lines-any 1738s ok 8 /data-input-stream/read-until 1738s ok 9 /data-input-stream/read-upto 1738s ok 10 /data-input-stream/read-int 1738s # End of data-input-stream tests 1738s ok - glib/data-input-stream.test 1738s # Running test: glib/performance-threaded.test 1738s Running test "liststore-is-a" 1739s 6919 runs, min/avg/max = 0.140/0.144/0.782 ms 1739s Running test "liststore-interface-peek" 1740s 8774 runs, min/avg/max = 0.110/0.113/0.241 ms 1740s Running test "liststore-interface-peek-same" 1741s 8746 runs, min/avg/max = 0.110/0.114/0.491 ms 1741s ok - glib/performance-threaded.test 1741s # Running test: glib/gdbus-proxy-well-known-name.test 1741s TAP version 14 1741s # random seed: R02Scdd98e8a5b06d6cc33f03803b0b95380 1741s 1..1 1741s # Start of gdbus tests 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_DOTKZ2/gdbus/proxy-well-known-name/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_DOTKZ2/gdbus/proxy-well-known-name/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_DOTKZ2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_DOTKZ2/gdbus/proxy-well-known-name/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_DOTKZ2/gdbus/proxy-well-known-name/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_DOTKZ2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_DOTKZ2/gdbus/proxy-well-known-name/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_DOTKZ2/gdbus/proxy-well-known-name/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_DOTKZ2/gdbus/proxy-well-known-name/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_DOTKZ2/gdbus/proxy-well-known-name/.dirs/runtime 1741s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1741s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1741s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1741s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1741s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1741s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1741s ok 1 /gdbus/proxy-well-known-name 1741s # End of gdbus tests 1741s ok - glib/gdbus-proxy-well-known-name.test 1741s # Running test: glib/gdbus-test-codegen.test 1741s TAP version 14 1741s # random seed: R02S5ce3c03246b4aa66c9fe38654fdbf9f5 1741s 1..8 1741s # Start of gdbus tests 1741s # Start of codegen tests 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/annotations/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/annotations/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/annotations/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/annotations/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/annotations/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/annotations/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/annotations/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/annotations/.dirs/runtime 1741s ok 1 /gdbus/codegen/annotations 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/interface_stability/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/interface_stability/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/interface_stability/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/interface_stability/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/interface_stability/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/interface_stability/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/interface_stability/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/interface_stability/.dirs/runtime 1741s ok 2 /gdbus/codegen/interface_stability 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/object-manager/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/object-manager/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/object-manager/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/object-manager/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/object-manager/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/object-manager/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/object-manager/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/object-manager/.dirs/runtime 1741s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1741s ok 3 /gdbus/codegen/object-manager 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/property-naming/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/property-naming/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/property-naming/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/property-naming/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/property-naming/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/property-naming/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/property-naming/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/property-naming/.dirs/runtime 1741s ok 4 /gdbus/codegen/property-naming 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/autocleanups/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/autocleanups/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/autocleanups/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/autocleanups/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/autocleanups/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/autocleanups/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/autocleanups/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/autocleanups/.dirs/runtime 1741s ok 5 /gdbus/codegen/autocleanups 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/deprecations/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/deprecations/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/deprecations/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/deprecations/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/deprecations/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/deprecations/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/deprecations/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/deprecations/.dirs/runtime 1741s ok 6 /gdbus/codegen/deprecations 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/standalone-interface-info/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/standalone-interface-info/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/standalone-interface-info/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/standalone-interface-info/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/standalone-interface-info/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1741s ok 7 /gdbus/codegen/standalone-interface-info 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/unix-fd-list/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/unix-fd-list/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/unix-fd-list/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/unix-fd-list/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/unix-fd-list/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_11VLZ2/gdbus/codegen/unix-fd-list/.dirs/runtime 1741s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1741s ok 8 /gdbus/codegen/unix-fd-list 1741s # End of codegen tests 1741s # End of gdbus tests 1741s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1741s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1741s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1741s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1741s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1741s ok - glib/gdbus-test-codegen.test 1741s # Running test: glib/bitlock.test 1741s TAP version 14 1741s # random seed: R02Sdae3842147cc64cbbecfceeaba18985a 1741s 1..1 1741s # Start of bitlock tests 1741s # Start of performance tests 1741s # max perf: iterations per second 1741s ok 1 /bitlock/performance/uncontended 1741s # End of performance tests 1741s # End of bitlock tests 1741s ok - glib/bitlock.test 1741s # Running test: glib/dump.test 1741s TAP version 14 1741s # random seed: R02S00e33f1133678d3bf7ae9247ad7cf5aa 1741s 1..4 1741s # Start of dump tests 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_LZ7MZ2/dump/empty-file/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_LZ7MZ2/dump/empty-file/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_LZ7MZ2/dump/empty-file/.dirs/system-config1:/tmp/test_dump_LZ7MZ2/dump/empty-file/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_LZ7MZ2/dump/empty-file/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_LZ7MZ2/dump/empty-file/.dirs/system-data1:/tmp/test_dump_LZ7MZ2/dump/empty-file/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_LZ7MZ2/dump/empty-file/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_LZ7MZ2/dump/empty-file/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_LZ7MZ2/dump/empty-file/.dirs/runtime 1741s ok 1 /dump/empty-file 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_LZ7MZ2/dump/missing-get-type/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_LZ7MZ2/dump/missing-get-type/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_LZ7MZ2/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_LZ7MZ2/dump/missing-get-type/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_LZ7MZ2/dump/missing-get-type/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_LZ7MZ2/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_LZ7MZ2/dump/missing-get-type/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_LZ7MZ2/dump/missing-get-type/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_LZ7MZ2/dump/missing-get-type/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_LZ7MZ2/dump/missing-get-type/.dirs/runtime 1741s Invalid GType function: 'does_not_exist_get_type' 1741s ok 2 /dump/missing-get-type 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_LZ7MZ2/dump/missing-quark/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_LZ7MZ2/dump/missing-quark/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_LZ7MZ2/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_LZ7MZ2/dump/missing-quark/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_LZ7MZ2/dump/missing-quark/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_LZ7MZ2/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_LZ7MZ2/dump/missing-quark/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_LZ7MZ2/dump/missing-quark/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_LZ7MZ2/dump/missing-quark/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_LZ7MZ2/dump/missing-quark/.dirs/runtime 1741s Invalid error quark function: 'does_not_exist_error' 1741s ok 3 /dump/missing-quark 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_LZ7MZ2/dump/basic/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_LZ7MZ2/dump/basic/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_LZ7MZ2/dump/basic/.dirs/system-config1:/tmp/test_dump_LZ7MZ2/dump/basic/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_LZ7MZ2/dump/basic/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_LZ7MZ2/dump/basic/.dirs/system-data1:/tmp/test_dump_LZ7MZ2/dump/basic/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_LZ7MZ2/dump/basic/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_LZ7MZ2/dump/basic/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_LZ7MZ2/dump/basic/.dirs/runtime 1741s ok 4 /dump/basic 1741s # End of dump tests 1741s ok - glib/dump.test 1741s # Running test: glib/thumbnail-verification.test 1741s TAP version 14 1741s # random seed: R02Sa2bb659da3da5884311b790a0f33d43f 1741s 1..1 1741s # Start of png-thumbs tests 1741s ok 1 /png-thumbs/validity 1741s # End of png-thumbs tests 1741s ok - glib/thumbnail-verification.test 1741s # Running test: glib/slist.test 1741s TAP version 14 1741s # random seed: R02Sa8ce9845fc1e2459884f518dc4820a43 1741s 1..14 1741s # Start of slist tests 1741s ok 1 /slist/sort 1741s ok 2 /slist/sort-with-data 1741s ok 3 /slist/insert-sorted 1741s ok 4 /slist/insert-sorted-with-data 1741s ok 5 /slist/reverse 1741s ok 6 /slist/nth 1741s ok 7 /slist/remove 1741s ok 8 /slist/remove-all 1741s ok 9 /slist/insert 1741s ok 10 /slist/position 1741s ok 11 /slist/concat 1741s ok 12 /slist/copy 1741s # Start of sort tests 1741s ok 13 /slist/sort/stable 1741s # End of sort tests 1741s # Start of copy tests 1741s ok 14 /slist/copy/deep 1741s # End of copy tests 1741s # End of slist tests 1741s ok - glib/slist.test 1741s # Running test: glib/portal-support-flatpak-full.test 1741s TAP version 14 1741s # random seed: R02Se6b14abbbb78748d6f4e41878e96e1c2 1741s 1..1 1741s # Start of portal-support tests 1741s # Start of flatpak tests 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_SUNNZ2/portal-support/flatpak/full/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_SUNNZ2/portal-support/flatpak/full/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_SUNNZ2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_SUNNZ2/portal-support/flatpak/full/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_SUNNZ2/portal-support/flatpak/full/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_SUNNZ2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_SUNNZ2/portal-support/flatpak/full/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_SUNNZ2/portal-support/flatpak/full/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_SUNNZ2/portal-support/flatpak/full/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_SUNNZ2/portal-support/flatpak/full/.dirs/runtime 1741s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_SUNNZ2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1741s ok 1 /portal-support/flatpak/full 1741s # End of flatpak tests 1741s # End of portal-support tests 1741s ok - glib/portal-support-flatpak-full.test 1741s # Running test: glib/option-argv0.test 1741s TAP version 14 1741s # random seed: R02S5710252cc3c4a06ee9d15746d8aa225d 1741s 1..1 1741s # Start of option tests 1741s ok 1 /option/argv0 1741s # End of option tests 1741s ok - glib/option-argv0.test 1741s # Running test: glib/tls-bindings.test 1741s TAP version 14 1741s # random seed: R02S64f6e46a5e20252aea27d2bfcaf22c15 1741s 1..2 1741s # Start of tls-connection tests 1741s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1741s ok 1 /tls-connection/get-tls-channel-binding 1741s ok 2 /tls-connection/get-dtls-channel-binding 1741s # End of tls-connection tests 1741s ok - glib/tls-bindings.test 1741s # Running test: glib/utf8-misc.test 1741s TAP version 14 1741s # random seed: R02Scac0cdcab46a349e205ba92c9e0df594 1741s 1..7 1741s # Start of utf8 tests 1741s ok 1 /utf8/strlen 1741s ok 2 /utf8/strncpy 1741s ok 3 /utf8/strrchr 1741s ok 4 /utf8/reverse 1741s ok 5 /utf8/substring 1741s ok 6 /utf8/make-valid 1741s ok 7 /utf8/truncate-middle 1741s # End of utf8 tests 1741s ok - glib/utf8-misc.test 1741s # Running test: glib/gdbus-connection-flush.test 1741s TAP version 14 1741s # random seed: R02Sc058d870d409d23a01270b2c28b8b22d 1741s 1..2 1741s # Start of gdbus tests 1741s # Start of connection tests 1741s # Start of flush tests 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/busy/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/busy/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/busy/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/busy/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/busy/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/busy/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/busy/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/busy/.dirs/runtime 1741s ok 1 /gdbus/connection/flush/busy 1741s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/idle/.dirs/home 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/idle/.dirs/cache 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/idle/.dirs/system-config2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/idle/.dirs/config 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/idle/.dirs/system-data2 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/idle/.dirs/data 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/idle/.dirs/state 1741s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_THDOZ2/gdbus/connection/flush/idle/.dirs/runtime 1741s ok 2 /gdbus/connection/flush/idle 1741s # End of flush tests 1741s # End of connection tests 1741s # End of gdbus tests 1741s ok - glib/gdbus-connection-flush.test 1741s # Running test: glib/network-address.test 1741s TAP version 14 1741s # random seed: R02Sb23973992b91393906e39f5a5d037c87 1741s 1..72 1741s # Start of network-address tests 1741s ok 1 /network-address/basic 1741s ok 2 /network-address/scope-id 1741s ok 3 /network-address/uri-scope-id 1741s ok 4 /network-address/to-string 1741s # Start of parse-host tests 1741s ok 5 /network-address/parse-host/0 1741s ok 6 /network-address/parse-host/1 1741s ok 7 /network-address/parse-host/2 1741s ok 8 /network-address/parse-host/3 1741s ok 9 /network-address/parse-host/4 1741s ok 10 /network-address/parse-host/5 1741s ok 11 /network-address/parse-host/6 1741s ok 12 /network-address/parse-host/7 1741s ok 13 /network-address/parse-host/8 1741s ok 14 /network-address/parse-host/9 1741s ok 15 /network-address/parse-host/10 1741s ok 16 /network-address/parse-host/11 1741s ok 17 /network-address/parse-host/12 1741s ok 18 /network-address/parse-host/13 1741s # End of parse-host tests 1741s # Start of parse-uri tests 1741s ok 19 /network-address/parse-uri/0 1741s ok 20 /network-address/parse-uri/1 1741s ok 21 /network-address/parse-uri/2 1741s ok 22 /network-address/parse-uri/3 1741s ok 23 /network-address/parse-uri/4 1741s ok 24 /network-address/parse-uri/5 1741s ok 25 /network-address/parse-uri/6 1741s ok 26 /network-address/parse-uri/7 1741s ok 27 /network-address/parse-uri/8 1741s ok 28 /network-address/parse-uri/9 1741s # End of parse-uri tests 1741s # Start of resolve-address tests 1741s # Input: 192.168.1.2 1741s ok 29 /network-address/resolve-address/0 1741s # Input: fe80::42 1741s ok 30 /network-address/resolve-address/1 1741s # Input: 192.168.1.2:80 1741s ok 31 /network-address/resolve-address/2 1741s # Input: [fe80::42] 1741s ok 32 /network-address/resolve-address/3 1741s # Input: [fe80::42]:80 1741s ok 33 /network-address/resolve-address/4 1741s # Input: 192.168.258 1741s ok 34 /network-address/resolve-address/5 1741s # Input: 192.11010306 1741s ok 35 /network-address/resolve-address/6 1741s # Input: 3232235778 1741s ok 36 /network-address/resolve-address/7 1741s # Input: 0300.0250.0001.0001 1741s ok 37 /network-address/resolve-address/8 1741s # Input: 0xC0.0xA8.0x01.0x02 1741s ok 38 /network-address/resolve-address/9 1741s # Input: 0xc0.0xa8.0x01.0x02 1741s ok 39 /network-address/resolve-address/10 1741s # Input: 0xc0a80102 1741s ok 40 /network-address/resolve-address/11 1741s # End of resolve-address tests 1741s # Start of loopback tests 1741s ok 41 /network-address/loopback/basic 1741s ok 42 /network-address/loopback/sync 1741s ok 43 /network-address/loopback/async 1741s # End of loopback tests 1741s # Start of localhost tests 1741s ok 44 /network-address/localhost/async 1741s ok 45 /network-address/localhost/sync 1741s # End of localhost tests 1741s # Start of happy-eyeballs tests 1741s ok 46 /network-address/happy-eyeballs/basic 1742s ok 47 /network-address/happy-eyeballs/parallel 1742s ok 48 /network-address/happy-eyeballs/slow-ipv4 1742s # Executing: glib/network-address.test 1742s ok 49 /network-address/happy-eyeballs/slow-ipv6 1742s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1743s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1743s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1743s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1743s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1743s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1743s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1743s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1743s # /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. 1743s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1743s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1743s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1743s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1743s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1743s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1743s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1743s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1743s ok 57 /network-address/happy-eyeballs/both-error 1743s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1743s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1743s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1743s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1743s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1743s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1743s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1743s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1743s # End of happy-eyeballs tests 1743s # End of network-address tests 1743s # Start of gresolver tests 1743s # Start of resolve-address tests 1743s # Input: 192.168.1.2 1743s ok 61 /gresolver/resolve-address/0 1743s # Input: fe80::42 1743s ok 62 /gresolver/resolve-address/1 1743s # Input: 192.168.1.2:80 1743s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1743s ok 63 /gresolver/resolve-address/2 1743s # Input: [fe80::42] 1743s # Error: Error resolving ?[fe80::42]?: Name or service not known 1743s ok 64 /gresolver/resolve-address/3 1743s # Input: [fe80::42]:80 1743s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1743s ok 65 /gresolver/resolve-address/4 1743s # Input: 192.168.258 1743s # Error: Error resolving ?192.168.258?: Name or service not known 1743s ok 66 /gresolver/resolve-address/5 1743s # Input: 192.11010306 1743s # Error: Error resolving ?192.11010306?: Name or service not known 1743s ok 67 /gresolver/resolve-address/6 1743s # Input: 3232235778 1743s # Error: Error resolving ?3232235778?: Name or service not known 1743s ok 68 /gresolver/resolve-address/7 1743s # Input: 0300.0250.0001.0001 1743s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1743s ok 69 /gresolver/resolve-address/8 1743s # Input: 0xC0.0xA8.0x01.0x02 1743s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1743s ok 70 /gresolver/resolve-address/9 1743s # Input: 0xc0.0xa8.0x01.0x02 1743s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1743s ok 71 /gresolver/resolve-address/10 1743s # Input: 0xc0a80102 1743s # Error: Error resolving ?0xc0a80102?: Name or service not known 1743s ok 72 /gresolver/resolve-address/11 1743s # End of resolve-address tests 1743s # End of gresolver tests 1743s ok - glib/network-address.test 1743s # Running test: glib/memory-settings-backend.test 1743s TAP version 14 1743s # random seed: R02Sa7a30c1f85722a409c82033b9734a1f8 1743s 1..1 1743s # Start of memory-settings-backend tests 1743s ok 1 /memory-settings-backend/extension-point-registered 1743s # End of memory-settings-backend tests 1743s ok - glib/memory-settings-backend.test 1743s # Running test: glib/rwlock.test 1743s TAP version 14 1743s # random seed: R02S651630a363409d6f95cec118d48e47a4 1743s 1..8 1743s # Start of thread tests 1743s ok 1 /thread/rwlock1 1743s ok 2 /thread/rwlock2 1743s ok 3 /thread/rwlock3 1743s ok 4 /thread/rwlock4 1743s ok 5 /thread/rwlock5 1743s ok 6 /thread/rwlock6 1746s ok 7 /thread/rwlock7 1746s # slow test /thread/rwlock7 executed in 2.84 secs 1746s ok 8 /thread/rwlock8 1746s # End of thread tests 1746s ok - glib/rwlock.test 1746s # Running test: glib/network-monitor-race.test 1746s TAP version 14 1746s # random seed: R02Sb47193f81e3e1820945d57eeabbbe77f 1746s 1..1 1746s # Start of network-monitor tests 1746s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1747s # Executing: glib/network-monitor-race.test 1748s ok 1 /network-monitor/create-in-thread 1748s # slow test /network-monitor/create-in-thread executed in 2.23 secs 1748s # End of network-monitor tests 1748s ok - glib/network-monitor-race.test 1748s # Running test: glib/win32-appinfo.test 1748s TAP version 14 1748s # random seed: R02S0fe7b47ee6c9eb5c44b576d4eb9486f9 1748s 1..5 1748s # Start of appinfo tests 1748s ok 1 /appinfo/utf16-strfuncs 1748s ok 2 /appinfo/win32-extract-executable 1748s ok 3 /appinfo/win32-rundll32-fixup 1748s ok 4 /appinfo/win32-parse-filename 1748s ok 5 /appinfo/win32-utf16-conversion-fail 1748s # Start of subprocess tests 1748s # End of subprocess tests 1748s # End of appinfo tests 1748s ok - glib/win32-appinfo.test 1748s # Running test: glib/guuid.test 1748s TAP version 14 1748s # random seed: R02S9fa3db3226ac0a37838365b846f48d0e 1748s 1..2 1748s # Start of uuid tests 1748s ok 1 /uuid/string 1748s ok 2 /uuid/random 1748s # End of uuid tests 1748s ok - glib/guuid.test 1748s # Running test: glib/data-output-stream.test 1748s TAP version 14 1748s # random seed: R02S95642b21cc37c4566c161e485829a4ba 1748s 1..7 1748s # Start of data-output-stream tests 1748s ok 1 /data-output-stream/basic 1748s ok 2 /data-output-stream/write-lines-LF 1748s ok 3 /data-output-stream/write-lines-CR 1748s ok 4 /data-output-stream/write-lines-CR-LF 1748s ok 5 /data-output-stream/write-int 1748s ok 6 /data-output-stream/seek 1748s ok 7 /data-output-stream/truncate 1748s # End of data-output-stream tests 1748s ok - glib/data-output-stream.test 1748s # Running test: glib/gutils-user-database.test 1748s TAP version 14 1748s # random seed: R02S73baf2b61a2ef379e3c18dc275ee8468 1748s 1..1 1748s # Start of gutils tests 1748s ok 1 /gutils/get_user_database_entry 1748s # End of gutils tests 1748s ok - glib/gutils-user-database.test 1748s # Running test: glib/unix-fd.test 1748s TAP version 14 1748s # random seed: R02S0d0ed866d723143143521b10df730bd8 1748s 1..2 1748s # Start of unix-fd tests 1748s ok 1 /unix-fd/fd-list 1748s ok 2 /unix-fd/scm 1748s # End of unix-fd tests 1748s ok - glib/unix-fd.test 1748s # Running test: glib/portal-support-flatpak-none.test 1748s TAP version 14 1748s # random seed: R02Sa1a766d803737a9889d5994771d5f00d 1748s 1..1 1748s # Start of portal-support tests 1748s # Start of flatpak tests 1748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_K3ALZ2/portal-support/flatpak/none/.dirs/home 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_K3ALZ2/portal-support/flatpak/none/.dirs/cache 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_K3ALZ2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_K3ALZ2/portal-support/flatpak/none/.dirs/system-config2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_K3ALZ2/portal-support/flatpak/none/.dirs/config 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_K3ALZ2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_K3ALZ2/portal-support/flatpak/none/.dirs/system-data2 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_K3ALZ2/portal-support/flatpak/none/.dirs/data 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_K3ALZ2/portal-support/flatpak/none/.dirs/state 1748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_K3ALZ2/portal-support/flatpak/none/.dirs/runtime 1748s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_K3ALZ2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1748s ok 1 /portal-support/flatpak/none 1748s # End of flatpak tests 1748s # End of portal-support tests 1748s ok - glib/portal-support-flatpak-none.test 1748s # Running test: glib/sort.test 1748s TAP version 14 1748s # random seed: R02S9c94e25a2b4fe1a29accb899c6bcecb7 1748s 1..5 1748s # Start of sort tests 1748s ok 1 /sort/basic 1748s ok 2 /sort/zero-elements 1748s ok 3 /sort/stable 1748s ok 4 /sort/big 1748s ok 5 /sort/deprecated 1748s # End of sort tests 1748s ok - glib/sort.test 1748s # Running test: glib/boxed.test 1748s TAP version 14 1748s # random seed: R02S5e13ec46a292dc887cf78cd84b704bc4 1748s 1..27 1748s # Start of boxed tests 1748s ok 1 /boxed/define 1748s ok 2 /boxed/ownership 1748s ok 3 /boxed/closure 1748s ok 4 /boxed/date 1748s ok 5 /boxed/value 1748s ok 6 /boxed/string 1748s ok 7 /boxed/hashtable 1748s ok 8 /boxed/array 1748s ok 9 /boxed/ptrarray 1748s ok 10 /boxed/regex 1748s ok 11 /boxed/varianttype 1748s ok 12 /boxed/error 1748s ok 13 /boxed/datetime 1748s ok 14 /boxed/matchinfo 1748s ok 15 /boxed/keyfile 1748s ok 16 /boxed/mainloop 1748s ok 17 /boxed/maincontext 1748s ok 18 /boxed/source 1748s ok 19 /boxed/variantbuilder 1748s ok 20 /boxed/timezone 1748s ok 21 /boxed/pollfd 1748s ok 22 /boxed/markup 1748s ok 23 /boxed/thread 1748s ok 24 /boxed/checksum 1748s ok 25 /boxed/tree 1748s ok 26 /boxed/patternspec 1748s ok 27 /boxed/rand 1748s # End of boxed tests 1748s ok - glib/boxed.test 1748s # Running test: glib/performance.test 1748s Running test simple-construction 1752s # Executing: glib/performance.test 1757s # Executing: glib/performance.test 1758s simple-construction: Millions of constructed objects per second: 9.828 1758s Running test simple-construction1 1760s simple-construction1: Millions of constructed objects per second: 67.283 1760s Running test complex-construction 1762s # Executing: glib/performance.test 1764s complex-construction: Millions of constructed objects per second: 4.233 1764s Running test complex-construction1 1767s # Executing: glib/performance.test 1769s complex-construction1: Millions of constructed objects per second: 6.596 1769s Running test complex-construction2 1772s # Executing: glib/performance.test 1774s complex-construction2: Millions of constructed objects per second: 7.256 1774s Running test finalization 1776s finalization: Millions of finalized objects per second: 1.717 1776s Running test type-check 1777s type-check: Million type checks per second: 39.65 1777s Running test emit-unhandled 1777s # Executing: glib/performance.test 1778s emit-unhandled: Emissions per second: 2507206 1778s Running test emit-unhandled-empty 1779s emit-unhandled-empty: Emissions per second: 23789559 1779s Running test emit-unhandled-generic 1780s emit-unhandled-generic: Emissions per second: 3654159 1780s Running test emit-unhandled-generic-empty 1781s emit-unhandled-generic-empty: Emissions per second: 23997904 1781s Running test emit-unhandled-args 1782s # Executing: glib/performance.test 1782s emit-unhandled-args: Emissions per second: 2189179 1782s Running test emit-handled 1783s emit-handled: Emissions per second: 1667293 1783s Running test emit-handled-empty 1784s emit-handled-empty: Emissions per second: 1731968 1784s Running test emit-handled-generic 1785s emit-handled-generic: Emissions per second: 1734776 1785s Running test emit-handled-generic-empty 1786s emit-handled-generic-empty: Emissions per second: 2970449 1786s Running test emit-handled-args 1787s # Executing: glib/performance.test 1787s emit-handled-args: Emissions per second: 1554286 1787s Running test notify-unhandled 1788s notify-unhandled: Notify (unhandled) per second: 10530011 1788s Running test notify-by-pspec-unhandled 1789s notify-by-pspec-unhandled: Notify (unhandled) per second: 75050633 1789s Running test notify-handled 1790s notify-handled: Notify per second: 1007640 1790s Running test notify-by-pspec-handled 1791s notify-by-pspec-handled: Notify per second: 1111405 1791s Running test property-set 1792s # Executing: glib/performance.test 1792s property-set: Property set per second: 10063020 1792s Running test property-get 1793s property-get: Property get per second: 9100961 1793s Running test refcount 1795s refcount: Million refs+unref per second: 16.75 1795s Running test refcount-1 1796s refcount-1: Million refs+unref per second: 40.54 1796s Running test refcount-toggle 1797s # Executing: glib/performance.test 1797s refcount-toggle: Million refs+unref per second: 24.28 1797s ok - glib/performance.test 1797s # Running test: glib/portal-support-flatpak-gsettings-only.test 1797s TAP version 14 1797s # random seed: R02Sc111e31c58dd135ce9830e763766c021 1797s 1..1 1797s # Start of portal-support tests 1797s # Start of flatpak tests 1797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_BLVXZ2/portal-support/flatpak/gsettings/.dirs/home 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_BLVXZ2/portal-support/flatpak/gsettings/.dirs/cache 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_BLVXZ2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_BLVXZ2/portal-support/flatpak/gsettings/.dirs/system-config2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_BLVXZ2/portal-support/flatpak/gsettings/.dirs/config 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_BLVXZ2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_BLVXZ2/portal-support/flatpak/gsettings/.dirs/system-data2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_BLVXZ2/portal-support/flatpak/gsettings/.dirs/data 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_BLVXZ2/portal-support/flatpak/gsettings/.dirs/state 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_BLVXZ2/portal-support/flatpak/gsettings/.dirs/runtime 1797s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_BLVXZ2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1797s ok 1 /portal-support/flatpak/gsettings 1797s # End of flatpak tests 1797s # End of portal-support tests 1797s ok - glib/portal-support-flatpak-gsettings-only.test 1797s # Running test: glib/union-info.test 1797s TAP version 14 1797s # random seed: R02S095934650d5d6172de525b5316940bd0 1797s 1..2 1797s # Start of union-info tests 1797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_I01XZ2/union-info/basic/.dirs/home 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_I01XZ2/union-info/basic/.dirs/cache 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_I01XZ2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_I01XZ2/union-info/basic/.dirs/system-config2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_I01XZ2/union-info/basic/.dirs/config 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_I01XZ2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_I01XZ2/union-info/basic/.dirs/system-data2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_I01XZ2/union-info/basic/.dirs/data 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_I01XZ2/union-info/basic/.dirs/state 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_I01XZ2/union-info/basic/.dirs/runtime 1797s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1797s # /union-info/basic summary: Test basic properties of GIUnionInfo 1797s ok 1 /union-info/basic 1797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_I01XZ2/union-info/methods/.dirs/home 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_I01XZ2/union-info/methods/.dirs/cache 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_I01XZ2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_I01XZ2/union-info/methods/.dirs/system-config2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_I01XZ2/union-info/methods/.dirs/config 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_I01XZ2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_I01XZ2/union-info/methods/.dirs/system-data2 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_I01XZ2/union-info/methods/.dirs/data 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_I01XZ2/union-info/methods/.dirs/state 1797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_I01XZ2/union-info/methods/.dirs/runtime 1797s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1797s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1797s ok 2 /union-info/methods 1797s # End of union-info tests 1797s ok - glib/union-info.test 1797s # Running test: glib/defaultvalue.test 1797s TAP version 14 1797s # random seed: R02Sbad0e209e72f29209f6d00cdc4078bd8 1797s 1..84 1797s # Start of Default Values tests 1797s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1797s ok 2 /Default Values/GAppLaunchContext 1797s ok 3 /Default Values/GApplicationCommandLine 1797s # skipping GApplication:is-remote 1797s ok 4 /Default Values/GApplication 1797s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1797s ok 6 /Default Values/GBindingGroup 1797s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1797s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1797s ok 9 /Default Values/GBytesIcon 1797s ok 10 /Default Values/GCancellable 1797s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1797s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1797s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1797s ok 14 /Default Values/GCredentials 1797s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1797s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1797s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1797s ok 18 /Default Values/GDBusAuthObserver 1797s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1797s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1797s ok 21 /Default Values/GDBusMessage 1797s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1797s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1797s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1797s ok 25 /Default Values/GDBusObjectProxy 1797s ok 26 /Default Values/GDBusObjectSkeleton 1797s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1797s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1797s ok 29 /Default Values/GEmblem 1797s ok 30 /Default Values/GEmblemedIcon 1797s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1797s ok 32 /Default Values/GFileInfo 1797s ok 33 /Default Values/GFileInputStream 1797s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1797s ok 35 /Default Values/GFileOutputStream 1797s ok 36 /Default Values/GFilenameCompleter 1797s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1797s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1797s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1797s ok 40 /Default Values/GInitiallyUnowned 1797s ok 41 /Default Values/GIOModule 1797s ok 42 /Default Values/GListStore 1797s ok 43 /Default Values/GMemoryInputStream 1797s ok 44 /Default Values/GMemoryOutputStream 1797s ok 45 /Default Values/GMenu 1797s ok 46 /Default Values/GMenuItem 1797s ok 47 /Default Values/GMountOperation 1797s ok 48 /Default Values/GNativeSocketAddress 1797s ok 49 /Default Values/GNetworkAddress 1797s ok 50 /Default Values/GNetworkService 1797s ok 51 /Default Values/GNotification 1797s ok 52 /Default Values/GObject 1797s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1797s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1797s # skipping GProxyAddressEnumerator:proxy-resolver 1797s ok 54 /Default Values/GProxyAddressEnumerator 1797s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1797s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1797s ok 57 /Default Values/GSignalGroup 1797s ok 58 /Default Values/GSimpleAction 1797s ok 59 /Default Values/GSimpleActionGroup 1797s ok 60 /Default Values/GSimpleAsyncResult 1797s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1797s ok 62 /Default Values/GSimplePermission 1797s ok 63 /Default Values/GSimpleProxyResolver 1797s # skipping GSocketClient:proxy-resolver 1797s ok 64 /Default Values/GSocketClient 1797s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1797s ok 66 /Default Values/GSocket # SKIP initialization failed 1797s ok 67 /Default Values/GSocketListener 1797s ok 68 /Default Values/GSocketService 1797s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1797s ok 70 /Default Values/GSubprocessLauncher 1797s # GLib-GIO-DEBUG: GTask 0xb510ff8 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1797s ok 71 /Default Values/GTask 1797s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1797s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1797s ok 74 /Default Values/GTestDBus 1797s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1797s ok 76 /Default Values/GThreadedSocketService 1797s ok 77 /Default Values/GTlsInteraction 1797s ok 78 /Default Values/GTlsPassword 1797s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1797s ok 80 /Default Values/GUnixFDList 1797s ok 81 /Default Values/GVfs 1797s ok 82 /Default Values/GVolumeMonitor 1797s ok 83 /Default Values/GZlibCompressor 1797s ok 84 /Default Values/GZlibDecompressor 1797s # End of Default Values tests 1797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1797s ok - glib/defaultvalue.test 1797s # Running test: glib/threadtests.test 1797s TAP version 14 1797s # random seed: R02Sce66721d74b3ad32dea4fea202a59274 1797s 1..5 1797s # Start of GObject tests 1797s ok 1 /GObject/threaded-object-init 1798s ok 2 /GObject/threaded-weak-ref 1798s # slow test /GObject/threaded-weak-ref executed in 1.18 secs 1798s ok 3 /GObject/threaded-toggle-notify # SKIP Not reliable on 32-bit ARM 1798s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1798s # Start of threaded-weak-ref tests 1798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1798s # /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. 1798s ok 5 /GObject/threaded-weak-ref/on-finalization 1798s # End of threaded-weak-ref tests 1798s # End of GObject tests 1798s ok - glib/threadtests.test 1798s # Running test: glib/gdbus-close-pending.test 1798s TAP version 14 1798s # random seed: R02Seb4b5576d8ae2e1e0003ae717a6ad1aa 1798s 1..2 1798s # Start of gdbus tests 1798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/close-pending/.dirs/home 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/close-pending/.dirs/cache 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_5SF3Z2/gdbus/close-pending/.dirs/system-config2 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/close-pending/.dirs/config 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_5SF3Z2/gdbus/close-pending/.dirs/system-data2 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/close-pending/.dirs/data 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/close-pending/.dirs/state 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/close-pending/.dirs/runtime 1798s ok 1 /gdbus/close-pending 1798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/unref-pending/.dirs/home 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/unref-pending/.dirs/cache 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_5SF3Z2/gdbus/unref-pending/.dirs/system-config2 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/unref-pending/.dirs/config 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_5SF3Z2/gdbus/unref-pending/.dirs/system-data2 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/unref-pending/.dirs/data 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/unref-pending/.dirs/state 1798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_5SF3Z2/gdbus/unref-pending/.dirs/runtime 1799s ok 2 /gdbus/unref-pending 1799s # End of gdbus tests 1799s ok - glib/gdbus-close-pending.test 1799s # Running test: glib/mount-operation.test 1799s TAP version 14 1799s # random seed: R02S492e40d89ecb73be5c84097d2c452659 1799s 1..2 1799s # Start of mount-operation tests 1799s ok 1 /mount-operation/construction 1799s ok 2 /mount-operation/properties 1799s # End of mount-operation tests 1799s ok - glib/mount-operation.test 1799s # Running test: glib/gdbus-threading.test 1799s TAP version 14 1799s # random seed: R02S554393a4498de43fb347a6ef01265e67 1799s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1799s ok - glib/gdbus-threading.test 1799s # Running test: glib/thread-pool-slow.test 1799s TAP version 14 1799s # random seed: R02S58b43bc365443be77715a1cc5f648977 1799s 1..7 1799s # Start of threadpool tests 1799s ok 1 /threadpool/functions 1799s ok 2 /threadpool/stop-unused 1799s # slow test /threadpool/stop-unused executed in 0.51 secs 1799s ok 3 /threadpool/pools 1799s # [unsorted] ===> pushed new thread with id:4, number of threads:1, unprocessed:1 1799s # [unsorted] ===> pushed new thread with id:7, number of threads:2, unprocessed:2 1799s # [unsorted] ===> pushed new thread with id:85, number of threads:3, unprocessed:3 1799s # [unsorted] ===> pushed new thread with id:100, number of threads:4, unprocessed:4 1799s # [unsorted] ===> pushed new thread with id:83, number of threads:5, unprocessed:5 1799s # [unsorted] ===> pushed new thread with id:61, number of threads:6, unprocessed:6 1799s # [unsorted] ===> pushed new thread with id:2, number of threads:7, unprocessed:7 1799s # [unsorted] ===> pushed new thread with id:46, number of threads:8, unprocessed:8 1799s # [unsorted] ===> pushed new thread with id:8, number of threads:9, unprocessed:1 1799s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:2 1799s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:1 1799s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:2 1799s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:3 1799s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:4 1799s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:5 1799s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:6 1799s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:7 1799s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:8 1799s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:9 1799s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:10 1799s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:11 1799s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:12 1799s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:13 1799s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:14 1799s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:15 1799s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:16 1799s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:17 1799s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:18 1799s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:19 1799s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:20 1799s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:21 1799s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:22 1799s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:23 1799s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:24 1799s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:25 1799s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:26 1799s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:27 1799s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:28 1799s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:29 1799s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:30 1799s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:31 1799s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:32 1799s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:33 1799s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:34 1799s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:35 1799s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:36 1799s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:37 1799s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:38 1799s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:39 1799s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:40 1799s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:41 1799s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:42 1799s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:43 1799s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:44 1799s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:45 1799s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:46 1799s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:47 1799s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:48 1799s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:49 1799s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:50 1799s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:51 1799s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:52 1799s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:53 1799s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:54 1799s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:55 1799s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:56 1799s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:57 1799s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:58 1799s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:59 1799s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:60 1799s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:61 1799s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:62 1799s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:63 1799s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:64 1799s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:65 1799s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:66 1799s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:67 1799s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:68 1799s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:69 1799s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:70 1799s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:71 1799s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:72 1799s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:73 1799s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:74 1799s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:75 1799s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:76 1799s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:77 1799s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:78 1799s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:79 1799s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:80 1799s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:81 1799s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:82 1799s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:83 1799s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:84 1799s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:85 1799s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:86 1799s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:87 1799s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:88 1799s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:89 1799s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:90 1799s ok 4 /threadpool/no-sort 1799s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:1 1799s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:2 1799s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:3 1799s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:4 1799s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:5 1799s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:6 1799s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:7 1799s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:8 1799s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:9 1799s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:10 1799s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:11 1799s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:12 1799s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:13 1799s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:14 1799s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:15 1799s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:16 1799s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:17 1799s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:18 1799s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:19 1799s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:20 1799s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:21 1799s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:22 1799s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:23 1799s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:24 1799s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:25 1799s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:26 1799s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:27 1799s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:28 1799s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:29 1799s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:30 1799s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:31 1799s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:32 1799s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:33 1799s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:34 1799s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:35 1799s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:36 1799s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:37 1799s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:38 1799s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:39 1799s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:40 1799s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:41 1799s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:42 1799s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:43 1799s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:44 1799s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:45 1799s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:46 1799s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:47 1799s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:48 1799s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:49 1799s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:50 1799s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:51 1799s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:52 1799s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:53 1799s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:54 1799s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:55 1799s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:56 1799s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:57 1799s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:58 1799s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:59 1799s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:60 1799s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:61 1799s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:62 1799s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:63 1799s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:64 1799s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:65 1799s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:66 1799s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:67 1799s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:68 1799s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:69 1799s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:70 1799s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:71 1799s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:72 1799s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:73 1799s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:74 1799s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:75 1799s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:76 1799s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:77 1799s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:78 1799s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:79 1799s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:80 1799s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:81 1799s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:82 1799s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:83 1799s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:84 1799s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:85 1799s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:86 1799s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:87 1799s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:88 1799s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:89 1799s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:90 1799s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:91 1799s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:92 1799s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:93 1799s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:94 1799s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:95 1799s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:96 1799s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:97 1799s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:98 1799s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:99 1799s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:100 1799s # Starting thread pool processing 1799s ok 5 /threadpool/sort 1800s ok 6 /threadpool/stop-unused-multiple 1800s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1800s # Pool idle thread count: 0, unprocessed jobs: 40 1801s # Pool idle thread count: 0, unprocessed jobs: 0 1801s # Pool idle thread count: 0, unprocessed jobs: 0 1801s # Pool idle thread count: 10, unprocessed jobs: 0 1801s # Pool idle thread count: 10, unprocessed jobs: 0 1801s # Pool idle thread count: 10, unprocessed jobs: 0 1801s # Pool idle thread count: 10, unprocessed jobs: 0 1802s # Executing: glib/thread-pool-slow.test 1802s # Pool idle thread count: 10, unprocessed jobs: 0 1802s # Pool idle thread count: 10, unprocessed jobs: 0 1802s # Pool idle thread count: 10, unprocessed jobs: 0 1802s # Pool idle thread count: 10, unprocessed jobs: 0 1803s # Pool idle thread count: 10, unprocessed jobs: 0 1803s # Pool idle thread count: 10, unprocessed jobs: 0 1803s # Pool idle thread count: 10, unprocessed jobs: 0 1803s # Pool idle thread count: 10, unprocessed jobs: 0 1804s # Pool idle thread count: 10, unprocessed jobs: 0 1804s # Pool idle thread count: 10, unprocessed jobs: 0 1804s # Pool idle thread count: 10, unprocessed jobs: 0 1804s # Pool idle thread count: 10, unprocessed jobs: 0 1805s # Pool idle thread count: 10, unprocessed jobs: 0 1805s # Pool idle thread count: 10, unprocessed jobs: 0 1805s # Pool idle thread count: 10, unprocessed jobs: 0 1805s # Pool idle thread count: 10, unprocessed jobs: 0 1806s # Pool idle thread count: 10, unprocessed jobs: 0 1806s # Pool idle thread count: 10, unprocessed jobs: 0 1806s # Pool idle thread count: 10, unprocessed jobs: 0 1806s # Pool idle thread count: 10, unprocessed jobs: 0 1807s # Executing: glib/thread-pool-slow.test 1807s # Pool idle thread count: 10, unprocessed jobs: 0 1807s # Pool idle thread count: 10, unprocessed jobs: 0 1807s # Pool idle thread count: 10, unprocessed jobs: 0 1807s # Pool idle thread count: 10, unprocessed jobs: 0 1808s # Pool idle thread count: 10, unprocessed jobs: 0 1808s # Pool idle thread count: 10, unprocessed jobs: 0 1808s # Pool idle thread count: 10, unprocessed jobs: 0 1808s # Pool idle thread count: 10, unprocessed jobs: 0 1809s # Pool idle thread count: 10, unprocessed jobs: 2 1809s # Pool idle thread count: 10, unprocessed jobs: 2 1809s # Pool idle thread count: 8, unprocessed jobs: 0 1809s # Pool idle thread count: 8, unprocessed jobs: 0 1809s # Pool idle thread count: 10, unprocessed jobs: 0 1809s # Pool idle thread count: 10, unprocessed jobs: 0 1810s # Pool idle thread count: 10, unprocessed jobs: 0 1810s # Pool idle thread count: 10, unprocessed jobs: 0 1810s # Pool idle thread count: 10, unprocessed jobs: 0 1810s # Pool idle thread count: 10, unprocessed jobs: 0 1811s # Pool idle thread count: 2, unprocessed jobs: 0 1811s # Pool idle thread count: 2, unprocessed jobs: 0 1811s # Pool idle thread count: 2, unprocessed jobs: 0 1811s # Pool idle thread count: 2, unprocessed jobs: 0 1812s # Executing: glib/thread-pool-slow.test 1812s # Pool idle thread count: 2, unprocessed jobs: 0 1812s # Pool idle thread count: 2, unprocessed jobs: 0 1812s # Pool idle thread count: 2, unprocessed jobs: 0 1812s # Pool idle thread count: 2, unprocessed jobs: 0 1813s # Pool idle thread count: 2, unprocessed jobs: 0 1813s # Pool idle thread count: 2, unprocessed jobs: 0 1813s # Pool idle thread count: 2, unprocessed jobs: 0 1813s # Pool idle thread count: 2, unprocessed jobs: 0 1814s # Pool idle thread count: 2, unprocessed jobs: 0 1814s # Pool idle thread count: 2, unprocessed jobs: 0 1814s # Pool idle thread count: 2, unprocessed jobs: 0 1814s # Pool idle thread count: 2, unprocessed jobs: 0 1815s # Pool idle thread count: 2, unprocessed jobs: 0 1815s # Pool idle thread count: 2, unprocessed jobs: 0 1815s # Pool idle thread count: 2, unprocessed jobs: 0 1815s # Pool idle thread count: 2, unprocessed jobs: 0 1816s # Pool idle thread count: 2, unprocessed jobs: 0 1816s # Pool idle thread count: 2, unprocessed jobs: 0 1816s # Pool idle thread count: 2, unprocessed jobs: 0 1816s # Pool idle thread count: 2, unprocessed jobs: 0 1817s # Executing: glib/thread-pool-slow.test 1817s # Pool idle thread count: 2, unprocessed jobs: 0 1817s # Pool idle thread count: 2, unprocessed jobs: 0 1817s # Pool idle thread count: 2, unprocessed jobs: 0 1817s # Pool idle thread count: 2, unprocessed jobs: 0 1818s # Pool idle thread count: 2, unprocessed jobs: 0 1818s # Pool idle thread count: 2, unprocessed jobs: 0 1818s # Pool idle thread count: 2, unprocessed jobs: 0 1818s # Pool idle thread count: 2, unprocessed jobs: 0 1819s # Pool idle thread count: 2, unprocessed jobs: 0 1819s # Pool idle thread count: 2, unprocessed jobs: 0 1819s ok 7 /threadpool/idle-time 1819s # slow test /threadpool/idle-time executed in 19.53 secs 1819s # End of threadpool tests 1819s ok - glib/thread-pool-slow.test 1819s # Running test: glib/spawn-multithreaded.test 1819s TAP version 14 1819s # random seed: R02S47fdcb62e395da707225b77669719b2e 1819s 1..4 1819s # Start of gthread tests 1820s # Child 14836 (ttl 1) exited, status 0 1821s # Child 14837 (ttl 2) exited, status 0 1821s ok 1 /gthread/spawn-childs 1821s # slow test /gthread/spawn-childs executed in 2.00 secs 1821s # Created pid: 14841 (ttl 1) 1821s # Created pid: 14842 (ttl 2) 1822s # Executing: glib/spawn-multithreaded.test 1822s # Child 14841 (ttl 1) exited, status 0 1823s # Child 14842 (ttl 2) exited, status 0 1823s ok 2 /gthread/spawn-childs-threads 1823s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1823s ok 3 /gthread/spawn-sync 1823s ok 4 /gthread/spawn-async 1823s # End of gthread tests 1823s ok - glib/spawn-multithreaded.test 1823s # Running test: glib/g-file-info-filesystem-readonly.test 1823s TAP version 14 1823s # random seed: R02Sa724401ea495fcdd9bf5fbc1ce681c1c 1823s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1823s 1..2 1823s # Start of g-file-info-filesystem-readonly tests 1823s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1823s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1823s # End of g-file-info-filesystem-readonly tests 1823s ok - glib/g-file-info-filesystem-readonly.test 1823s # Running test: glib/resolver-parsing.test 1823s TAP version 14 1823s # random seed: R02S47acae4bb4fa58b5d3362c4ab53812bc 1823s 1..21 1823s # Start of gresolver tests 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/invalid-header/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/invalid-header/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/invalid-header/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/invalid-header/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/invalid-header/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/invalid-header/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/invalid-header/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/invalid-header/.dirs/runtime 1823s ok 1 /gresolver/invalid-header 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/record-ownership/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/record-ownership/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/record-ownership/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/record-ownership/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/record-ownership/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/record-ownership/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/record-ownership/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/record-ownership/.dirs/runtime 1823s ok 2 /gresolver/record-ownership 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/unknown-record-type/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/unknown-record-type/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/unknown-record-type/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/unknown-record-type/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/unknown-record-type/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/unknown-record-type/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/unknown-record-type/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/unknown-record-type/.dirs/runtime 1823s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1823s ok 3 /gresolver/unknown-record-type 1823s # Start of mx tests 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/valid/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/valid/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/valid/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/valid/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/valid/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/valid/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/valid/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/valid/.dirs/runtime 1823s ok 4 /gresolver/mx/valid 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/.dirs/runtime 1823s ok 5 /gresolver/mx/invalid 1823s # Start of invalid tests 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short/.dirs/runtime 1823s ok 6 /gresolver/mx/invalid/too-short 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short2/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short2/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short2/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short2/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short2/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/mx/invalid/too-short2/.dirs/runtime 1823s ok 7 /gresolver/mx/invalid/too-short2 1823s # End of invalid tests 1823s # End of mx tests 1823s # Start of ns tests 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/valid/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/valid/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/valid/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/valid/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/valid/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/valid/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/valid/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/valid/.dirs/runtime 1823s ok 8 /gresolver/ns/valid 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/invalid/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/invalid/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/invalid/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/invalid/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/invalid/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/invalid/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/invalid/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/ns/invalid/.dirs/runtime 1823s ok 9 /gresolver/ns/invalid 1823s # End of ns tests 1823s # Start of soa tests 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/valid/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/valid/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/valid/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/valid/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/valid/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/valid/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/valid/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/valid/.dirs/runtime 1823s ok 10 /gresolver/soa/valid 1823s # Start of invalid tests 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/mname/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/mname/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/mname/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/mname/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/mname/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/mname/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/mname/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/mname/.dirs/runtime 1823s ok 11 /gresolver/soa/invalid/mname 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/rname/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/rname/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/rname/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/rname/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/rname/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/rname/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/rname/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/rname/.dirs/runtime 1823s ok 12 /gresolver/soa/invalid/rname 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/too-short/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/too-short/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/too-short/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/too-short/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/too-short/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/too-short/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/too-short/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/soa/invalid/too-short/.dirs/runtime 1823s ok 13 /gresolver/soa/invalid/too-short 1823s # End of invalid tests 1823s # End of soa tests 1823s # Start of srv tests 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/valid/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/valid/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/valid/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/valid/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/valid/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/valid/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/valid/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/valid/.dirs/runtime 1823s ok 14 /gresolver/srv/valid 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/.dirs/runtime 1823s ok 15 /gresolver/srv/invalid 1823s # Start of invalid tests 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short/.dirs/runtime 1823s ok 16 /gresolver/srv/invalid/too-short 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short2/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short2/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short2/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short2/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short2/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/srv/invalid/too-short2/.dirs/runtime 1823s ok 17 /gresolver/srv/invalid/too-short2 1823s # End of invalid tests 1823s # End of srv tests 1823s # Start of txt tests 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/.dirs/runtime 1823s ok 18 /gresolver/txt/valid 1823s # Start of valid tests 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/multiple-strings/.dirs/home 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/multiple-strings/.dirs/cache 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/multiple-strings/.dirs/config 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/multiple-strings/.dirs/data 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/multiple-strings/.dirs/state 1823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1823s ok 19 /gresolver/txt/valid/multiple-strings 1823s # End of valid tests 1823s # Start of invalid tests 1823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/empty/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/empty/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/empty/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/empty/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/empty/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/empty/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/empty/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/empty/.dirs/runtime 1824s ok 20 /gresolver/txt/invalid/empty 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/overflow/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/overflow/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/overflow/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/overflow/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/overflow/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/overflow/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/overflow/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Y9LPZ2/gresolver/txt/invalid/overflow/.dirs/runtime 1824s ok 21 /gresolver/txt/invalid/overflow 1824s # End of invalid tests 1824s # End of txt tests 1824s # End of gresolver tests 1824s ok - glib/resolver-parsing.test 1824s # Running test: glib/shell.test 1824s TAP version 14 1824s # random seed: R02S15769ce135051807f8dcae6cae53448b 1824s 1..51 1824s # Start of shell tests 1824s # Start of cmdline tests 1824s test cmdline: foo bar 1824s ok 1 /shell/cmdline/0 1824s test cmdline: foo 'bar' 1824s ok 2 /shell/cmdline/1 1824s test cmdline: foo "bar" 1824s ok 3 /shell/cmdline/2 1824s test cmdline: foo '' 'bar' 1824s ok 4 /shell/cmdline/3 1824s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1824s ok 5 /shell/cmdline/4 1824s test cmdline: foo blah foo bar baz 1824s ok 6 /shell/cmdline/5 1824s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1824s ok 7 /shell/cmdline/6 1824s test cmdline: foo \ 1824s bar 1824s ok 8 /shell/cmdline/7 1824s test cmdline: foo '' '' 1824s ok 9 /shell/cmdline/8 1824s test cmdline: foo \" la la la 1824s ok 10 /shell/cmdline/9 1824s test cmdline: foo \ foo woo woo\ 1824s ok 11 /shell/cmdline/10 1824s test cmdline: foo "yada yada \$\"" 1824s ok 12 /shell/cmdline/11 1824s test cmdline: foo "c:\\" 1824s ok 13 /shell/cmdline/12 1824s test cmdline: foo # bla bla bla 1824s bar 1824s ok 14 /shell/cmdline/13 1824s test cmdline: foo a#b 1824s ok 15 /shell/cmdline/14 1824s test cmdline: #foo 1824s ok 16 /shell/cmdline/15 1824s test cmdline: foo bar \ 1824s ok 17 /shell/cmdline/16 1824s test cmdline: foo 'bar baz 1824s ok 18 /shell/cmdline/17 1824s test cmdline: foo '"bar" baz 1824s ok 19 /shell/cmdline/18 1824s test cmdline: 1824s ok 20 /shell/cmdline/19 1824s test cmdline: 1824s ok 21 /shell/cmdline/20 1824s test cmdline: # foo bar 1824s ok 22 /shell/cmdline/21 1824s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1824s ok 23 /shell/cmdline/22 1824s # End of cmdline tests 1824s # Start of quote tests 1824s ok 24 /shell/quote/0 1824s ok 25 /shell/quote/1 1824s ok 26 /shell/quote/2 1824s ok 27 /shell/quote/3 1824s ok 28 /shell/quote/4 1824s ok 29 /shell/quote/5 1824s ok 30 /shell/quote/6 1824s # End of quote tests 1824s # Start of unquote tests 1824s ok 31 /shell/unquote/0 1824s ok 32 /shell/unquote/1 1824s ok 33 /shell/unquote/2 1824s ok 34 /shell/unquote/3 1824s ok 35 /shell/unquote/4 1824s ok 36 /shell/unquote/5 1824s ok 37 /shell/unquote/6 1824s ok 38 /shell/unquote/7 1824s ok 39 /shell/unquote/8 1824s ok 40 /shell/unquote/9 1824s ok 41 /shell/unquote/10 1824s ok 42 /shell/unquote/11 1824s ok 43 /shell/unquote/12 1824s ok 44 /shell/unquote/13 1824s ok 45 /shell/unquote/14 1824s ok 46 /shell/unquote/15 1824s ok 47 /shell/unquote/16 1824s ok 48 /shell/unquote/17 1824s ok 49 /shell/unquote/18 1824s ok 50 /shell/unquote/19 1824s ok 51 /shell/unquote/20 1824s # End of unquote tests 1824s # End of shell tests 1824s ok - glib/shell.test 1824s # Running test: glib/markup-parse.test 1824s TAP version 14 1824s # random seed: R02S7a5604767691b3b95a1db8e6e556dac8 1824s 1..71 1824s # Start of markup tests 1824s # Start of parse tests 1824s ok 1 /markup/parse/fail-1.gmarkup 1824s ok 2 /markup/parse/fail-10.gmarkup 1824s ok 3 /markup/parse/fail-11.gmarkup 1824s ok 4 /markup/parse/fail-12.gmarkup 1824s ok 5 /markup/parse/fail-13.gmarkup 1824s ok 6 /markup/parse/fail-14.gmarkup 1824s ok 7 /markup/parse/fail-15.gmarkup 1824s ok 8 /markup/parse/fail-16.gmarkup 1824s ok 9 /markup/parse/fail-17.gmarkup 1824s ok 10 /markup/parse/fail-18.gmarkup 1824s ok 11 /markup/parse/fail-19.gmarkup 1824s ok 12 /markup/parse/fail-2.gmarkup 1824s ok 13 /markup/parse/fail-20.gmarkup 1824s ok 14 /markup/parse/fail-21.gmarkup 1824s ok 15 /markup/parse/fail-22.gmarkup 1824s ok 16 /markup/parse/fail-23.gmarkup 1824s ok 17 /markup/parse/fail-24.gmarkup 1824s ok 18 /markup/parse/fail-25.gmarkup 1824s ok 19 /markup/parse/fail-26.gmarkup 1824s ok 20 /markup/parse/fail-27.gmarkup 1824s ok 21 /markup/parse/fail-28.gmarkup 1824s ok 22 /markup/parse/fail-29.gmarkup 1824s ok 23 /markup/parse/fail-3.gmarkup 1824s ok 24 /markup/parse/fail-30.gmarkup 1824s ok 25 /markup/parse/fail-31.gmarkup 1824s ok 26 /markup/parse/fail-32.gmarkup 1824s ok 27 /markup/parse/fail-33.gmarkup 1824s ok 28 /markup/parse/fail-34.gmarkup 1824s ok 29 /markup/parse/fail-35.gmarkup 1824s ok 30 /markup/parse/fail-36.gmarkup 1824s ok 31 /markup/parse/fail-37.gmarkup 1824s ok 32 /markup/parse/fail-38.gmarkup 1824s ok 33 /markup/parse/fail-39.gmarkup 1824s ok 34 /markup/parse/fail-4.gmarkup 1824s ok 35 /markup/parse/fail-40.gmarkup 1824s ok 36 /markup/parse/fail-41.gmarkup 1824s ok 37 /markup/parse/fail-42.gmarkup 1824s ok 38 /markup/parse/fail-43.gmarkup 1824s ok 39 /markup/parse/fail-44.gmarkup 1824s ok 40 /markup/parse/fail-45.gmarkup 1824s ok 41 /markup/parse/fail-46.gmarkup 1824s ok 42 /markup/parse/fail-47.gmarkup 1824s ok 43 /markup/parse/fail-48.gmarkup 1824s ok 44 /markup/parse/fail-49.gmarkup 1824s ok 45 /markup/parse/fail-5.gmarkup 1824s ok 46 /markup/parse/fail-50.gmarkup 1824s ok 47 /markup/parse/fail-51.gmarkup 1824s ok 48 /markup/parse/fail-52.gmarkup 1824s ok 49 /markup/parse/fail-53.gmarkup 1824s ok 50 /markup/parse/fail-54.gmarkup 1824s ok 51 /markup/parse/fail-6.gmarkup 1824s ok 52 /markup/parse/fail-7.gmarkup 1824s ok 53 /markup/parse/fail-8.gmarkup 1824s ok 54 /markup/parse/fail-9.gmarkup 1824s ok 55 /markup/parse/valid-1.gmarkup 1824s ok 56 /markup/parse/valid-10.gmarkup 1824s ok 57 /markup/parse/valid-11.gmarkup 1824s ok 58 /markup/parse/valid-12.gmarkup 1824s ok 59 /markup/parse/valid-13.gmarkup 1824s ok 60 /markup/parse/valid-14.gmarkup 1824s ok 61 /markup/parse/valid-15.gmarkup 1824s ok 62 /markup/parse/valid-16.gmarkup 1824s ok 63 /markup/parse/valid-17.gmarkup 1824s ok 64 /markup/parse/valid-2.gmarkup 1824s ok 65 /markup/parse/valid-3.gmarkup 1824s ok 66 /markup/parse/valid-4.gmarkup 1824s ok 67 /markup/parse/valid-5.gmarkup 1824s ok 68 /markup/parse/valid-6.gmarkup 1824s ok 69 /markup/parse/valid-7.gmarkup 1824s ok 70 /markup/parse/valid-8.gmarkup 1824s ok 71 /markup/parse/valid-9.gmarkup 1824s # End of parse tests 1824s # End of markup tests 1824s ok - glib/markup-parse.test 1824s # Running test: glib/portal-support-snap.test 1824s TAP version 14 1824s # random seed: R02S557e9f072fd8699c075501c3d9a74734 1824s 1..7 1824s # Start of portal-support tests 1824s # Start of snap tests 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/no-snapctl/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/no-snapctl/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/no-snapctl/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/no-snapctl/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/no-snapctl/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/no-snapctl/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/no-snapctl/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/no-snapctl/.dirs/runtime 1824s # Created snap.yaml in /tmp/test_portal-support-snap_AW7PZ2/meta/snap.yaml 1824s Unable to clean up temporary directory /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/no-snapctl: No such file or directory 1824s ok 1 /portal-support/snap/no-snapctl 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/none/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/none/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/none/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/none/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/none/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/none/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/none/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/none/.dirs/runtime 1824s # Created snap.yaml in /tmp/test_portal-support-snap_AW7PZ2/meta/snap.yaml 1824s # Created snapctl in /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/none/.dirs/runtime/snapctl 1824s Unable to clean up temporary directory /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/none: No such file or directory 1824s ok 2 /portal-support/snap/none 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/all/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/all/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/all/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/all/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/all/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/all/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/all/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/all/.dirs/runtime 1824s # Created snap.yaml in /tmp/test_portal-support-snap_AW7PZ2/meta/snap.yaml 1824s # Created snapctl in /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/all/.dirs/runtime/snapctl 1824s Unable to clean up temporary directory /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/all: No such file or directory 1824s ok 3 /portal-support/snap/all 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/desktop-only/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/desktop-only/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/desktop-only/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/desktop-only/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/desktop-only/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/desktop-only/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/desktop-only/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/desktop-only/.dirs/runtime 1824s # Created snap.yaml in /tmp/test_portal-support-snap_AW7PZ2/meta/snap.yaml 1824s # Created snapctl in /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1824s Unable to clean up temporary directory /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/desktop-only: No such file or directory 1824s ok 4 /portal-support/snap/desktop-only 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/network-only/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/network-only/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/network-only/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/network-only/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/network-only/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/network-only/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/network-only/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/network-only/.dirs/runtime 1824s # Created snap.yaml in /tmp/test_portal-support-snap_AW7PZ2/meta/snap.yaml 1824s # Created snapctl in /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/network-only/.dirs/runtime/snapctl 1824s Unable to clean up temporary directory /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/network-only: No such file or directory 1824s ok 5 /portal-support/snap/network-only 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/gsettings-only/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/gsettings-only/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/gsettings-only/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/gsettings-only/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/gsettings-only/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/gsettings-only/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/gsettings-only/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/gsettings-only/.dirs/runtime 1824s # Created snap.yaml in /tmp/test_portal-support-snap_AW7PZ2/meta/snap.yaml 1824s # Created snapctl in /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1824s Unable to clean up temporary directory /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/gsettings-only: No such file or directory 1824s ok 6 /portal-support/snap/gsettings-only 1824s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/home 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/cache 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/system-config2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/config 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/system-data2 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/data 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/state 1824s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/runtime 1824s # Created snap.yaml in /tmp/test_portal-support-snap_AW7PZ2/meta/snap.yaml 1824s # Created snapctl in /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1824s # Created snapctl in /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1824s # Created snapctl in /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1824s # Created snapctl in /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1824s # Created snapctl in /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1824s # Created snapctl in /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1824s # Created snapctl in /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1824s Unable to clean up temporary directory /tmp/test_portal-support-snap_AW7PZ2/portal-support/snap/updates-dynamically: No such file or directory 1824s ok 7 /portal-support/snap/updates-dynamically 1824s # End of snap tests 1824s # End of portal-support tests 1824s Unable to clean up temporary directory /tmp/test_portal-support-snap_AW7PZ2: No such file or directory 1824s ok - glib/portal-support-snap.test 1824s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=311.3s; system=101.5s; maxrss=146944 1824s autopkgtest [15:29:18]: test installed-tests: -----------------------] 1829s installed-tests PASS 1829s autopkgtest [15:29:23]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1833s autopkgtest [15:29:27]: test closure-refcount: preparing testbed 1835s Reading package lists... 1836s Building dependency tree... 1836s Reading state information... 1836s Starting pkgProblemResolver with broken count: 0 1836s Starting 2 pkgProblemResolver with broken count: 0 1836s Done 1837s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1847s autopkgtest [15:29:41]: test closure-refcount: [----------------------- 1850s Running test: glib/closure-refcount.test 1850s TAP version 14 1850s # random seed: R02S3cee370912940105081e9f7b3d37ee96 1850s 1..1 1850s # Start of closure tests 1850s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1850s # End of closure tests 1850s PASS: glib/closure-refcount.test 1850s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2432 1850s autopkgtest [15:29:44]: test closure-refcount: -----------------------] 1854s autopkgtest [15:29:48]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1854s closure-refcount PASS 1859s autopkgtest [15:29:53]: test debugcontroller: preparing testbed 1861s Reading package lists... 1862s Building dependency tree... 1862s Reading state information... 1862s Starting pkgProblemResolver with broken count: 0 1862s Starting 2 pkgProblemResolver with broken count: 0 1862s Done 1863s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1873s autopkgtest [15:30:07]: test debugcontroller: [----------------------- 1875s Running test: glib/debugcontroller.test 1875s TAP version 14 1875s # random seed: R02S478b60f2c270b217871b922b2c826aaf 1875s 1..3 1875s # Start of debug-controller tests 1875s # Start of dbus tests 1875s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1875s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1875s # GLib-GIO-DEBUG: Debug output enabled 1875s # GLib-GIO-DEBUG: Debug output disabled 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s ok 1 /debug-controller/dbus/basic 1875s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1875s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s ok 2 /debug-controller/dbus/duplicate 1875s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1875s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1875s # GLib-GIO-DEBUG: Debug output enabled 1875s # GLib-GIO-DEBUG: Debug output disabled 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1875s ok 3 /debug-controller/dbus/properties 1875s # End of dbus tests 1875s # End of debug-controller tests 1875s PASS: glib/debugcontroller.test 1875s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4480 1875s autopkgtest [15:30:09]: test debugcontroller: -----------------------] 1880s autopkgtest [15:30:14]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1880s debugcontroller PASS 1885s autopkgtest [15:30:19]: test gdbus-server-auth: preparing testbed 1887s Reading package lists... 1887s Building dependency tree... 1887s Reading state information... 1888s Starting pkgProblemResolver with broken count: 0 1888s Starting 2 pkgProblemResolver with broken count: 0 1888s Done 1889s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1898s autopkgtest [15:30:32]: test gdbus-server-auth: [----------------------- 1901s Running test: glib/gdbus-server-auth.test 1901s TAP version 14 1901s # random seed: R02Sbccd571bf6d08233699ffb686d999732 1901s 1..9 1901s # Start of gdbus tests 1901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/.dirs/home 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/.dirs/cache 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/.dirs/system-config2 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/.dirs/config 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/.dirs/system-data2 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/.dirs/data 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/.dirs/state 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/.dirs/runtime 1901s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus-server-auth-USZHZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1901s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus-server-auth-USZHZ2/dbus-vtfduekv 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15553 1901s ok 1 /gdbus/server-auth 1901s # Start of server-auth tests 1901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/abstract/.dirs/home 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/abstract/.dirs/cache 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/abstract/.dirs/system-config2 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/abstract/.dirs/config 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/abstract/.dirs/system-data2 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/abstract/.dirs/data 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/abstract/.dirs/state 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/abstract/.dirs/runtime 1901s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus-server-auth-ESCIZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1901s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus-server-auth-ESCIZ2/dbus-dmW4VdFx 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15553 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1901s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15553 1901s ok 2 /gdbus/server-auth/abstract 1901s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/tcp/.dirs/home 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/tcp/.dirs/cache 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/tcp/.dirs/system-config2 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/tcp/.dirs/config 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/tcp/.dirs/system-data2 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/tcp/.dirs/data 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/tcp/.dirs/state 1901s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/tcp/.dirs/runtime 1901s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1901s # Connectable address: tcp:host=127.0.0.1,port=35321 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1901s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1901s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1901s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1901s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1901s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1901s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1902s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1902s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1902s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1902s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1902s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1902s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1902s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1902s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1902s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1902s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1902s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1902s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1902s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1902s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1902s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1902s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1902s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1902s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1902s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1902s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1902s ok 3 /gdbus/server-auth/tcp 1902s # slow test /gdbus/server-auth/tcp executed in 0.86 secs 1902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/.dirs/home 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/.dirs/cache 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/.dirs/system-config2 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/.dirs/config 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/.dirs/system-data2 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/.dirs/data 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/.dirs/state 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/.dirs/runtime 1902s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus-server-auth-NA51Z2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1902s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus-server-auth-NA51Z2/dbus-fW3PG9Jh 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15553 1902s ok 4 /gdbus/server-auth/anonymous 1902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/.dirs/home 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/.dirs/cache 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/.dirs/system-config2 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/.dirs/config 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/.dirs/system-data2 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/.dirs/data 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/.dirs/state 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/.dirs/runtime 1902s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus-server-auth-XJG2Z2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1902s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus-server-auth-XJG2Z2/dbus-gcnP20Uk 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1902s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15553 1902s ok 5 /gdbus/server-auth/external 1902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/.dirs/home 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/.dirs/cache 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/.dirs/system-config2 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/.dirs/config 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/.dirs/system-data2 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/.dirs/data 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/.dirs/state 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/.dirs/runtime 1902s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus-server-auth-YQP2Z2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1902s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus-server-auth-YQP2Z2/dbus-k2BHLaKY 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15553 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1902s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15553 1902s ok 6 /gdbus/server-auth/sha1 1902s # Start of anonymous tests 1902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/tcp/.dirs/home 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/tcp/.dirs/config 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/tcp/.dirs/data 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/tcp/.dirs/state 1902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1902s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1902s # Connectable address: tcp:host=127.0.0.1,port=33959 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1902s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1902s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1902s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1902s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1902s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1903s ok 7 /gdbus/server-auth/anonymous/tcp 1903s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.85 secs 1903s # End of anonymous tests 1903s # Start of external tests 1903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/require-same-user/.dirs/home 1903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/require-same-user/.dirs/cache 1903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/require-same-user/.dirs/config 1903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/require-same-user/.dirs/data 1903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/require-same-user/.dirs/state 1903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1903s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus-server-auth-YR6ZZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1903s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus-server-auth-YR6ZZ2/dbus-a30Hfjt3 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15553 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1903s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15553,uid=1000,gid=1000 1903s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15553 1903s ok 8 /gdbus/server-auth/external/require-same-user 1903s # End of external tests 1903s # Start of sha1 tests 1903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/tcp/.dirs/home 1903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/tcp/.dirs/cache 1903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/tcp/.dirs/config 1903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/tcp/.dirs/data 1903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/tcp/.dirs/state 1903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_L3ZHZ2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1903s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1903s # Connectable address: tcp:host=127.0.0.1,port=32873 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1903s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1903s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1903s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1903s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1903s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1904s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1904s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1904s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1904s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1904s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1904s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1904s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1904s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1904s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1904s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1904s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1904s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1904s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1904s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1904s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1904s ok 9 /gdbus/server-auth/sha1/tcp 1904s # slow test /gdbus/server-auth/sha1/tcp executed in 0.86 secs 1904s # End of sha1 tests 1904s # End of server-auth tests 1904s # End of gdbus tests 1904s PASS: glib/gdbus-server-auth.test 1904s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=5632 1904s autopkgtest [15:30:38]: test gdbus-server-auth: -----------------------] 1909s autopkgtest [15:30:43]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1909s gdbus-server-auth PASS 1913s autopkgtest [15:30:47]: test gdbus-threading: preparing testbed 1915s Reading package lists... 1916s Building dependency tree... 1916s Reading state information... 1916s Starting pkgProblemResolver with broken count: 0 1916s Starting 2 pkgProblemResolver with broken count: 0 1916s Done 1917s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1927s autopkgtest [15:31:01]: test gdbus-threading: [----------------------- 1929s Running test: glib/gdbus-threading.test 1929s TAP version 14 1929s # random seed: R02Sddfcd8e8561011d131ddc4f3c4ebe3f0 1929s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1929s 1..3 1929s # Start of gdbus tests 1929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/delivery-in-thread/.dirs/home 1929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/delivery-in-thread/.dirs/cache 1929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_JEUIZ2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_JEUIZ2/gdbus/delivery-in-thread/.dirs/system-config2 1929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/delivery-in-thread/.dirs/config 1929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_JEUIZ2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_JEUIZ2/gdbus/delivery-in-thread/.dirs/system-data2 1929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/delivery-in-thread/.dirs/data 1929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/delivery-in-thread/.dirs/state 1929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_JEUIZ2/gdbus/delivery-in-thread/.dirs/runtime 1929s ok 1 /gdbus/delivery-in-thread 1929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/method-calls-in-thread/.dirs/home 1929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/method-calls-in-thread/.dirs/cache 1929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_JEUIZ2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_JEUIZ2/gdbus/method-calls-in-thread/.dirs/system-config2 1929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/method-calls-in-thread/.dirs/config 1929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_JEUIZ2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_JEUIZ2/gdbus/method-calls-in-thread/.dirs/system-data2 1929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/method-calls-in-thread/.dirs/data 1929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/method-calls-in-thread/.dirs/state 1929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_JEUIZ2/gdbus/method-calls-in-thread/.dirs/runtime 1930s ok 2 /gdbus/method-calls-in-thread 1930s # slow test /gdbus/method-calls-in-thread executed in 0.84 secs 1930s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/threaded-singleton/.dirs/home 1930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/threaded-singleton/.dirs/cache 1930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_JEUIZ2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_JEUIZ2/gdbus/threaded-singleton/.dirs/system-config2 1930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/threaded-singleton/.dirs/config 1930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_JEUIZ2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_JEUIZ2/gdbus/threaded-singleton/.dirs/system-data2 1930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/threaded-singleton/.dirs/data 1930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_JEUIZ2/gdbus/threaded-singleton/.dirs/state 1930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_JEUIZ2/gdbus/threaded-singleton/.dirs/runtime 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: refcount of 0xf2701458 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1931s # GLib-GIO-DEBUG: refcount of 0xf2701458 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: refcount of 0xf27026a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1931s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1932s ok 3 /gdbus/threaded-singleton 1932s # slow test /gdbus/threaded-singleton executed in 1.75 secs 1932s # End of gdbus tests 1932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1932s PASS: glib/gdbus-threading.test 1932s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.8s; system=0.6s; maxrss=4352 1932s autopkgtest [15:31:06]: test gdbus-threading: -----------------------] 1936s autopkgtest [15:31:10]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1936s gdbus-threading PASS 1941s autopkgtest [15:31:15]: test gmenumodel: preparing testbed 1943s Reading package lists... 1943s Building dependency tree... 1943s Reading state information... 1943s Starting pkgProblemResolver with broken count: 0 1944s Starting 2 pkgProblemResolver with broken count: 0 1944s Done 1944s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1953s autopkgtest [15:31:27]: test gmenumodel: [----------------------- 1956s Running test: glib/gmenumodel.test 1956s TAP version 14 1956s # random seed: R02Scb397a740ee9b8cd9146317b401c0fce 1956s 1..15 1956s # Start of gmenu tests 1957s ok 1 /gmenu/equality 1957s # slow test /gmenu/equality executed in 0.98 secs 1958s ok 2 /gmenu/random 1958s # slow test /gmenu/random executed in 1.11 secs 1958s ok 3 /gmenu/attributes 1958s ok 4 /gmenu/links 1958s ok 5 /gmenu/mutable 1958s ok 6 /gmenu/convenience 1958s ok 7 /gmenu/menuitem 1958s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1958s ok 8 /gmenu/input-validation 1958s # Start of dbus tests 1958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1959s ok 9 /gmenu/dbus/roundtrip 1959s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1959s ok 10 /gmenu/dbus/subscriptions 1961s ok 11 /gmenu/dbus/threaded 1961s # slow test /gmenu/dbus/threaded executed in 1.20 secs 1961s # Start of peer tests 1961s Executing: glib/gmenumodel.test 1962s ok 12 /gmenu/dbus/peer/roundtrip 1962s # slow test /gmenu/dbus/peer/roundtrip executed in 1.02 secs 1962s ok 13 /gmenu/dbus/peer/subscriptions 1962s # End of peer tests 1962s # Start of export tests 1962s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1962s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1962s ok 14 /gmenu/dbus/export/error-handling 1962s # End of export tests 1962s # End of dbus tests 1962s # Start of attributes tests 1962s ok 15 /gmenu/attributes/iterate 1962s # End of attributes tests 1962s # End of gmenu tests 1962s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1962s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1962s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1962s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1962s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1962s PASS: glib/gmenumodel.test 1962s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=5.5s; system=1.1s; maxrss=8320 1962s autopkgtest [15:31:36]: test gmenumodel: -----------------------] 1967s autopkgtest [15:31:41]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1967s gmenumodel PASS 1972s autopkgtest [15:31:46]: test mainloop: preparing testbed 1974s Reading package lists... 1974s Building dependency tree... 1974s Reading state information... 1974s Starting pkgProblemResolver with broken count: 0 1974s Starting 2 pkgProblemResolver with broken count: 0 1974s Done 1975s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1985s autopkgtest [15:31:59]: test mainloop: [----------------------- 1987s Running test: glib/mainloop.test 1987s TAP version 14 1987s # random seed: R02Se5b1662a40e868d4645cf6594a499a03 1987s 1..45 1987s # Start of maincontext tests 1987s ok 1 /maincontext/basic 1987s # Add same-priority sources: 33 1987s # Find each source: 3 1987s # Remove in random order: 95 1987s ok 2 /maincontext/nsources_same_priority 1987s # Add different-priority sources: 43 1987s # Find each source: 3 1988s # Remove in random order: 98 1988s ok 3 /maincontext/nsources_different_priority 1988s # Add sources from threads: 651 1988s # Remove sources from threads: 103 1988s ok 4 /maincontext/nsources_threadpool 1988s # slow test /maincontext/nsources_threadpool executed in 0.77 secs 1988s ok 5 /maincontext/source_finalization 1988s # /maincontext/idle-once summary: Test g_idle_add_once() works 1988s ok 6 /maincontext/idle-once 1988s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1988s ok 7 /maincontext/timeout-once 1988s # Start of source_finalization_from_source tests 1988s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1988s ok 8 /maincontext/source_finalization_from_source/0 1988s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1988s ok 9 /maincontext/source_finalization_from_source/1 1988s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1988s ok 10 /maincontext/source_finalization_from_source/2 1988s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1988s ok 11 /maincontext/source_finalization_from_source/3 1988s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1988s ok 12 /maincontext/source_finalization_from_source/4 1988s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1988s ok 13 /maincontext/source_finalization_from_source/5 1988s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1988s ok 14 /maincontext/source_finalization_from_source/6 1988s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1988s ok 15 /maincontext/source_finalization_from_source/7 1988s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1988s ok 16 /maincontext/source_finalization_from_source/8 1988s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1988s ok 17 /maincontext/source_finalization_from_source/9 1988s # End of source_finalization_from_source tests 1988s # Start of source_finalization_from_dispatch tests 1988s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1988s ok 18 /maincontext/source_finalization_from_dispatch/0 1988s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1988s ok 19 /maincontext/source_finalization_from_dispatch/1 1988s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1988s ok 20 /maincontext/source_finalization_from_dispatch/2 1988s # End of source_finalization_from_dispatch tests 1988s # End of maincontext tests 1988s # Start of mainloop tests 1988s ok 21 /mainloop/basic 1988s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1988s ok 23 /mainloop/priorities 1989s ok 24 /mainloop/invoke 1989s # slow test /mainloop/invoke executed in 0.50 secs 1990s ok 25 /mainloop/child_sources 1990s # slow test /mainloop/child_sources executed in 1.22 secs 1992s ok 26 /mainloop/recursive_child_sources 1992s # slow test /mainloop/recursive_child_sources executed in 2.20 secs 1992s ok 27 /mainloop/recursive_loop_child_sources 1992s ok 28 /mainloop/swapping_child_sources 1992s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1992s ok 29 /mainloop/blocked_child_sources 1993s Executing: glib/mainloop.test 1993s ok 30 /mainloop/source_time 1993s # slow test /mainloop/source_time executed in 1.00 secs 1993s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1993s ok 31 /mainloop/overflow 1994s ok 32 /mainloop/ready-time 1994s # slow test /mainloop/ready-time executed in 0.50 secs 1994s ok 33 /mainloop/wakeup 1994s ok 34 /mainloop/remove-invalid 1994s ok 35 /mainloop/unref-while-pending 1995s ok 36 /mainloop/unix-fd 1995s # slow test /mainloop/unix-fd executed in 0.91 secs 1995s ok 37 /mainloop/unix-fd-source 1995s ok 38 /mainloop/source-unix-fd-api 1995s ok 39 /mainloop/wait 1995s ok 40 /mainloop/unix-file-poll 1995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1995s ok 41 /mainloop/unix-fd-priority 1995s ok 42 /mainloop/nfds 1995s ok 43 /mainloop/steal-fd 1995s # Start of ownerless-polling tests 1995s ok 44 /mainloop/ownerless-polling/attach-first 1995s ok 45 /mainloop/ownerless-polling/pop-first 1995s # End of ownerless-polling tests 1995s # End of mainloop tests 1995s PASS: glib/mainloop.test 1995s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.3s; system=1.9s; maxrss=9160 1995s autopkgtest [15:32:09]: test mainloop: -----------------------] 2000s autopkgtest [15:32:14]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 2000s mainloop PASS 2005s autopkgtest [15:32:19]: test memory-monitor-dbus: preparing testbed 2007s Reading package lists... 2008s Building dependency tree... 2008s Reading state information... 2008s Starting pkgProblemResolver with broken count: 0 2008s Starting 2 pkgProblemResolver with broken count: 0 2008s Done 2009s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2019s autopkgtest [15:32:33]: test memory-monitor-dbus: [----------------------- 2021s Running test: glib/memory-monitor-dbus.test 2022s TAP version 13 2022s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 2022s # Received memory warning signal, level 2022s # Received memory warning signal, level 2022s # Received memory warning signal, level 2022s 1..1 2022s PASS: glib/memory-monitor-dbus.test 2022s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.1s; maxrss=21784 2022s autopkgtest [15:32:36]: test memory-monitor-dbus: -----------------------] 2027s autopkgtest [15:32:41]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 2027s memory-monitor-dbus PASS 2032s autopkgtest [15:32:46]: test socket: preparing testbed 2034s Reading package lists... 2035s Building dependency tree... 2035s Reading state information... 2036s Starting pkgProblemResolver with broken count: 0 2036s Starting 2 pkgProblemResolver with broken count: 0 2036s Done 2038s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2047s autopkgtest [15:33:01]: test socket: [----------------------- 2050s Running test: glib/socket.test 2050s TAP version 14 2050s # random seed: R02Sa026033fbf7d338ac281f688c86f8bcd 2050s 1..28 2050s # Start of socket tests 2051s ok 1 /socket/ipv4_sync 2051s # slow test /socket/ipv4_sync executed in 1.00 secs 2052s ok 2 /socket/ipv4_async 2052s # slow test /socket/ipv4_async executed in 1.00 secs 2052s ok 3 /socket/ipv6_sync 2052s ok 4 /socket/ipv6_async 2052s ok 5 /socket/ipv6_v4mapped 2053s ok 6 /socket/close_graceful 2053s # slow test /socket/close_graceful executed in 1.00 secs 2053s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 2053s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 2053s ok 8 /socket/fd_reuse 2053s ok 9 /socket/address 2053s ok 10 /socket/unix-from-fd 2053s ok 11 /socket/unix-connection 2053s ok 12 /socket/unix-connection-ancillary-data 2053s ok 13 /socket/source-postmortem 2053s ok 14 /socket/read_write 2053s ok 15 /socket/read_writev 2053s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 2053s ok 16 /socket/receive_bytes 2053s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 2053s ok 17 /socket/receive_bytes_from 2053s # Start of ipv4_sync tests 2053s ok 18 /socket/ipv4_sync/datagram 2053s # Start of datagram tests 2054s ok 19 /socket/ipv4_sync/datagram/timeouts 2054s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 2054s # End of datagram tests 2054s # End of ipv4_sync tests 2054s # Start of ipv6_sync tests 2054s ok 20 /socket/ipv6_sync/datagram 2054s # Start of datagram tests 2055s Executing: glib/socket.test 2055s ok 21 /socket/ipv6_sync/datagram/timeouts 2055s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 2055s # End of datagram tests 2055s # End of ipv6_sync tests 2055s # Start of reuse tests 2055s ok 22 /socket/reuse/tcp 2055s ok 23 /socket/reuse/udp 2055s # End of reuse tests 2055s # Start of get_available tests 2055s ok 24 /socket/get_available/datagram 2055s ok 25 /socket/get_available/stream 2055s # End of get_available tests 2055s # Start of credentials tests 2055s # Supported on this OS: GCredentials:linux-ucred:pid=0 2055s ok 26 /socket/credentials/tcp_client 2055s # Supported on this OS: GCredentials:linux-ucred:pid=0 2055s ok 27 /socket/credentials/tcp_server 2055s # Supported on this OS: GCredentials:linux-ucred:pid=17615,uid=1000,gid=1000 2055s ok 28 /socket/credentials/unix_socketpair 2055s # End of credentials tests 2055s # End of socket tests 2055s PASS: glib/socket.test 2055s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3840 2055s autopkgtest [15:33:09]: test socket: -----------------------] 2061s autopkgtest [15:33:15]: test socket: - - - - - - - - - - results - - - - - - - - - - 2061s socket PASS 2065s autopkgtest [15:33:19]: test testfilemonitor: preparing testbed 2067s Reading package lists... 2067s Building dependency tree... 2067s Reading state information... 2068s Starting pkgProblemResolver with broken count: 0 2068s Starting 2 pkgProblemResolver with broken count: 0 2068s Done 2069s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2080s autopkgtest [15:33:34]: test testfilemonitor: [----------------------- 2083s Running test: glib/testfilemonitor.test 2083s TAP version 14 2083s # random seed: R02Seea80981df53a1ae0445963efe179034 2083s 1..8 2083s # Start of monitor tests 2083s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2083s # Using temporary directory: /tmp/gio-test-testfilemonitor_GEQ0Z2 2083s # Using GFileMonitor GInotifyFileMonitor 2085s ok 1 /monitor/atomic-replace 2085s # slow test /monitor/atomic-replace executed in 2.00 secs 2085s # Using temporary directory: /tmp/gio-test-testfilemonitor_9XS0Z2 2085s # Using GFileMonitor GInotifyFileMonitor 2087s ok 2 /monitor/file-changes 2087s # slow test /monitor/file-changes executed in 2.50 secs 2087s # Using temporary directory: /tmp/gio-test-testfilemonitor_173OZ2 2087s # Using GFileMonitor GInotifyFileMonitor 2088s Executing: glib/testfilemonitor.test 2091s ok 3 /monitor/dir-monitor 2091s # slow test /monitor/dir-monitor executed in 3.50 secs 2091s # Using temporary directory: /tmp/gio-test-testfilemonitor_NAZ0Z2 2091s # Using GFileMonitor GInotifyFileMonitor 2093s Executing: glib/testfilemonitor.test 2098s Executing: glib/testfilemonitor.test 2103s Executing: glib/testfilemonitor.test 2108s Executing: glib/testfilemonitor.test 2113s Executing: glib/testfilemonitor.test 2116s ok 4 /monitor/dir-not-existent 2116s # slow test /monitor/dir-not-existent executed in 25.02 secs 2116s # Using temporary directory: /tmp/gio-test-testfilemonitor_UVG1Z2 2116s # Using GFileMonitor 0 GInotifyFileMonitor 2116s # Using GFileMonitor 1 GInotifyFileMonitor 2118s Executing: glib/testfilemonitor.test 2118s ok 5 /monitor/cross-dir-moves 2118s # slow test /monitor/cross-dir-moves executed in 2.00 secs 2118s # Using temporary directory: /tmp/gio-test-testfilemonitor_TAJ1Z2 2118s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 2118s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 2118s ok 6 /monitor/finalize-in-callback 2118s # Using temporary directory: /tmp/gio-test-testfilemonitor_VDN1Z2 2118s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 2118s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 2118s ok 7 /monitor/root 2118s # Start of file tests 2118s # Using temporary directory: /tmp/gio-test-testfilemonitor_EHN1Z2 2118s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 2118s # Running with hard link tests 2118s # Using GFileMonitor GInotifyFileMonitor 2121s # Event 0 at expected index 7 skipped because it is marked as optional 2121s # Event 2 at expected index 11 skipped because it is marked as optional 2121s ok 8 /monitor/file/hard-links 2121s # slow test /monitor/file/hard-links executed in 3.50 secs 2121s # End of file tests 2121s # End of monitor tests 2121s PASS: glib/testfilemonitor.test 2121s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4224 2122s autopkgtest [15:34:16]: test testfilemonitor: -----------------------] 2127s testfilemonitor PASS 2127s autopkgtest [15:34:21]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 2131s autopkgtest [15:34:25]: test thread-pool-slow: preparing testbed 2133s Reading package lists... 2133s Building dependency tree... 2133s Reading state information... 2134s Starting pkgProblemResolver with broken count: 0 2134s Starting 2 pkgProblemResolver with broken count: 0 2134s Done 2135s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2144s autopkgtest [15:34:38]: test thread-pool-slow: [----------------------- 2146s Running test: glib/thread-pool-slow.test 2146s TAP version 14 2146s # random seed: R02S778c077c670dd39ec18d45472a38580f 2146s 1..7 2146s # Start of threadpool tests 2146s ok 1 /threadpool/functions 2147s ok 2 /threadpool/stop-unused 2147s # slow test /threadpool/stop-unused executed in 0.51 secs 2147s ok 3 /threadpool/pools 2147s # [unsorted] ===> pushed new thread with id:10, number of threads:1, unprocessed:1 2147s # [unsorted] ===> pushed new thread with id:68, number of threads:2, unprocessed:1 2147s # [unsorted] ===> pushed new thread with id:75, number of threads:3, unprocessed:2 2147s # [unsorted] ===> pushed new thread with id:8, number of threads:4, unprocessed:2 2147s # [unsorted] ===> pushed new thread with id:10, number of threads:5, unprocessed:2 2147s # [unsorted] ===> pushed new thread with id:87, number of threads:6, unprocessed:3 2147s # [unsorted] ===> pushed new thread with id:75, number of threads:7, unprocessed:4 2147s # [unsorted] ===> pushed new thread with id:14, number of threads:8, unprocessed:5 2147s # [unsorted] ===> pushed new thread with id:71, number of threads:9, unprocessed:5 2147s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:5 2147s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:6 2147s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:5 2147s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:6 2147s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:7 2147s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:7 2147s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:8 2147s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:9 2147s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:10 2147s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:11 2147s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:12 2147s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:13 2147s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:14 2147s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:15 2147s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:16 2147s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:17 2147s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:18 2147s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:19 2147s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:20 2147s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:21 2147s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:22 2147s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:23 2147s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:24 2147s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:25 2147s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:26 2147s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:27 2147s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:28 2147s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:29 2147s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:30 2147s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:31 2147s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:32 2147s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:33 2147s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:34 2147s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:35 2147s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:36 2147s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:37 2147s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:38 2147s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:39 2147s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:40 2147s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:41 2147s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:42 2147s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:43 2147s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:44 2147s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:45 2147s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:46 2147s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:47 2147s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:48 2147s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:49 2147s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:49 2147s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:50 2147s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:50 2147s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:51 2147s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:52 2147s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:53 2147s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:54 2147s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:55 2147s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:56 2147s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:57 2147s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:58 2147s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:59 2147s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:60 2147s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:61 2147s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:62 2147s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:63 2147s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:64 2147s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:65 2147s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:66 2147s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:67 2147s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:68 2147s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:69 2147s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:70 2147s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:71 2147s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:72 2147s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:73 2147s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:74 2147s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:75 2147s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:76 2147s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:77 2147s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:78 2147s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:79 2147s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:80 2147s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:81 2147s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:82 2147s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:83 2147s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:84 2147s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:85 2147s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:86 2147s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:87 2147s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:88 2147s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:89 2147s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:90 2147s ok 4 /threadpool/no-sort 2147s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:1 2147s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:2 2147s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:3 2147s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:4 2147s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:5 2147s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:6 2147s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:7 2147s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:8 2147s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:9 2147s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:10 2147s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:11 2147s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:12 2147s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:13 2147s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:14 2147s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:15 2147s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:16 2147s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:17 2147s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:18 2147s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:19 2147s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:20 2147s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:21 2147s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:22 2147s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:23 2147s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:24 2147s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:25 2147s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:26 2147s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:27 2147s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:28 2147s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:29 2147s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:30 2147s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:31 2147s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:32 2147s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:33 2147s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:34 2147s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:35 2147s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:36 2147s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:37 2147s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:38 2147s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:39 2147s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:40 2147s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:41 2147s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:42 2147s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:43 2147s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:44 2147s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:45 2147s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:46 2147s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:47 2147s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:48 2147s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:49 2147s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:50 2147s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:51 2147s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:52 2147s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:53 2147s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:54 2147s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:55 2147s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:56 2147s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:57 2147s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:58 2147s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:59 2147s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:60 2147s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:61 2147s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:62 2147s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:63 2147s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:64 2147s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:65 2147s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:66 2147s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:67 2147s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:68 2147s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:69 2147s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:70 2147s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:71 2147s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:72 2147s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:73 2147s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:74 2147s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:75 2147s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:76 2147s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:77 2147s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:78 2147s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:79 2147s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:80 2147s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:81 2147s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:82 2147s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:83 2147s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:84 2147s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:85 2147s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:86 2147s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:87 2147s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:88 2147s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:89 2147s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:90 2147s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:91 2147s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:92 2147s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:93 2147s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:94 2147s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:95 2147s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:96 2147s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:97 2147s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:98 2147s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:99 2147s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:100 2147s # Starting thread pool processing 2147s ok 5 /threadpool/sort 2147s ok 6 /threadpool/stop-unused-multiple 2147s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs 2147s # Pool idle thread count: 0, unprocessed jobs: 40 2148s # Pool idle thread count: 0, unprocessed jobs: 0 2148s # Pool idle thread count: 0, unprocessed jobs: 0 2148s # Pool idle thread count: 10, unprocessed jobs: 0 2148s # Pool idle thread count: 10, unprocessed jobs: 0 2149s # Pool idle thread count: 10, unprocessed jobs: 0 2149s # Pool idle thread count: 10, unprocessed jobs: 0 2149s # Pool idle thread count: 10, unprocessed jobs: 0 2149s # Pool idle thread count: 10, unprocessed jobs: 0 2150s # Pool idle thread count: 10, unprocessed jobs: 0 2150s # Pool idle thread count: 10, unprocessed jobs: 0 2150s # Pool idle thread count: 10, unprocessed jobs: 0 2150s # Pool idle thread count: 10, unprocessed jobs: 0 2151s # Pool idle thread count: 10, unprocessed jobs: 0 2151s # Pool idle thread count: 10, unprocessed jobs: 0 2151s # Pool idle thread count: 10, unprocessed jobs: 0 2151s # Pool idle thread count: 10, unprocessed jobs: 0 2152s # Pool idle thread count: 10, unprocessed jobs: 0 2152s # Pool idle thread count: 10, unprocessed jobs: 0 2152s Executing: glib/thread-pool-slow.test 2152s # Pool idle thread count: 10, unprocessed jobs: 0 2152s # Pool idle thread count: 10, unprocessed jobs: 0 2153s # Pool idle thread count: 10, unprocessed jobs: 0 2153s # Pool idle thread count: 10, unprocessed jobs: 0 2153s # Pool idle thread count: 10, unprocessed jobs: 0 2153s # Pool idle thread count: 10, unprocessed jobs: 0 2154s # Pool idle thread count: 10, unprocessed jobs: 0 2154s # Pool idle thread count: 10, unprocessed jobs: 0 2154s # Pool idle thread count: 10, unprocessed jobs: 0 2154s # Pool idle thread count: 10, unprocessed jobs: 0 2155s # Pool idle thread count: 10, unprocessed jobs: 0 2155s # Pool idle thread count: 10, unprocessed jobs: 0 2155s # Pool idle thread count: 10, unprocessed jobs: 0 2155s # Pool idle thread count: 10, unprocessed jobs: 0 2156s # Pool idle thread count: 10, unprocessed jobs: 0 2156s # Pool idle thread count: 10, unprocessed jobs: 0 2156s # Pool idle thread count: 10, unprocessed jobs: 2 2156s # Pool idle thread count: 9, unprocessed jobs: 1 2156s # Pool idle thread count: 8, unprocessed jobs: 0 2156s # Pool idle thread count: 8, unprocessed jobs: 0 2157s # Pool idle thread count: 10, unprocessed jobs: 0 2157s # Pool idle thread count: 10, unprocessed jobs: 0 2157s Executing: glib/thread-pool-slow.test 2157s # Pool idle thread count: 10, unprocessed jobs: 0 2157s # Pool idle thread count: 10, unprocessed jobs: 0 2158s # Pool idle thread count: 10, unprocessed jobs: 0 2158s # Pool idle thread count: 10, unprocessed jobs: 0 2158s # Pool idle thread count: 2, unprocessed jobs: 0 2158s # Pool idle thread count: 2, unprocessed jobs: 0 2159s # Pool idle thread count: 2, unprocessed jobs: 0 2159s # Pool idle thread count: 2, unprocessed jobs: 0 2159s # Pool idle thread count: 2, unprocessed jobs: 0 2159s # Pool idle thread count: 2, unprocessed jobs: 0 2160s # Pool idle thread count: 2, unprocessed jobs: 0 2160s # Pool idle thread count: 2, unprocessed jobs: 0 2160s # Pool idle thread count: 2, unprocessed jobs: 0 2160s # Pool idle thread count: 2, unprocessed jobs: 0 2161s # Pool idle thread count: 2, unprocessed jobs: 0 2161s # Pool idle thread count: 2, unprocessed jobs: 0 2161s # Pool idle thread count: 2, unprocessed jobs: 0 2161s # Pool idle thread count: 2, unprocessed jobs: 0 2162s Executing: glib/thread-pool-slow.test 2162s # Pool idle thread count: 2, unprocessed jobs: 0 2162s # Pool idle thread count: 2, unprocessed jobs: 0 2162s # Pool idle thread count: 2, unprocessed jobs: 0 2162s # Pool idle thread count: 2, unprocessed jobs: 0 2163s # Pool idle thread count: 2, unprocessed jobs: 0 2163s # Pool idle thread count: 2, unprocessed jobs: 0 2163s # Pool idle thread count: 2, unprocessed jobs: 0 2163s # Pool idle thread count: 2, unprocessed jobs: 0 2164s # Pool idle thread count: 2, unprocessed jobs: 0 2164s # Pool idle thread count: 2, unprocessed jobs: 0 2164s # Pool idle thread count: 2, unprocessed jobs: 0 2164s # Pool idle thread count: 2, unprocessed jobs: 0 2165s # Pool idle thread count: 2, unprocessed jobs: 0 2165s # Pool idle thread count: 2, unprocessed jobs: 0 2165s # Pool idle thread count: 2, unprocessed jobs: 0 2165s # Pool idle thread count: 2, unprocessed jobs: 0 2166s # Pool idle thread count: 2, unprocessed jobs: 0 2166s # Pool idle thread count: 2, unprocessed jobs: 0 2166s # Pool idle thread count: 2, unprocessed jobs: 0 2166s # Pool idle thread count: 2, unprocessed jobs: 0 2167s Executing: glib/thread-pool-slow.test 2167s ok 7 /threadpool/idle-time 2167s # slow test /threadpool/idle-time executed in 19.52 secs 2167s # End of threadpool tests 2167s PASS: glib/thread-pool-slow.test 2167s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=2688 2167s autopkgtest [15:35:01]: test thread-pool-slow: -----------------------] 2172s autopkgtest [15:35:06]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 2172s thread-pool-slow PASS 2176s autopkgtest [15:35:10]: test threadtests: preparing testbed 2178s Reading package lists... 2179s Building dependency tree... 2179s Reading state information... 2179s Starting pkgProblemResolver with broken count: 0 2179s Starting 2 pkgProblemResolver with broken count: 0 2179s Done 2180s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2189s autopkgtest [15:35:23]: test threadtests: [----------------------- 2192s Running test: glib/threadtests.test 2192s TAP version 14 2192s # random seed: R02S099998855b7e87fdaa8a5fd6e3920606 2192s 1..5 2192s # Start of GObject tests 2192s ok 1 /GObject/threaded-object-init 2193s ok 2 /GObject/threaded-weak-ref 2193s # slow test /GObject/threaded-weak-ref executed in 0.83 secs 2193s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 2193s # /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 2197s Executing: glib/threadtests.test 2202s Executing: glib/threadtests.test 2207s Executing: glib/threadtests.test 2212s Executing: glib/threadtests.test 2217s Executing: glib/threadtests.test 2222s ok 3 /GObject/threaded-toggle-notify 2222s # slow test /GObject/threaded-toggle-notify executed in 29.00 secs 2222s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 2222s # Start of threaded-weak-ref tests 2222s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 2222s # /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. 2222s ok 5 /GObject/threaded-weak-ref/on-finalization 2222s # End of threaded-weak-ref tests 2222s # End of GObject tests 2222s PASS: glib/threadtests.test 2222s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=113.0s; system=0.7s; maxrss=2560 2222s autopkgtest [15:35:56]: test threadtests: -----------------------] 2226s threadtests PASS 2226s autopkgtest [15:36:00]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 2231s autopkgtest [15:36:05]: test timeout: preparing testbed 2233s Reading package lists... 2233s Building dependency tree... 2233s Reading state information... 2234s Starting pkgProblemResolver with broken count: 0 2234s Starting 2 pkgProblemResolver with broken count: 0 2234s Done 2235s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2243s autopkgtest [15:36:17]: test timeout: [----------------------- 2245s Running test: glib/timeout.test 2245s TAP version 14 2245s # random seed: R02S5853572e5fa6ae7ae1a6760e7b8ee91e 2245s 1..5 2245s # Start of timeout tests 2245s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 2248s ok 1 /timeout/seconds 2248s # slow test /timeout/seconds executed in 2.10 secs 2250s ok 2 /timeout/seconds-once 2250s # slow test /timeout/seconds-once executed in 2.10 secs 2250s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 2251s Executing: glib/timeout.test 2252s ok 3 /timeout/weeks-overflow 2252s # slow test /timeout/weeks-overflow executed in 2.10 secs 2252s ok 4 /timeout/far-future-ready-time 2256s Executing: glib/timeout.test 2261s Executing: glib/timeout.test 2262s ok 5 /timeout/rounding 2262s # slow test /timeout/rounding executed in 10.06 secs 2262s # End of timeout tests 2262s PASS: glib/timeout.test 2262s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 2262s autopkgtest [15:36:36]: test timeout: -----------------------] 2267s timeout PASS 2267s autopkgtest [15:36:41]: test timeout: - - - - - - - - - - results - - - - - - - - - - 2272s autopkgtest [15:36:46]: test timer: preparing testbed 2274s Reading package lists... 2274s Building dependency tree... 2274s Reading state information... 2275s Starting pkgProblemResolver with broken count: 0 2275s Starting 2 pkgProblemResolver with broken count: 0 2275s Done 2276s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2284s autopkgtest [15:36:58]: test timer: [----------------------- 2286s Running test: glib/timer.test 2286s TAP version 14 2286s # random seed: R02Sdf32a882c7341146e62ae79929ea35bc 2286s 1..10 2286s # Start of timer tests 2286s ok 1 /timer/basic 2286s ok 2 /timer/stop 2286s ok 3 /timer/continue 2286s ok 4 /timer/reset 2286s ok 5 /timer/is_active 2286s # End of timer tests 2286s # Start of timeval tests 2286s ok 6 /timeval/add 2286s ok 7 /timeval/from-iso8601 2286s ok 8 /timeval/to-iso8601 2286s # Start of to-iso8601 tests 2286s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 2286s # End of to-iso8601 tests 2286s # End of timeval tests 2286s # Start of usleep tests 2286s ok 10 /usleep/with-zero-wait 2286s # End of usleep tests 2286s PASS: glib/timer.test 2286s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2176 2287s autopkgtest [15:37:01]: test timer: -----------------------] 2292s autopkgtest [15:37:06]: test timer: - - - - - - - - - - results - - - - - - - - - - 2292s timer PASS 2297s autopkgtest [15:37:11]: test 1065022-futureproofing: preparing testbed 2350s autopkgtest [15:38:04]: testbed dpkg architecture: armhf 2353s autopkgtest [15:38:07]: testbed apt version: 2.9.14ubuntu1 2358s autopkgtest [15:38:11]: @@@@@@@@@@@@@@@@@@@@ test bed setup 2359s autopkgtest [15:38:13]: testbed release detected to be: plucky 2368s autopkgtest [15:38:22]: updating testbed package index (apt update) 2371s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 2371s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 2371s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 2371s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 2372s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [73.5 kB] 2372s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 2372s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 2372s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [782 kB] 2372s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [75.6 kB] 2372s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 2372s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [606 kB] 2372s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [3572 B] 2372s Get:13 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [297 kB] 2372s Get:14 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.9 MB] 2372s Get:15 http://ftpmaster.internal/ubuntu plucky/restricted Sources [15.2 kB] 2372s Get:16 http://ftpmaster.internal/ubuntu plucky/main Sources [1383 kB] 2372s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1355 kB] 2372s Get:18 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2544 B] 2372s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [14.9 MB] 2373s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 2376s Fetched 40.9 MB in 5s (7915 kB/s) 2377s Reading package lists... 2385s autopkgtest [15:38:39]: upgrading testbed (apt dist-upgrade and autopurge) 2387s Reading package lists... 2387s Building dependency tree... 2387s Reading state information... 2388s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 2388s Starting 2 pkgProblemResolver with broken count: 0 2388s Done 2389s Entering ResolveByKeep 2389s 2390s The following packages were automatically installed and are no longer required: 2390s libassuan0 libnsl2 libpython3.12-minimal libpython3.12-stdlib python3.12 2390s python3.12-minimal 2390s Use 'apt autoremove' to remove them. 2390s The following NEW packages will be installed: 2390s libpython3.13-minimal libpython3.13-stdlib openssl-provider-legacy 2390s python3-bcrypt python3.13 python3.13-minimal 2390s The following packages will be upgraded: 2390s apport apport-core-dump-handler appstream apt apt-utils base-passwd bash 2390s bash-completion binutils binutils-arm-linux-gnueabihf binutils-common 2390s bsdextrautils bsdutils curl dirmngr dracut-install eject ethtool fdisk fwupd 2390s gcc-14-base gettext-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg 2390s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 2390s groff-base iputils-ping iputils-tracepath keyboxd libappstream5 2390s libapt-pkg6.0t64 libatomic1 libbinutils libblkid1 libbpf1 libc-bin libc6 2390s libcap-ng0 libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 2390s libdebconfclient0 libfdisk1 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 2390s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 2390s libgpg-error-l10n libgpg-error0 libgstreamer1.0-0 libjson-glib-1.0-0 2390s libjson-glib-1.0-common libmount1 libnewt0.52 libnpth0t64 libnss-systemd 2390s libnss3 libpam-systemd libpng16-16t64 libpython3-stdlib 2390s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 2390s libreadline8t64 libsframe1 libsmartcols1 libssl3t64 libstdc++6 2390s libsystemd-shared libsystemd0 libtraceevent1 libtraceevent1-plugin libudev1 2390s libunistring5 libuuid1 libwrap0 libxkbcommon0 libxml2 libyaml-0-2 locales 2390s make mount openssl pci.ids publicsuffix python-apt-common python3 2390s python3-apport python3-apt python3-attr python3-cryptography python3-gdbm 2390s python3-jinja2 python3-json-pointer python3-jsonpatch python3-minimal 2390s python3-newt python3-openssl python3-pkg-resources python3-problem-report 2390s python3-rich python3-setuptools python3-software-properties python3-wadllib 2390s python3.12 python3.12-gdbm python3.12-minimal python3.13-gdbm 2390s readline-common rsync software-properties-common systemd systemd-cryptsetup 2390s systemd-resolved systemd-sysv systemd-timesyncd tar tzdata ucf udev usb.ids 2390s util-linux uuid-runtime whiptail xauth 2390s 139 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 2390s Need to get 64.0 MB of archives. 2390s After this operation, 28.5 MB of additional disk space will be used. 2390s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 2390s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-1ubuntu2 [108 kB] 2390s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 2390s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-12ubuntu1 [7892 B] 2390s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-12ubuntu1 [52.6 kB] 2390s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-12ubuntu1 [40.6 kB] 2390s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-12ubuntu1 [711 kB] 2390s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 2391s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.0-1ubuntu2 [29.4 kB] 2391s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.0-1ubuntu2 [1756 kB] 2391s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257-2ubuntu1 [41.2 kB] 2391s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257-2ubuntu1 [307 kB] 2391s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257-2ubuntu1 [122 kB] 2391s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-1ubuntu2 [62.3 kB] 2391s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-1ubuntu2 [99.4 kB] 2391s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-1ubuntu2 [155 kB] 2391s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-1ubuntu2 [167 kB] 2391s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-1ubuntu2 [189 kB] 2391s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-1ubuntu2 [135 kB] 2391s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-1ubuntu2 [39.5 kB] 2391s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-1ubuntu2 [1195 kB] 2391s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-1ubuntu2 [62.7 kB] 2391s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-1ubuntu2 [211 kB] 2391s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-1ubuntu2 [156 kB] 2391s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 2391s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 2391s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257-2ubuntu1 [160 kB] 2391s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257-2ubuntu1 [3489 kB] 2391s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257-2ubuntu1 [1974 kB] 2391s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257-2ubuntu1 [11.8 kB] 2391s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257-2ubuntu1 [233 kB] 2391s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257-2ubuntu1 [2156 kB] 2391s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257-2ubuntu1 [190 kB] 2391s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257-2ubuntu1 [483 kB] 2391s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 2391s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 2391s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 2391s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.18 [1085 kB] 2391s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.18 [1349 kB] 2391s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.18 [216 kB] 2391s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 2391s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 2391s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 2391s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu21 [88.9 kB] 2391s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu21 [351 kB] 2391s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu21 [246 kB] 2391s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu21 [160 kB] 2391s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu21 [238 kB] 2391s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu21 [536 kB] 2391s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu21 [118 kB] 2391s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu21 [359 kB] 2391s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu21 [113 kB] 2391s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu21 [228 kB] 2391s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.1-2 [868 kB] 2391s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.1-2 [2036 kB] 2391s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 2391s Get:57 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.13.1-1~exp2 [27.6 kB] 2391s Get:58 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.13.1-1~exp2 [23.9 kB] 2391s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 2391s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2024b-4ubuntu1 [196 kB] 2391s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.1-2 [1970 kB] 2391s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.1-2 [729 kB] 2391s Get:63 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.13.1-1~exp2 [10.2 kB] 2391s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.8-3 [667 kB] 2391s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.8-3 [1939 kB] 2392s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.8-3 [2029 kB] 2392s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.8-3 [825 kB] 2392s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.3.0+ds1-2 [422 kB] 2392s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.6build1 [21.0 kB] 2392s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.6build1 [174 kB] 2392s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0-0ubuntu2 [25.3 kB] 2392s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0-0ubuntu2 [93.1 kB] 2392s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-data all 2.82.4-1 [52.2 kB] 2392s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.4-1 [93.0 kB] 2392s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-3 [25.3 kB] 2392s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-glib-2.0 armhf 2.82.4-1 [182 kB] 2392s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-0t64 armhf 2.82.4-1 [1421 kB] 2392s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-3 [108 kB] 2392s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0-0ubuntu2 [18.2 kB] 2392s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0-0ubuntu2 [82.9 kB] 2392s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 2392s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 2392s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 2392s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 2392s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 2392s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 2392s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 2392s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2build1 [599 kB] 2392s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 2392s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 2392s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.0-1ubuntu2 [1159 kB] 2392s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 2392s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0046 [41.9 kB] 2392s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 2392s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-1 [214 kB] 2392s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 2392s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.22.5-3 [40.7 kB] 2392s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 2392s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 2392s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.44-3 [169 kB] 2392s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 2392s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 2392s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 2393s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2024.11.25-1 [282 kB] 2393s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20241206.1516-0.1 [135 kB] 2393s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.1-2 [29.8 kB] 2393s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.8-3 [28.9 kB] 2393s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 2393s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2024.12.04-1 [223 kB] 2393s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 2393s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.11.1-1ubuntu1 [333 kB] 2393s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 2393s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 2393s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.43.50.20241221-1ubuntu1 [74.8 kB] 2393s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.43.50.20241221-1ubuntu1 [77.7 kB] 2393s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.43.50.20241221-1ubuntu1 [2986 kB] 2393s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.43.50.20241221-1ubuntu1 [408 kB] 2393s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.43.50.20241221-1ubuntu1 [3090 B] 2393s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.43.50.20241221-1ubuntu1 [222 kB] 2393s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.43.50.20241221-1ubuntu1 [12.1 kB] 2393s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.11.1-1ubuntu1 [244 kB] 2393s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.11.1-1ubuntu1 [337 kB] 2393s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu5 [37.3 kB] 2393s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 2393s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 2393s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.3-3 [5028 kB] 2393s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.3-3 [121 kB] 2393s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 2393s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 2393s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu21 [66.3 kB] 2393s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 2393s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.24.10-2 [1109 kB] 2393s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.106-1ubuntu1 [1321 kB] 2393s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-34 [45.7 kB] 2393s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 2393s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 24.2.0-1 [50.2 kB] 2393s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.3-1.1 [108 kB] 2393s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 2393s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 2393s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 24.3.0-1 [45.8 kB] 2393s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 2393s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 2393s Get:143 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.108 [16.5 kB] 2393s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.108 [30.9 kB] 2393s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 2394s Preconfiguring packages ... 2394s Fetched 64.0 MB in 3s (18.3 MB/s) 2394s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2394s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 2394s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 2394s Setting up bash (5.2.37-1ubuntu1) ... 2394s 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 2394s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2394s Preparing to unpack .../bsdutils_1%3a2.40.2-1ubuntu2_armhf.deb ... 2394s Unpacking bsdutils (1:2.40.2-1ubuntu2) over (1:2.40.2-1ubuntu1) ... 2395s Setting up bsdutils (1:2.40.2-1ubuntu2) ... 2395s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2395s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 2395s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 2395s Setting up tar (1.35+dfsg-3.1) ... 2395s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2395s Preparing to unpack .../libatomic1_14.2.0-12ubuntu1_armhf.deb ... 2395s Unpacking libatomic1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 2395s Preparing to unpack .../gcc-14-base_14.2.0-12ubuntu1_armhf.deb ... 2395s Unpacking gcc-14-base:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 2395s Setting up gcc-14-base:armhf (14.2.0-12ubuntu1) ... 2395s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2395s Preparing to unpack .../libgcc-s1_14.2.0-12ubuntu1_armhf.deb ... 2395s Unpacking libgcc-s1:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 2395s Setting up libgcc-s1:armhf (14.2.0-12ubuntu1) ... 2395s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2395s Preparing to unpack .../libstdc++6_14.2.0-12ubuntu1_armhf.deb ... 2395s Unpacking libstdc++6:armhf (14.2.0-12ubuntu1) over (14.2.0-8ubuntu1) ... 2395s Setting up libstdc++6:armhf (14.2.0-12ubuntu1) ... 2395s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2395s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 2395s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 2395s Setting up libc6:armhf (2.40-4ubuntu1) ... 2396s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2396s Preparing to unpack .../libssl3t64_3.4.0-1ubuntu2_armhf.deb ... 2396s Unpacking libssl3t64:armhf (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 2396s Selecting previously unselected package openssl-provider-legacy. 2396s Preparing to unpack .../openssl-provider-legacy_3.4.0-1ubuntu2_armhf.deb ... 2396s Unpacking openssl-provider-legacy (3.4.0-1ubuntu2) ... 2396s Setting up libssl3t64:armhf (3.4.0-1ubuntu2) ... 2396s Setting up openssl-provider-legacy (3.4.0-1ubuntu2) ... 2396s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2396s Preparing to unpack .../0-systemd-timesyncd_257-2ubuntu1_armhf.deb ... 2396s Unpacking systemd-timesyncd (257-2ubuntu1) over (256.5-2ubuntu4) ... 2396s Preparing to unpack .../1-systemd-resolved_257-2ubuntu1_armhf.deb ... 2396s Unpacking systemd-resolved (257-2ubuntu1) over (256.5-2ubuntu4) ... 2396s Preparing to unpack .../2-systemd-cryptsetup_257-2ubuntu1_armhf.deb ... 2396s Unpacking systemd-cryptsetup (257-2ubuntu1) over (256.5-2ubuntu4) ... 2396s Preparing to unpack .../3-eject_2.40.2-1ubuntu2_armhf.deb ... 2396s Unpacking eject (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2396s Preparing to unpack .../4-bsdextrautils_2.40.2-1ubuntu2_armhf.deb ... 2396s Unpacking bsdextrautils (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2396s Preparing to unpack .../5-fdisk_2.40.2-1ubuntu2_armhf.deb ... 2396s Unpacking fdisk (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2396s Preparing to unpack .../6-libblkid1_2.40.2-1ubuntu2_armhf.deb ... 2396s Unpacking libblkid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2396s Setting up libblkid1:armhf (2.40.2-1ubuntu2) ... 2396s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2396s Preparing to unpack .../libmount1_2.40.2-1ubuntu2_armhf.deb ... 2396s Unpacking libmount1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2396s Setting up libmount1:armhf (2.40.2-1ubuntu2) ... 2396s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2396s Preparing to unpack .../libsmartcols1_2.40.2-1ubuntu2_armhf.deb ... 2396s Unpacking libsmartcols1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2396s Setting up libsmartcols1:armhf (2.40.2-1ubuntu2) ... 2396s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2396s Preparing to unpack .../libuuid1_2.40.2-1ubuntu2_armhf.deb ... 2396s Unpacking libuuid1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2396s Setting up libuuid1:armhf (2.40.2-1ubuntu2) ... 2396s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2396s Preparing to unpack .../util-linux_2.40.2-1ubuntu2_armhf.deb ... 2396s Unpacking util-linux (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2396s Setting up util-linux (2.40.2-1ubuntu2) ... 2397s fstrim.service is a disabled or a static unit not running, not starting it. 2397s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2397s Preparing to unpack .../0-uuid-runtime_2.40.2-1ubuntu2_armhf.deb ... 2397s Unpacking uuid-runtime (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2397s Preparing to unpack .../1-libfdisk1_2.40.2-1ubuntu2_armhf.deb ... 2397s Unpacking libfdisk1:armhf (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2397s Preparing to unpack .../2-mount_2.40.2-1ubuntu2_armhf.deb ... 2397s Unpacking mount (2.40.2-1ubuntu2) over (2.40.2-1ubuntu1) ... 2398s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 2398s Unpacking readline-common (8.2-6) over (8.2-5) ... 2398s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 2398s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 2398s 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' 2398s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 2398s 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' 2398s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 2398s Preparing to unpack .../5-libnss-systemd_257-2ubuntu1_armhf.deb ... 2398s Unpacking libnss-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 2398s Preparing to unpack .../6-systemd_257-2ubuntu1_armhf.deb ... 2398s Unpacking systemd (257-2ubuntu1) over (256.5-2ubuntu4) ... 2398s Preparing to unpack .../7-udev_257-2ubuntu1_armhf.deb ... 2398s Unpacking udev (257-2ubuntu1) over (256.5-2ubuntu4) ... 2398s Preparing to unpack .../8-libsystemd-shared_257-2ubuntu1_armhf.deb ... 2398s Unpacking libsystemd-shared:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 2398s Setting up libsystemd-shared:armhf (257-2ubuntu1) ... 2398s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2398s Preparing to unpack .../libsystemd0_257-2ubuntu1_armhf.deb ... 2398s Unpacking libsystemd0:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 2398s Setting up libsystemd0:armhf (257-2ubuntu1) ... 2398s Setting up mount (2.40.2-1ubuntu2) ... 2398s Setting up systemd (257-2ubuntu1) ... 2398s Installing new version of config file /etc/systemd/logind.conf ... 2398s Installing new version of config file /etc/systemd/sleep.conf ... 2398s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 2398s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 2399s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 2399s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2399s Preparing to unpack .../systemd-sysv_257-2ubuntu1_armhf.deb ... 2399s Unpacking systemd-sysv (257-2ubuntu1) over (256.5-2ubuntu4) ... 2399s Preparing to unpack .../libpam-systemd_257-2ubuntu1_armhf.deb ... 2399s Unpacking libpam-systemd:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 2399s Preparing to unpack .../libudev1_257-2ubuntu1_armhf.deb ... 2399s Unpacking libudev1:armhf (257-2ubuntu1) over (256.5-2ubuntu4) ... 2399s Setting up libudev1:armhf (257-2ubuntu1) ... 2400s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2400s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 2400s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 2400s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 2400s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2400s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 2400s Unpacking base-passwd (3.6.6) over (3.6.5) ... 2400s Setting up base-passwd (3.6.6) ... 2400s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2400s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 2400s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 2400s Setting up libc-bin (2.40-4ubuntu1) ... 2400s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2400s Preparing to unpack .../libapt-pkg6.0t64_2.9.18_armhf.deb ... 2400s Unpacking libapt-pkg6.0t64:armhf (2.9.18) over (2.9.14ubuntu1) ... 2400s Setting up libapt-pkg6.0t64:armhf (2.9.18) ... 2400s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2400s Preparing to unpack .../archives/apt_2.9.18_armhf.deb ... 2400s Unpacking apt (2.9.18) over (2.9.14ubuntu1) ... 2401s Setting up apt (2.9.18) ... 2401s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2401s Preparing to unpack .../apt-utils_2.9.18_armhf.deb ... 2401s Unpacking apt-utils (2.9.18) over (2.9.14ubuntu1) ... 2401s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 2401s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 2401s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 2401s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 2401s Setting up libgpg-error0:armhf (1.51-3) ... 2401s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2401s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 2401s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 2401s Setting up libnpth0t64:armhf (1.8-2) ... 2401s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2401s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu21_armhf.deb ... 2401s Unpacking gpg-wks-client (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2402s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu21_armhf.deb ... 2402s Unpacking dirmngr (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2402s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu21_armhf.deb ... 2402s Unpacking gpgsm (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2402s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu21_armhf.deb ... 2402s Unpacking gnupg-utils (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2402s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu21_armhf.deb ... 2402s Unpacking gpg-agent (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2402s Preparing to unpack .../5-gpg_2.4.4-2ubuntu21_armhf.deb ... 2402s Unpacking gpg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2402s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu21_armhf.deb ... 2402s Unpacking gpgconf (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2402s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu21_all.deb ... 2402s Unpacking gnupg (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2402s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu21_armhf.deb ... 2402s Unpacking keyboxd (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2402s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu21_armhf.deb ... 2402s Unpacking gpgv (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2402s Setting up gpgv (2.4.4-2ubuntu21) ... 2402s Selecting previously unselected package libpython3.13-minimal:armhf. 2402s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2402s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_armhf.deb ... 2402s Unpacking libpython3.13-minimal:armhf (3.13.1-2) ... 2402s Selecting previously unselected package python3.13-minimal. 2402s Preparing to unpack .../python3.13-minimal_3.13.1-2_armhf.deb ... 2402s Unpacking python3.13-minimal (3.13.1-2) ... 2402s Preparing to unpack .../python3-cryptography_43.0.0-1_armhf.deb ... 2402s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 2402s Setting up libpython3.13-minimal:armhf (3.13.1-2) ... 2402s Setting up python3.13-minimal (3.13.1-2) ... 2404s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60284 files and directories currently installed.) 2404s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_armhf.deb ... 2404s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 2404s Setting up python3-minimal (3.13.1-1~exp2) ... 2404s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60284 files and directories currently installed.) 2404s Preparing to unpack .../00-python3_3.13.1-1~exp2_armhf.deb ... 2404s Unpacking python3 (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 2404s Selecting previously unselected package python3-bcrypt. 2404s Preparing to unpack .../01-python3-bcrypt_4.2.0-2.1_armhf.deb ... 2404s Unpacking python3-bcrypt (4.2.0-2.1) ... 2404s Preparing to unpack .../02-tzdata_2024b-4ubuntu1_all.deb ... 2404s Unpacking tzdata (2024b-4ubuntu1) over (2024b-1ubuntu2) ... 2404s Selecting previously unselected package libpython3.13-stdlib:armhf. 2404s Preparing to unpack .../03-libpython3.13-stdlib_3.13.1-2_armhf.deb ... 2404s Unpacking libpython3.13-stdlib:armhf (3.13.1-2) ... 2404s Selecting previously unselected package python3.13. 2404s Preparing to unpack .../04-python3.13_3.13.1-2_armhf.deb ... 2404s Unpacking python3.13 (3.13.1-2) ... 2404s Preparing to unpack .../05-libpython3-stdlib_3.13.1-1~exp2_armhf.deb ... 2404s Unpacking libpython3-stdlib:armhf (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 2404s Preparing to unpack .../06-python3.12_3.12.8-3_armhf.deb ... 2404s Unpacking python3.12 (3.12.8-3) over (3.12.7-3) ... 2404s Preparing to unpack .../07-libpython3.12-stdlib_3.12.8-3_armhf.deb ... 2404s Unpacking libpython3.12-stdlib:armhf (3.12.8-3) over (3.12.7-3) ... 2405s Preparing to unpack .../08-python3.12-minimal_3.12.8-3_armhf.deb ... 2405s Unpacking python3.12-minimal (3.12.8-3) over (3.12.7-3) ... 2405s Preparing to unpack .../09-libpython3.12-minimal_3.12.8-3_armhf.deb ... 2405s Unpacking libpython3.12-minimal:armhf (3.12.8-3) over (3.12.7-3) ... 2405s Preparing to unpack .../10-rsync_3.3.0+ds1-2_armhf.deb ... 2405s Unpacking rsync (3.3.0+ds1-2) over (3.3.0-1) ... 2405s Preparing to unpack .../11-python-apt-common_2.9.6build1_all.deb ... 2405s Unpacking python-apt-common (2.9.6build1) over (2.9.0ubuntu2) ... 2405s Preparing to unpack .../12-python3-apt_2.9.6build1_armhf.deb ... 2405s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2405s for fn in glob1(directory, "%s.*" % fname): 2405s Unpacking python3-apt (2.9.6build1) over (2.9.0ubuntu2) ... 2405s Preparing to unpack .../13-python3-problem-report_2.31.0-0ubuntu2_all.deb ... 2405s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2405s for fn in glob1(directory, "%s.*" % fname): 2405s Unpacking python3-problem-report (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 2405s Preparing to unpack .../14-python3-apport_2.31.0-0ubuntu2_all.deb ... 2405s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2405s for fn in glob1(directory, "%s.*" % fname): 2405s Unpacking python3-apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 2405s Preparing to unpack .../15-libglib2.0-data_2.82.4-1_all.deb ... 2405s Unpacking libglib2.0-data (2.82.4-1) over (2.82.2-3) ... 2405s Preparing to unpack .../16-libglib2.0-bin_2.82.4-1_armhf.deb ... 2405s Unpacking libglib2.0-bin (2.82.4-1) over (2.82.2-3) ... 2405s Preparing to unpack .../17-gir1.2-girepository-2.0_1.82.0-3_armhf.deb ... 2405s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-3) over (1.82.0-2) ... 2405s Preparing to unpack .../18-gir1.2-glib-2.0_2.82.4-1_armhf.deb ... 2405s Unpacking gir1.2-glib-2.0:armhf (2.82.4-1) over (2.82.2-3) ... 2406s Preparing to unpack .../19-libglib2.0-0t64_2.82.4-1_armhf.deb ... 2406s Unpacking libglib2.0-0t64:armhf (2.82.4-1) over (2.82.2-3) ... 2406s Preparing to unpack .../20-libgirepository-1.0-1_1.82.0-3_armhf.deb ... 2406s Unpacking libgirepository-1.0-1:armhf (1.82.0-3) over (1.82.0-2) ... 2406s Preparing to unpack .../21-apport-core-dump-handler_2.31.0-0ubuntu2_all.deb ... 2406s Unpacking apport-core-dump-handler (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 2406s Preparing to unpack .../22-apport_2.31.0-0ubuntu2_all.deb ... 2406s Unpacking apport (2.31.0-0ubuntu2) over (2.30.0-0ubuntu5) ... 2406s Preparing to unpack .../23-libcap-ng0_0.8.5-4_armhf.deb ... 2406s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 2406s Setting up libcap-ng0:armhf (0.8.5-4) ... 2406s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60703 files and directories currently installed.) 2406s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 2406s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 2406s Setting up libunistring5:armhf (1.3-1) ... 2406s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60703 files and directories currently installed.) 2406s Preparing to unpack .../00-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 2406s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 2406s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 2406s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 2406s Preparing to unpack .../02-libfribidi0_1.0.16-1_armhf.deb ... 2406s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 2406s Preparing to unpack .../03-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 2406s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2406s for fn in glob1(directory, "%s.*" % fname): 2406s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 2406s Preparing to unpack .../04-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 2406s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 2406s Preparing to unpack .../05-libxml2_2.12.7+dfsg+really2.9.14-0.2build1_armhf.deb ... 2406s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) over (2.12.7+dfsg-3) ... 2406s Preparing to unpack .../06-libyaml-0-2_0.2.5-2_armhf.deb ... 2406s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 2406s Preparing to unpack .../07-locales_2.40-4ubuntu1_all.deb ... 2406s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 2407s Preparing to unpack .../08-openssl_3.4.0-1ubuntu2_armhf.deb ... 2407s Unpacking openssl (3.4.0-1ubuntu2) over (3.3.1-2ubuntu2) ... 2407s Preparing to unpack .../09-python3-rich_13.9.4-1_all.deb ... 2407s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2407s for fn in glob1(directory, "%s.*" % fname): 2407s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 2407s Preparing to unpack .../10-ucf_3.0046_all.deb ... 2407s Unpacking ucf (3.0046) over (3.0043+nmu1) ... 2407s Preparing to unpack .../11-whiptail_0.52.24-4ubuntu1_armhf.deb ... 2407s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 2407s Preparing to unpack .../12-bash-completion_1%3a2.16.0-1_all.deb ... 2407s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 2407s Preparing to unpack .../13-ethtool_1%3a6.11-1_armhf.deb ... 2407s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 2407s Preparing to unpack .../14-gettext-base_0.22.5-3_armhf.deb ... 2407s Unpacking gettext-base (0.22.5-3) over (0.22.5-2) ... 2407s Preparing to unpack .../15-groff-base_1.23.0-7_armhf.deb ... 2407s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 2407s Preparing to unpack .../16-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 2407s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 2408s Preparing to unpack .../17-libpng16-16t64_1.6.44-3_armhf.deb ... 2408s Unpacking libpng16-16t64:armhf (1.6.44-3) over (1.6.44-2) ... 2408s Preparing to unpack .../18-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 2408s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 2408s Preparing to unpack .../19-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 2408s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 2408s Preparing to unpack .../20-libxkbcommon0_1.7.0-2_armhf.deb ... 2408s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 2408s Preparing to unpack .../21-pci.ids_0.0~2024.11.25-1_all.deb ... 2408s Unpacking pci.ids (0.0~2024.11.25-1) over (0.0~2024.10.24-1) ... 2408s Preparing to unpack .../22-publicsuffix_20241206.1516-0.1_all.deb ... 2408s Unpacking publicsuffix (20241206.1516-0.1) over (20231001.0357-0.1) ... 2408s Preparing to unpack .../23-python3.13-gdbm_3.13.1-2_armhf.deb ... 2408s Unpacking python3.13-gdbm (3.13.1-2) over (3.13.0-2) ... 2408s Preparing to unpack .../24-python3.12-gdbm_3.12.8-3_armhf.deb ... 2408s Unpacking python3.12-gdbm (3.12.8-3) over (3.12.7-3) ... 2408s Preparing to unpack .../25-python3-gdbm_3.13.1-1_armhf.deb ... 2408s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 2408s Preparing to unpack .../26-usb.ids_2024.12.04-1_all.deb ... 2408s Unpacking usb.ids (2024.12.04-1) over (2024.07.04-1) ... 2408s Preparing to unpack .../27-xauth_1%3a1.1.2-1.1_armhf.deb ... 2408s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 2408s Preparing to unpack .../28-libcurl3t64-gnutls_8.11.1-1ubuntu1_armhf.deb ... 2408s Unpacking libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 2408s Preparing to unpack .../29-libappstream5_1.0.4-1_armhf.deb ... 2408s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 2408s Preparing to unpack .../30-appstream_1.0.4-1_armhf.deb ... 2408s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 2408s Preparing to unpack .../31-libctf0_2.43.50.20241221-1ubuntu1_armhf.deb ... 2408s Unpacking libctf0:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 2408s Preparing to unpack .../32-libctf-nobfd0_2.43.50.20241221-1ubuntu1_armhf.deb ... 2408s Unpacking libctf-nobfd0:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 2408s Preparing to unpack .../33-binutils-arm-linux-gnueabihf_2.43.50.20241221-1ubuntu1_armhf.deb ... 2408s Unpacking binutils-arm-linux-gnueabihf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 2408s Preparing to unpack .../34-libbinutils_2.43.50.20241221-1ubuntu1_armhf.deb ... 2408s Unpacking libbinutils:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 2408s Preparing to unpack .../35-binutils_2.43.50.20241221-1ubuntu1_armhf.deb ... 2408s Unpacking binutils (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 2408s Preparing to unpack .../36-binutils-common_2.43.50.20241221-1ubuntu1_armhf.deb ... 2408s Unpacking binutils-common:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 2409s Preparing to unpack .../37-libsframe1_2.43.50.20241221-1ubuntu1_armhf.deb ... 2409s Unpacking libsframe1:armhf (2.43.50.20241221-1ubuntu1) over (2.43.1-4ubuntu1) ... 2409s Preparing to unpack .../38-curl_8.11.1-1ubuntu1_armhf.deb ... 2409s Unpacking curl (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 2409s Preparing to unpack .../39-libcurl4t64_8.11.1-1ubuntu1_armhf.deb ... 2409s Unpacking libcurl4t64:armhf (8.11.1-1ubuntu1) over (8.11.0-1ubuntu2) ... 2409s Preparing to unpack .../40-dracut-install_105-2ubuntu5_armhf.deb ... 2409s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 2409s Preparing to unpack .../41-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 2409s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 2409s Preparing to unpack .../42-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 2409s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 2409s Preparing to unpack .../43-fwupd_2.0.3-3_armhf.deb ... 2409s Unpacking fwupd (2.0.3-3) over (2.0.2-1) ... 2409s Preparing to unpack .../44-libfwupd3_2.0.3-3_armhf.deb ... 2409s Unpacking libfwupd3:armhf (2.0.3-3) over (2.0.2-1) ... 2409s Preparing to unpack .../45-libqmi-proxy_1.35.6-1_armhf.deb ... 2409s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 2409s Preparing to unpack .../46-libqmi-glib5_1.35.6-1_armhf.deb ... 2409s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 2409s Preparing to unpack .../47-gnupg-l10n_2.4.4-2ubuntu21_all.deb ... 2409s Unpacking gnupg-l10n (2.4.4-2ubuntu21) over (2.4.4-2ubuntu18) ... 2409s Preparing to unpack .../48-libftdi1-2_1.5-8_armhf.deb ... 2409s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 2409s Preparing to unpack .../49-libgstreamer1.0-0_1.24.10-2_armhf.deb ... 2409s Unpacking libgstreamer1.0-0:armhf (1.24.10-2) over (1.24.9-1) ... 2409s Preparing to unpack .../50-libnss3_2%3a3.106-1ubuntu1_armhf.deb ... 2409s Unpacking libnss3:armhf (2:3.106-1ubuntu1) over (2:3.103-1) ... 2409s Preparing to unpack .../51-libwrap0_7.6.q-34_armhf.deb ... 2409s Unpacking libwrap0:armhf (7.6.q-34) over (7.6.q-33) ... 2409s Preparing to unpack .../52-make_4.4.1-1_armhf.deb ... 2409s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 2410s Preparing to unpack .../53-python3-attr_24.2.0-1_all.deb ... 2410s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2410s for fn in glob1(directory, "%s.*" % fname): 2410s Unpacking python3-attr (24.2.0-1) over (23.2.0-2) ... 2410s Preparing to unpack .../54-python3-jinja2_3.1.3-1.1_all.deb ... 2410s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2410s for fn in glob1(directory, "%s.*" % fname): 2410s Unpacking python3-jinja2 (3.1.3-1.1) over (3.1.3-1ubuntu1) ... 2410s Preparing to unpack .../55-python3-json-pointer_2.4-3_all.deb ... 2410s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2410s for fn in glob1(directory, "%s.*" % fname): 2410s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 2410s Preparing to unpack .../56-python3-jsonpatch_1.32-5_all.deb ... 2410s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2410s for fn in glob1(directory, "%s.*" % fname): 2410s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 2410s Preparing to unpack .../57-python3-openssl_24.3.0-1_all.deb ... 2410s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2410s for fn in glob1(directory, "%s.*" % fname): 2410s Unpacking python3-openssl (24.3.0-1) over (24.2.1-1) ... 2410s Preparing to unpack .../58-python3-pkg-resources_75.6.0-1_all.deb ... 2410s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2410s for fn in glob1(directory, "%s.*" % fname): 2410s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 2410s Preparing to unpack .../59-python3-setuptools_75.6.0-1_all.deb ... 2410s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2410s for fn in glob1(directory, "%s.*" % fname): 2411s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 2411s Preparing to unpack .../60-software-properties-common_0.108_all.deb ... 2411s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2411s for fn in glob1(directory, "%s.*" % fname): 2411s Unpacking software-properties-common (0.108) over (0.105) ... 2411s Preparing to unpack .../61-python3-software-properties_0.108_all.deb ... 2411s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2411s for fn in glob1(directory, "%s.*" % fname): 2411s Unpacking python3-software-properties (0.108) over (0.105) ... 2411s Preparing to unpack .../62-python3-wadllib_2.0.0-2_all.deb ... 2411s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2411s for fn in glob1(directory, "%s.*" % fname): 2411s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 2411s Setting up systemd-sysv (257-2ubuntu1) ... 2411s Setting up pci.ids (0.0~2024.11.25-1) ... 2411s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 2411s Setting up apt-utils (2.9.18) ... 2411s Setting up bsdextrautils (2.40.2-1ubuntu2) ... 2411s Setting up libcurl4t64:armhf (8.11.1-1ubuntu1) ... 2411s Setting up libyaml-0-2:armhf (0.2.5-2) ... 2411s Setting up python3.12-gdbm (3.12.8-3) ... 2411s Setting up libpython3.12-minimal:armhf (3.12.8-3) ... 2411s Setting up binutils-common:armhf (2.43.50.20241221-1ubuntu1) ... 2411s Setting up libcurl3t64-gnutls:armhf (8.11.1-1ubuntu1) ... 2411s Setting up libctf-nobfd0:armhf (2.43.50.20241221-1ubuntu1) ... 2411s Setting up gettext-base (0.22.5-3) ... 2411s Setting up libnss-systemd:armhf (257-2ubuntu1) ... 2411s Setting up libnss3:armhf (2:3.106-1ubuntu1) ... 2411s Setting up locales (2.40-4ubuntu1) ... 2412s Generating locales (this might take a while)... 2414s en_US.UTF-8... done 2414s Generation complete. 2414s Setting up libsframe1:armhf (2.43.50.20241221-1ubuntu1) ... 2414s Setting up tzdata (2024b-4ubuntu1) ... 2414s 2414s Current default time zone: 'Etc/UTC' 2414s Local time is now: Fri Jan 3 15:39:08 UTC 2025. 2414s Universal Time is now: Fri Jan 3 15:39:08 UTC 2025. 2414s Run 'dpkg-reconfigure tzdata' if you wish to change it. 2414s 2414s Setting up eject (2.40.2-1ubuntu2) ... 2414s Setting up libftdi1-2:armhf (1.5-8) ... 2414s Setting up libglib2.0-data (2.82.4-1) ... 2414s Setting up systemd-cryptsetup (257-2ubuntu1) ... 2414s Setting up libwrap0:armhf (7.6.q-34) ... 2414s Setting up make (4.4.1-1) ... 2414s Setting up gnupg-l10n (2.4.4-2ubuntu21) ... 2414s Setting up bash-completion (1:2.16.0-1) ... 2414s Setting up libfribidi0:armhf (1.0.16-1) ... 2414s Setting up libpng16-16t64:armhf (1.6.44-3) ... 2414s Setting up systemd-timesyncd (257-2ubuntu1) ... 2415s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 2415s Setting up libatomic1:armhf (14.2.0-12ubuntu1) ... 2415s Setting up udev (257-2ubuntu1) ... 2415s Setting up usb.ids (2024.12.04-1) ... 2415s Setting up ucf (3.0046) ... 2415s Installing new version of config file /etc/ucf.conf ... 2415s Setting up libfdisk1:armhf (2.40.2-1ubuntu2) ... 2415s Setting up whiptail (0.52.24-4ubuntu1) ... 2415s Setting up python-apt-common (2.9.6build1) ... 2415s Setting up dracut-install (105-2ubuntu5) ... 2415s Setting up uuid-runtime (2.40.2-1ubuntu2) ... 2416s uuidd.service is a disabled or a static unit not running, not starting it. 2416s Setting up xauth (1:1.1.2-1.1) ... 2416s Setting up groff-base (1.23.0-7) ... 2416s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 2416s Setting up libpam-systemd:armhf (257-2ubuntu1) ... 2416s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 2416s Setting up curl (8.11.1-1ubuntu1) ... 2416s Setting up libbinutils:armhf (2.43.50.20241221-1ubuntu1) ... 2416s Setting up openssl (3.4.0-1ubuntu2) ... 2416s Installing new version of config file /etc/ssl/openssl.cnf ... 2416s Setting up libgpg-error-l10n (1.51-3) ... 2417s Setting up iputils-ping (3:20240905-1ubuntu1) ... 2417s Setting up readline-common (8.2-6) ... 2417s Setting up publicsuffix (20241206.1516-0.1) ... 2417s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2build1) ... 2417s Setting up libbpf1:armhf (1:1.5.0-2) ... 2417s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 2417s Setting up rsync (3.3.0+ds1-2) ... 2417s rsync.service is a disabled or a static unit not running, not starting it. 2417s Setting up python3.13-gdbm (3.13.1-2) ... 2417s Setting up ethtool (1:6.11-1) ... 2417s Setting up gnupg-utils (2.4.4-2ubuntu21) ... 2417s Setting up systemd-resolved (257-2ubuntu1) ... 2418s Setting up libxkbcommon0:armhf (1.7.0-2) ... 2418s Setting up libctf0:armhf (2.43.50.20241221-1ubuntu1) ... 2418s Setting up python3.12-minimal (3.12.8-3) ... 2419s Setting up libglib2.0-0t64:armhf (2.82.4-1) ... 2419s No schema files found: doing nothing. 2419s Setting up gir1.2-glib-2.0:armhf (2.82.4-1) ... 2419s Setting up libreadline8t64:armhf (8.2-6) ... 2419s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 2419s Setting up gpgconf (2.4.4-2ubuntu21) ... 2419s Setting up libgirepository-1.0-1:armhf (1.82.0-3) ... 2419s Setting up binutils-arm-linux-gnueabihf (2.43.50.20241221-1ubuntu1) ... 2419s Setting up libpython3.13-stdlib:armhf (3.13.1-2) ... 2419s Setting up gpg (2.4.4-2ubuntu21) ... 2419s Setting up libgstreamer1.0-0:armhf (1.24.10-2) ... 2419s Setcap worked! gst-ptp-helper is not suid! 2419s Setting up libpython3-stdlib:armhf (3.13.1-1~exp2) ... 2419s Setting up gpg-agent (2.4.4-2ubuntu21) ... 2419s Setting up libpython3.12-stdlib:armhf (3.12.8-3) ... 2419s Setting up python3.13 (3.13.1-2) ... 2421s Setting up python3.12 (3.12.8-3) ... 2422s Setting up gpgsm (2.4.4-2ubuntu21) ... 2422s Setting up libglib2.0-bin (2.82.4-1) ... 2422s Setting up libappstream5:armhf (1.0.4-1) ... 2422s Setting up libqmi-glib5:armhf (1.35.6-1) ... 2422s Setting up python3 (3.13.1-1~exp2) ... 2422s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2422s for fn in glob1(directory, "%s.*" % fname): 2422s Setting up binutils (2.43.50.20241221-1ubuntu1) ... 2422s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 2422s Setting up fdisk (2.40.2-1ubuntu2) ... 2422s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 2422s Setting up dirmngr (2.4.4-2ubuntu21) ... 2422s Setting up python3-jinja2 (3.1.3-1.1) ... 2423s Setting up appstream (1.0.4-1) ... 2423s ✔ Metadata cache was updated successfully. 2423s Setting up gir1.2-girepository-2.0:armhf (1.82.0-3) ... 2423s Setting up python3-wadllib (2.0.0-2) ... 2423s Setting up keyboxd (2.4.4-2ubuntu21) ... 2423s Setting up python3-json-pointer (2.4-3) ... 2423s Setting up gnupg (2.4.4-2ubuntu21) ... 2423s Setting up python3-pkg-resources (75.6.0-1) ... 2424s Setting up python3-attr (24.2.0-1) ... 2424s Setting up python3-setuptools (75.6.0-1) ... 2426s Setting up gpg-wks-client (2.4.4-2ubuntu21) ... 2426s Setting up python3-rich (13.9.4-1) ... 2426s Setting up python3-gdbm:armhf (3.13.1-1) ... 2426s Setting up python3-problem-report (2.31.0-0ubuntu2) ... 2426s Setting up python3-apt (2.9.6build1) ... 2427s Setting up python3-jsonpatch (1.32-5) ... 2427s Setting up python3-bcrypt (4.2.0-2.1) ... 2427s Setting up libqmi-proxy (1.35.6-1) ... 2427s Setting up libfwupd3:armhf (2.0.3-3) ... 2427s Setting up python3-apport (2.31.0-0ubuntu2) ... 2428s Setting up python3-software-properties (0.108) ... 2428s Setting up python3-cryptography (43.0.0-1) ... 2428s Setting up fwupd (2.0.3-3) ... 2429s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 2429s fwupd.service is a disabled or a static unit not running, not starting it. 2429s Setting up python3-openssl (24.3.0-1) ... 2429s Setting up software-properties-common (0.108) ... 2429s Setting up apport-core-dump-handler (2.31.0-0ubuntu2) ... 2430s Setting up apport (2.31.0-0ubuntu2) ... 2431s apport-autoreport.service is a disabled or a static unit not running, not starting it. 2431s Processing triggers for dbus (1.14.10-4ubuntu5) ... 2431s Processing triggers for shared-mime-info (2.4-5) ... 2431s Warning: program compiled against libxml 212 using older 209 2431s Processing triggers for debianutils (5.21) ... 2431s Processing triggers for install-info (7.1.1-1) ... 2431s Processing triggers for initramfs-tools (0.142ubuntu35) ... 2431s Processing triggers for libc-bin (2.40-4ubuntu1) ... 2431s Processing triggers for systemd (257-2ubuntu1) ... 2431s Processing triggers for man-db (2.13.0-1) ... 2436s Reading package lists... 2436s Building dependency tree... 2436s Reading state information... 2437s Starting pkgProblemResolver with broken count: 0 2437s Starting 2 pkgProblemResolver with broken count: 0 2437s Done 2438s The following packages will be REMOVED: 2438s libassuan0* libnsl2* libpython3.12-minimal* libpython3.12-stdlib* 2438s python3.12* python3.12-minimal* 2438s 0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded. 2438s After this operation, 20.0 MB disk space will be freed. 2438s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60740 files and directories currently installed.) 2438s Removing libassuan0:armhf (2.5.6-1build1) ... 2438s Removing python3.12 (3.12.8-3) ... 2438s Removing libpython3.12-stdlib:armhf (3.12.8-3) ... 2439s Removing libnsl2:armhf (1.3.0-3build3) ... 2439s Removing python3.12-minimal (3.12.8-3) ... 2439s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2439s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 2439s Removing libpython3.12-minimal:armhf (3.12.8-3) ... 2439s Processing triggers for systemd (257-2ubuntu1) ... 2439s Processing triggers for man-db (2.13.0-1) ... 2440s Processing triggers for libc-bin (2.40-4ubuntu1) ... 2440s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60020 files and directories currently installed.) 2440s Purging configuration files for python3.12-minimal (3.12.8-3) ... 2440s Purging configuration files for libpython3.12-minimal:armhf (3.12.8-3) ... 2443s autopkgtest [15:39:37]: rebooting testbed after setup commands that affected boot 2521s Reading package lists... 2521s Building dependency tree... 2521s Reading state information... 2522s Starting pkgProblemResolver with broken count: 0 2522s Starting 2 pkgProblemResolver with broken count: 0 2522s Done 2523s The following NEW packages will be installed: 2523s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 2523s libdconf1 2523s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 2523s Need to get 138 kB of archives. 2523s After this operation, 569 kB of additional disk space will be used. 2523s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libdconf1 armhf 0.40.0-4build2 [38.4 kB] 2523s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf dconf-service armhf 0.40.0-4build2 [27.4 kB] 2523s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf dconf-gsettings-backend armhf 0.40.0-4build2 [23.6 kB] 2523s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg-repack all 1.54 [11.2 kB] 2523s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 2523s Fetched 138 kB in 0s (380 kB/s) 2523s Selecting previously unselected package libdconf1:armhf. 2523s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60018 files and directories currently installed.) 2523s Preparing to unpack .../libdconf1_0.40.0-4build2_armhf.deb ... 2523s Unpacking libdconf1:armhf (0.40.0-4build2) ... 2523s Selecting previously unselected package dconf-service. 2524s Preparing to unpack .../dconf-service_0.40.0-4build2_armhf.deb ... 2524s Unpacking dconf-service (0.40.0-4build2) ... 2524s Selecting previously unselected package dconf-gsettings-backend:armhf. 2524s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_armhf.deb ... 2524s Unpacking dconf-gsettings-backend:armhf (0.40.0-4build2) ... 2524s Selecting previously unselected package dpkg-repack. 2524s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 2524s Unpacking dpkg-repack (1.54) ... 2524s Selecting previously unselected package gsettings-desktop-schemas. 2524s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 2524s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 2524s Setting up dpkg-repack (1.54) ... 2524s Setting up libdconf1:armhf (0.40.0-4build2) ... 2524s Setting up dconf-service (0.40.0-4build2) ... 2524s Setting up dconf-gsettings-backend:armhf (0.40.0-4build2) ... 2524s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 2524s Processing triggers for man-db (2.13.0-1) ... 2524s Processing triggers for libglib2.0-0t64:armhf (2.82.4-1) ... 2524s Processing triggers for libc-bin (2.40-4ubuntu1) ... 2542s autopkgtest [15:41:16]: test 1065022-futureproofing: [----------------------- 2544s + export DEBIAN_FRONTEND=noninteractive 2544s + n=0 2544s + failed=0 2544s + binary_package=libglib2.0-0t64 2544s + future_binary_package=libglib2.0-0xyz 2544s + pwd 2544s + srcdir=/tmp/autopkgtest.zVLjS5/build.dX0/src 2544s + mktemp -d 2544s + tmpdir=/tmp/tmp.4F0ZQi2jN4 2544s + cd /tmp/tmp.4F0ZQi2jN4 2544s + [ -e /tmp/autopkgtest.zVLjS5/build.dX0/src/debian/tests/manual/local-1065022.sources ] 2544s + dpkg-query -W dpkg-repack 2544s + dpkg-repack --generate libglib2.0-0t64 2544s dpkg-repack 1.54 2544s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 2544s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.xHS4mt/DEBIAN/control 2544s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.xHS4mt/DEBIAN/control 2544s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.xHS4mt/DEBIAN/control 2544s + 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.xHS4mt/DEBIAN/control 2544s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.xHS4mt for libglib2.0-0t64 2544s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.xHS4mt ." 2544s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.xHS4mt libglib2.0-0xyz.deb 2544s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 2545s + apt-get -y install ./libglib2.0-0xyz.deb 2546s Reading package lists... 2546s Building dependency tree... 2546s Reading state information... 2547s The following packages were automatically installed and are no longer required: 2547s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 2547s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 2547s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 2547s libonig5 libprotobuf-c1 libstemmer0d libunwind8 python3-apport 2547s python3-certifi python3-chardet python3-configobj python3-debconf 2547s python3-distro-info python3-markdown-it python3-mdurl python3-openssl 2547s python3-problem-report python3-pygments python3-requests python3-rich 2547s python3-systemd python3-urllib3 sgml-base xml-core 2547s Use 'apt autoremove' to remove them. 2547s The following additional packages will be installed: 2547s xdg-user-dirs 2547s Suggested packages: 2547s low-memory-monitor 2547s Recommended packages: 2547s shared-mime-info 2547s The following packages will be REMOVED: 2547s apport apport-core-dump-handler appstream bolt cloud-init cloud-init-base 2547s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 2547s gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gsettings-desktop-schemas 2547s libappstream5 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 2547s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 2547s libblockdev-utils3 libblockdev3 libdconf1 libfwupd3 libgirepository-1.0-1 2547s libglib2.0-0t64 libglib2.0-bin libgstreamer1.0-0 libgudev-1.0-0 libjcat1 2547s libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1 2547s libpackagekit-glib2-18 libpolkit-agent-1-0 libpolkit-gobject-1-0 2547s libqmi-glib5 libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 2547s netplan-generator netplan.io networkd-dispatcher packagekit packagekit-tools 2547s polkitd python3-dbus python3-gi python3-netplan python3-software-properties 2547s shared-mime-info software-properties-common ubuntu-minimal udisks2 2547s unattended-upgrades 2547s The following NEW packages will be installed: 2547s libglib2.0-0xyz xdg-user-dirs 2547s 0 upgraded, 2 newly installed, 60 to remove and 0 not upgraded. 2547s Need to get 17.4 kB/1439 kB of archives. 2547s After this operation, 33.9 MB disk space will be freed. 2547s Get:1 /tmp/tmp.4F0ZQi2jN4/libglib2.0-0xyz.deb libglib2.0-0xyz armhf 2.82.4-1 [1421 kB] 2548s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf xdg-user-dirs armhf 0.18-2 [17.4 kB] 2548s Fetched 17.4 kB in 0s (74.8 kB/s) 2548s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60086 files and directories currently installed.) 2548s Removing appstream (1.0.4-1) ... 2548s Removing bolt (0.9.8-1) ... 2548s Removing cloud-init (24.4-0ubuntu1) ... 2548s Removing cloud-init-base (24.4-0ubuntu1) ... 2548s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2548s for fn in glob1(directory, "%s.*" % fname): 2548s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 2548s Removing dconf-gsettings-backend:armhf (0.40.0-4build2) ... 2549s Removing dconf-service (0.40.0-4build2) ... 2549s Removing fwupd (2.0.3-3) ... 2549s Removing software-properties-common (0.108) ... 2549s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2549s for fn in glob1(directory, "%s.*" % fname): 2549s Removing python3-software-properties (0.108) ... 2549s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2549s for fn in glob1(directory, "%s.*" % fname): 2549s Removing networkd-dispatcher (2.2.4-1.1) ... 2550s Removing gir1.2-packagekitglib-1.0 (1.3.0-2) ... 2550s Removing packagekit-tools (1.3.0-2) ... 2550s Removing packagekit (1.3.0-2) ... 2550s Removing libappstream5:armhf (1.0.4-1) ... 2550s Removing udisks2 (2.10.1-11ubuntu1) ... 2550s Removing libblockdev-crypto3:armhf (3.2.1-1) ... 2550s Removing libblockdev-fs3:armhf (3.2.1-1) ... 2550s Removing libblockdev-loop3:armhf (3.2.1-1) ... 2550s Removing libblockdev-mdraid3:armhf (3.2.1-1) ... 2550s Removing libblockdev-nvme3:armhf (3.2.1-1) ... 2551s Removing libblockdev-part3:armhf (3.2.1-1) ... 2551s Removing libblockdev-swap3:armhf (3.2.1-1) ... 2551s Removing libblockdev3:armhf (3.2.1-1) ... 2551s Removing libblockdev-utils3:armhf (3.2.1-1) ... 2551s Removing libdconf1:armhf (0.40.0-4build2) ... 2551s Removing libfwupd3:armhf (2.0.3-3) ... 2551s Removing shared-mime-info (2.4-5) ... 2551s Removing unattended-upgrades (2.9.1+nmu4ubuntu1) ... 2551s Removing python3-dbus (1.3.2-5build4) ... 2551s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2551s for fn in glob1(directory, "%s.*" % fname): 2551s Removing libglib2.0-bin (2.82.4-1) ... 2551s Removing libgstreamer1.0-0:armhf (1.24.10-2) ... 2551s Removing libgudev-1.0-0:armhf (1:238-5ubuntu1) ... 2551s Removing libjcat1:armhf (0.2.0-2build3) ... 2551s Removing libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 2551s Removing libqmi-proxy (1.35.6-1) ... 2551s Removing libqmi-glib5:armhf (1.35.6-1) ... 2551s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 2551s Removing libmbim-glib4:armhf (1.31.2-0ubuntu4) ... 2551s Removing libmm-glib0:armhf (1.23.4-0ubuntu2) ... 2551s Removing ubuntu-minimal (1.544) ... 2551s Removing netplan.io (1.1.1-1) ... 2552s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 2552s Removing python3-netplan (1.1.1-1) ... 2552s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2552s for fn in glob1(directory, "%s.*" % fname): 2552s Removing netplan-generator (1.1.1-1) ... 2552s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 2552s Removing libnetplan1:armhf (1.1.1-1) ... 2552s Removing libpackagekit-glib2-18:armhf (1.3.0-2) ... 2552s Removing polkitd (125-2ubuntu1) ... 2552s Removing libpolkit-agent-1-0:armhf (125-2ubuntu1) ... 2552s Removing libpolkit-gobject-1-0:armhf (125-2ubuntu1) ... 2552s Removing libqrtr-glib0:armhf (1.2.2-1ubuntu4) ... 2552s Removing libudisks2-0:armhf (2.10.1-11ubuntu1) ... 2552s Removing libvolume-key1:armhf (0.3.12-8) ... 2552s Removing libxmlb2:armhf (0.3.21-1) ... 2553s Removing apport (2.31.0-0ubuntu2) ... 2553s Removing apport-core-dump-handler (2.31.0-0ubuntu2) ... 2553s Removing python3-gi (3.50.0-3build1) ... 2553s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2553s for fn in glob1(directory, "%s.*" % fname): 2553s Removing gir1.2-girepository-2.0:armhf (1.82.0-3) ... 2553s Removing gir1.2-glib-2.0:armhf (2.82.4-1) ... 2554s Removing libgirepository-1.0-1:armhf (1.82.0-3) ... 2554s Removing libglib2.0-0t64:armhf (2.82.4-1) ... 2554s Selecting previously unselected package libglib2.0-0xyz:armhf. 2554s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58800 files and directories currently installed.) 2554s Preparing to unpack .../libglib2.0-0xyz.deb ... 2554s Unpacking libglib2.0-0xyz:armhf (2.82.4-1) ... 2554s Selecting previously unselected package xdg-user-dirs. 2554s Preparing to unpack .../xdg-user-dirs_0.18-2_armhf.deb ... 2554s Unpacking xdg-user-dirs (0.18-2) ... 2554s Setting up xdg-user-dirs (0.18-2) ... 2554s Setting up libglib2.0-0xyz:armhf (2.82.4-1) ... 2554s No schema files found: removed existing output file. 2554s Processing triggers for dbus (1.14.10-4ubuntu5) ... 2554s Processing triggers for sgml-base (1.31) ... 2554s Processing triggers for libc-bin (2.40-4ubuntu1) ... 2554s Processing triggers for man-db (2.13.0-1) ... 2555s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 2555s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 2555s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2555s + n=1 2555s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2555s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 2555s + failed=1 2555s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2555s + n=2 2555s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2555s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 2555s + failed=1 2555s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 2555s + n=3 2555s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 2555s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2555s + failed=1 2555s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 2555s + n=4 2555s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 2555s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2555s + failed=1 2555s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 2555s + n=5 2555s + test -e /usr/lib/*/gio/modules/giomodule.cache 2555s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 2555s + failed=1 2555s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 2555s + n=6 2555s + test -s /usr/lib/*/gio/modules/giomodule.cache 2555s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 2555s + failed=1 2555s + apt-get -y purge libglib2.0-0t64 2555s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2555s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2555s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 2555s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 2555s Reading package lists... 2556s Building dependency tree... 2556s Reading state information... 2558s The following packages were automatically installed and are no longer required: 2558s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 2558s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 2558s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 2558s libonig5 libprotobuf-c1 libstemmer0d libunwind8 python3-apport 2558s python3-certifi python3-chardet python3-configobj python3-debconf 2558s python3-distro-info python3-markdown-it python3-mdurl python3-openssl 2558s python3-problem-report python3-pygments python3-requests python3-rich 2558s python3-systemd python3-urllib3 sgml-base xml-core 2558s Use 'apt autoremove' to remove them. 2558s The following packages will be REMOVED: 2558s libglib2.0-0t64* 2558s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2558s After this operation, 0 B of additional disk space will be used. 2558s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58835 files and directories currently installed.) 2558s Purging configuration files for libglib2.0-0t64:armhf (2.82.4-1) ... 2558s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 2558s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 2558s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2558s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2558s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 2558s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 2558s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2558s + n=7 2558s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2558s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 2558s + failed=1 2558s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2558s + n=8 2558s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2558s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 2558s + failed=1 2558s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 2558s + n=9 2558s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 2558s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2558s + failed=1 2558s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 2558s + n=10 2558s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 2558s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 2558s + failed=1 2558s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 2558s + n=11 2558s + test -e /usr/lib/*/gio/modules/giomodule.cache 2558s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 2558s + failed=1 2558s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 2558s + n=12 2558s + test -s /usr/lib/*/gio/modules/giomodule.cache 2558s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 2558s + failed=1 2558s + apt-get -y purge libglib2.0-0xyz 2558s Reading package lists... 2558s Building dependency tree... 2558s Reading state information... 2559s The following packages were automatically installed and are no longer required: 2559s apport-symptoms jq libatasmart4 libatomic1 libbytesize-common libbytesize1 2559s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 2559s libglib2.0-data libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 2559s libnss3 libnvme1t64 libonig5 libprotobuf-c1 libstemmer0d libunwind8 2559s python3-apport python3-certifi python3-chardet python3-configobj 2559s python3-debconf python3-distro-info python3-markdown-it python3-mdurl 2559s python3-openssl python3-problem-report python3-pygments python3-requests 2559s python3-rich python3-systemd python3-urllib3 sgml-base xdg-user-dirs 2559s xml-core 2559s Use 'apt autoremove' to remove them. 2559s The following packages will be REMOVED: 2559s libglib2.0-0xyz* 2559s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2559s After this operation, 3115 kB disk space will be freed. 2560s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58835 files and directories currently installed.) 2560s Removing libglib2.0-0xyz:armhf (2.82.4-1) ... 2560s Processing triggers for libc-bin (2.40-4ubuntu1) ... 2560s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58810 files and directories currently installed.) 2560s Purging configuration files for libglib2.0-0xyz:armhf (2.82.4-1) ... 2560s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2560s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2560s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 2560s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 2560s 1..16 2560s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2560s + n=13 2560s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2560s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2560s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2560s + n=14 2560s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2560s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2560s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 2560s + n=15 2560s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 2560s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 2560s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 2560s + n=16 2560s + test -e /usr/lib/*/gio/modules/giomodule.cache 2560s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 2560s + echo 1..16 2560s + exit 1 2560s autopkgtest [15:41:34]: test 1065022-futureproofing: -----------------------] 2565s autopkgtest [15:41:39]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 2565s 1065022-futureproofing FLAKY non-zero exit status 1 2570s autopkgtest [15:41:44]: @@@@@@@@@@@@@@@@@@@@ summary 2570s build PASS (superficial) 2570s build-static PASS (superficial) 2570s girepository-tools PASS (superficial) 2570s libgio-2.0-dev-bin PASS (superficial) 2570s libglib2.0-dev PASS (superficial) 2570s installed-tests PASS 2570s closure-refcount PASS 2570s debugcontroller PASS 2570s gdbus-server-auth PASS 2570s gdbus-threading PASS 2570s gmenumodel PASS 2570s mainloop PASS 2570s memory-monitor-dbus PASS 2570s socket PASS 2570s testfilemonitor PASS 2570s thread-pool-slow PASS 2570s threadtests PASS 2570s timeout PASS 2570s timer PASS 2570s 1065022-futureproofing FLAKY non-zero exit status 1